Slashdot Mirror


Review:Samba: Integrated UNIX and Windows

Well, after a long wait and fanfare, Kurt has sent a review of John Blair's Samba effort Samba: Integrating UNIX and Windows. If you need to make those two play well together, click below for more information. Samba: Integrated UNIX and Windows author John D. Blair pages publisher Specialized Systems Consultants, Inc. rating 7 reviewer Kurt DeMaagd ISBN summary This book provides in depth detail about installing and configuring Samba. The Scenario John Blair, a member of the Samba development team, tackles the issue of integrating Windows and UNIX machines using Samba. While Samba is best known for allowing a UNIX host to act as a file server for Windows machines, it also includes services for print serving, authentication, name resolution, and other services needed for Windows networks. Blair begins with a discussion of NetBIOS and SMB, the core protocols of Windows networking, but spends a majority of the book going into excrutiating detail about how to install and configure Samba. In addition to general configuration settings, it discusses the necessary configuration settings for approximately 35 different operating systems, including Linux, OS/2, Solaris, many more obscure operating systems.

As the preface notes, this is a book primarily for UNIX systems administrators. Since it devotes a large amount of space to configuration parameters and explanation, it is definitely not a book to sit down and read on a lazy Sunday afternoon. If you are an administrator attempting to set up Samba, this is the book for you. If you are looking for a more casual reading experience, you will be quickly bogged down in the configuration details.

What's Bad? This is an extremely dry book that is about as fascinating to read as a man page. Many portions of the book are little more than a paper versions of existing documentation. For everyone who doesn't like to pay for information that is already freely distributed, all of the contents are accessable in the Samba man pages or online at Samba's web site.

What's Good? The chapter detailing the SMB and NetBIOS protocols is an interesting and valuable addition to the book. In a text that devotes a majority of its space to installation and configuration, it provides an interesting insight into the underlying workings of the server. For those who are installing Samba, it provides step-by-step installation and configuration information for a variety of operating systems.

So What's In It For Me? If you need to configure a Samba server, this book is a valuable resource. It provides in depth configuration details and examples for a variety of scenarios.

Buy this book at Amazon.

Table of Contents
  1. Introduction
  2. Windows Networking Protocols
  3. Downloading and Building Samba
  4. Components of the Samba Suite
  5. Global Configuration Options
  6. Service Configuration Options
  7. Browser Configuration Options
  8. Access Control Configuration Examples
  9. Service Configuration Examples
  10. Other Tricks and Techniques
  11. Diagnosing Problems
  12. The Linux SMB Filesystem

27 of 71 comments (clear)

  1. Weakness by Anonymous Coward · · Score: 2

    By and large, the book, as discussed is good on detail and authoritative. But there's one big weakness. It fails to go into any depth on encrypted Windows password authentication. Newcomers can easily bash their brains out for hours wondering why they can't get login permission. Blair's solution is to go for plain-text authentication - very weak. It's covered in the more recent HOWTO's, but not in this book.

    1. Re:Weakness by Vlad_the_Inhaler · · Score: 2

      I am sorry, but that is simply not true. I learnt encryption from that book. If you still have problems with that (or other issues), follow my link - http://www.germany.net/teilnehmer/101/69082/samba. html

      --
      Mielipiteet omiani - Opinions personal, facts suspect.
  2. Re:Samba to become obsolete - or not? by Anonymous Coward · · Score: 2

    methinks you have it backwards. If I remember correctly (brain clanking as it attempts to access data that is almost 10 years old) NetBIOS is just a protocol for basic peer-to-peer network communication between named computers on a network.

    Windows uses NetBIOS to send Server Message Blocks (SMBs). Seems to me that Win95/98/NT now does SMB via TCP, and NetBIOS isn't all that useful anymore (except for backward compatibility with 3.11, etc).

    Actually, the more I think about it, I seem to remember that NetBIOS was more or less obsoleted by NetBEUI a while back (although I may be confusing things on this point).

  3. Re:new oreilly samba book coming in 6 days by Anonymous Coward · · Score: 4

    Unfortunately this got a little bit delayed... Using samba is scheduled to arrive only by September... 8-(

  4. Weakness by Anonymous Coward · · Score: 5

    By and large, the book, as discussed is good on detail and authoritative. But there's one big weakness. I fails to go into any depth on encrypted Windows password authentication. Newcomers can easily bash their brains out for hours wondering why they can't get login permission. Blair's solution is to go for plain-text authentication - very weak. It's covered in the more recent HOWTO's, but not in this book.

  5. Good book overall...but covers Samba 1.9 by Steven+Borrelli · · Score: 5

    Bear in mind that the book is from the summer of 1998 and covers Samba 1.9. Notable changes in 2.0 include the use of of autoconf, better NT domain functionality and the new SWAT Web configuration tool. (And I am unsure of this, but the libdes compilation section might be obsolete now too).

    As others have mentioned, the sections on Windows networking alone make the book worthwhile. In addition, I found the section on setting up Samba to use encrypted passwords highly useful. There is also a large section on all of the Samba configuration options.

    While much of the book's information is located in the Samba source tree, the information is spread out among dozens of files. Consider the price of this book a small investment to avoid hefty NT client fees.

  6. Re:Samba to become obsolete? by gavinhall · · Score: 5

    Posted by Jeremy Allison - Samba Team:

    > SUN Microsystems bought out a company that was
    > privy to NT's source code (trust me, MS doesn't
    > want anyone to know about this). In taking
    > classes for SUN, I ran across an instructor who
    > told the class to learn SAMBA, but not to dwell
    > on it because SUN was working on a TRUE SMB
    > client for UNIX.

    Oh, you mean Project *Cascade* (now released as Sun's PC/Netlink services. I'm afraid your 'secret knowledge' is a bit out of date (oh, *do* pay attention, 007... :-).

    It's a port of AT&T's Advanced Services for UNIX. Yes, that old chestnut (the one that AT&T sued MS over lack of access to source code, and settled for a bunch of cash and *no* source code :-). So it's actually a dead product (old, crufty SVR3 code, with a user level thread library) ported to Solaris.

    Oh yes. And it's *slooow****. Note that in the latest PC Week benchmark that Sun was involved in they chose to use Samba, rather than any of the products they actually *sell*. Hmmmmm. Doesn't inspire confidence does it...... :-) :-).

    Regards,

    Jeremy Allison,
    Samba Team.

  7. Samba to become obsolete? by SiliconJesus · · Score: 3
    Let me give everyone here a little skinny for a /. article that will be in the works soon. SUN Microsystems bought out a company that was privy to NT's source code (trust me, MS doesn't want anyone to know about this). In taking classes for SUN, I ran across an instructor who told the class to learn SAMBA, but not to dwell on it because SUN was working on a TRUE SMB client for UNIX.

    I'd assume that it will be for Solaris 2.x SPARC first, then ported to x86 and possibly open sourced, although I wouldn't open my breath. For those of us in the situation where we need to talk to both worlds, this is a godsend.

    SAMBA's done a great job and is one of the best tools ever created for interoperablility, but with SUN's new tool, at least Solaris users will have a commercially supported product to do what we need to do.

    As always, redirect all flames to /dev/null.

    --
    Clinton made me a Republican. Bush made me a Libertarian. Trump is making me question reality.
  8. Book -- Good! by adr · · Score: 2

    Hell, I used to go to school with the author -- he and I got our first UNIX-related jobs running a NeXTStep cluster. Got my autographed copy of his book right here in my lap. He's a great guy, it's a great book, and it's totally worth it.

    --adr

  9. Re:How do I use samba as a client instead of serve by Luyseyal · · Score: 2
    actually, samba itself is not used as a client, although the 2.0x series has included some client utilities. e.g., http://us1.samba.org/samba/doc s/man/smbclient.1.html but make sure to read their disclaimer at http://us1.samba.org/samba/docs/FAQ/#19 . the samba team is officially supporting http://us1.samba.org/samb a/ftp/docs/htmldocs/smbsh.1.html, though. regardless, if you're using linux chances are that with any utility you will probably need to compile smbfs into your kernel or load it as a module.

    hope this helps.

    -l

    --
    Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
  10. Re:How do I use samba as a client instead of serve by Ben+Hutchings · · Score: 3

    You can use smbclient, which works similarly to a command-line FTP client. Under Linux you can use smbfs to mount SMB shares onto your file-system.

  11. new oreilly samba book coming in 6 days by veggiespam · · Score: 5

    according to my copy of the oreilly catalogue (data march 1999), a new book, "using samba" by kelly, donham, & collier-brown, will be released in june 1999. the pre-review also mentions suff about "advanced topics in security and complex environments" (passwords encryption perhaps?). comes with a CD. the book also covers the v2.0 gui.

  12. One small disappointment. by Lemmy+Caution · · Score: 2

    My only disappointment with this book was the author's decision to not discuss the (beta) PDC functionality in Samba. I can understand his reluctance to document features that aren't entirely supported in the current release,, but I would have appreciated at least a theoretical discussion of the issues involved.

    I believe that the next non-bug-fix version is going to support using Samba as a PDC without requiring a recompile. That's cool.

  13. digital docs vs. bound texts by Lemmy+Caution · · Score: 4

    On a more general, related note: even though online docs are updated more regularly, and are free (qua beer), they are still inferior to ink on paper in a well-bound book in so many ways that I see no real replacement for the latter. The human eye was not really designed to absorb back-lit information - the real world uses reflected light. The resolution of the printed page is still much higher. The portability and flexibility of a book is still unmatched, and the multiple strategies for interaction - browsing/skimming, tables of contents, indices, scanning for pictures, distinction by text styles, etc. - are only poorly aped by any digital medium. In the time it takes for me to load even a small local search utility and then render a page or two, I can flip through a text, look up a person's name in the index, check the references on 3 pages, and then scan the bibliography.

    The main drawback of the book as interface is its nondynamic content - new information means a new book. However, considering how old a lot of the documentation out there is (when was the last time the Linux-Hardware-FAQ was updated?), in practice that's not a problem limited to the paper media.

  14. A non-stellar review! by Some+guy+named+Chris · · Score: 3

    I'm so glad a less than rave review of a book finally appeared here on slashdot. Maybe it will finally shut up those conspiracy nuts who claim that all book reviews on slashdot are good only to make money off the link to Amazon.

    I think the reason most reviews here are positive is because most people won't invest the time to write a review of a book they didn't like.

    1. Re:A non-stellar review! by humphrm · · Score: 2

      I had a problem early on with the links supplied to Amazon, but now I think I'm OK with it. Overall, I think that the reviews are fair (I mean, what can you say about reviewing Linux books anyway - they're all good...) and I can understand why a site that doesn't charge anything and has minimal advertising needs to try to grab whatever they can.

      Hope I don't get a neg for this, but my plug would be for bookpool.com. Great prices on ORA stuff, quick shipping, Linux friendly. I wish they offered the same deal to linking sites as Amazon does, but I guess that's why they're cheaper. Oh well.

      Good review, I'll probably get the book.

      --
      -- "In order to have power, I must be taken seriously." -Mojo Jojo
  15. Re:Samba to become obsolete - or not? by IntlHarvester · · Score: 2


    Confusing the issue is the fact that IBM refers to "NetBIOS" as both the API and the wire protocol (NetBEUI). Microsoft will sometimes use the term "NBT" for NetBIOS-over-TCP/IP.

    --

    --
    Business. Numbers. Money. People. Computer World.
  16. Re:You must not have been paying attention by IntlHarvester · · Score: 2


    I have to learn to stop relying on my memory. Thank's for the correction.

    --

    --
    Business. Numbers. Money. People. Computer World.
  17. Re:You must not have been paying attention by IntlHarvester · · Score: 3


    The "rumor" is true - in fact AT+T/Sun won a legal round with Microsoft a few months back allowing them access to the Windows 2000 source code.

    So while your points 2 through 4 are valid, Sun's SMB implementation is up-to-date and presumably 100% compatible with Microsoft's (since they are based on the same code). I believe Sun's implementation also does Domain Controllers (beta in Samba) and will be Active Directory compatible.

    That having been said, in the recent ZDNet "NOS Shootout", Sun installed Samba rather than LanMan/Unix because is faster.


    --

    --
    Business. Numbers. Money. People. Computer World.
  18. Man Pages by AmirS · · Score: 2

    This is an extremely dry book that is about as fascinating to read as a man page

    Am I the only one, even amongst fellow nerds, who finds man pages interesting, contrary to what is implied in the review ?

    Ok there are some poor ones, but most Linux man pages are quite good.

    1. Re:Man Pages by QuMa · · Score: 2

      Yes, I'd have to agree completely... I've greately enjoyed studying the bash man-pages for instance, though there are a few badly-written ones around.

      But they certainly needn't be dry, Especially the man pages of the software by individuals (I mean, not companies or projects) are quite humoristic, though still valuable as a manual.

  19. Samba to become obsolete - or not? by dillon_rinker · · Score: 2

    Samba is (presumably) so named because it permits Linux to communicate using SMB (Server Message Blocks). SMB (as I understand it) is the upper-level protocol used by NetBIOS. NetBIOS is supposed to go away in Windows 2000 (aka NT 5). From that point forward, there will be no need for SMB and thus Samba.

    The above is intended more as a question than a statement; is my analysis or understanding of the facts incorrect?

    1. Re:Samba to become obsolete - or not? by gwolf · · Score: 3

      No, the SMB protocol is staying with us. It will only implement and addition to be more like Novell's NDS - the Active Directory. I have used Windows NT 5.0 (beta), and is compatible with the existing, SMB-based networks. I think (if I recall correctly, I tested this software a while ago) you will have to point your client to a directory master (something like an enhanced WINS server), which will tell him which service corresponds to each object on the tree, and where (on the net) is it to be found.

  20. I think the book is better than that. by Doke · · Score: 5

    I bought this book at a recent computer show. I found it very interesting, and quite easy to read. In fact, I read straight through it in two days.

    It provides a great deal of useful background information about CIFS/SMB/MS networking, in a clear sensible fashion. I learned a great deal about browsing, elections, primary and backup domain servers, etc. Because of this, I would even recommend the book to pure NT admins (poor suckers).

    For Samba admins, the book is invaluable. It contains a clear concise, indexed, explaination of every configuration parameter. Several parameters that I didn't understand in Samba's included docs made sense after reading this. The book also has a large number of useful examples.

    All of the information in the book could probably be obtained free from the net. However, it would
    be in pieces from various sources. This book collects and organizes it.

    I highly recommended this book.

  21. Re:How do I use samba as a client instead of serve by rhaig · · Score: 2

    I believe what you're looking for is smbclient or smbmount.

    note: for smbmount, you'll have to have smbfs support in your kernel.

    --
    "We are not tolerant people. We prefer drastically effective solutions"
  22. Re:Linux as a client to a windows printer. by FtnS · · Score: 2

    Look in the examples directory of the samba
    distribution... there is a script to use SMBClient
    to set up your printcap on a linux box to print
    to SMB shared printers on a WinNT/95/98 machine.
    The included script works for me with almost no
    changes.
    (Was that a run-on sentence?)

  23. John's book is a tad out of date now by rsharpe · · Score: 2

    Well, John's book only deals with Samba 1.9.18
    while 2.0.x has been out for a while. The latest
    is 2.0.4b.

    Two other members of the Samba team, Jerry Carter
    and Richard Sharpe, have written another Samba
    book: SAMS Teach Yourself Samba in 24 Hours.

    Don't worry about the Title. We tried to make
    the book useful for the novice as well as the
    more experienced user of Samba.

    Check it out on Amazon and FatBrain.

    Check out the great review on Amazon :-)