Review:Samba: Integrated UNIX and Windows 71
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
- Introduction
- Windows Networking Protocols
- Downloading and Building Samba
- Components of the Samba Suite
- Global Configuration Options
- Service Configuration Options
- Browser Configuration Options
- Access Control Configuration Examples
- Service Configuration Examples
- Other Tricks and Techniques
- Diagnosing Problems
- The Linux SMB Filesystem
Re:new oreilly samba book coming in 6 days (Score:1)
Weakness (Score:2)
Re:Samba to become obsolete - or not? (Score:2)
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).
Re:new oreilly samba book coming in 6 days (Score:4)
Weakness (Score:5)
Re:Weakness (Score:1)
But then again, I'm one of those that finds man pages useful, your mileage may vary.
Good book overall...but covers Samba 1.9 (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.
Re:Samba to become obsolete - or not? (Score:1)
------------------
Re:Good book overall...but covers Samba 1.9 (Score:1)
SAMS now has a book called: "Teach Yourself Samba in 24 Hours"
Naff title, but content looks good so far.
It covers Samba 2.0.3 and PDC support. One of the authors, Gerald Carter, is an active member of the Samba team.
You must not have been paying attention (Score:1)
Let's assume your rumor is true...
1) Sun's implementation would be a copy of a point in time (e.g. when the NT-privy company became non-privy). Samba and Sun both have to reverse engineer from that point on (and trust ME, MS would change everything).
2) Samba will still be as cheap or cheaper (unless Sun pays me money to use it).
3) As you note, Sun's version probably won't be open source. So why would I want to use it? "Commercial support"? I think we've already defeated that argument soundly.
4) There are ALREADY commercial products that do what Samba does.
5) Leaving the particular example of Samba aside now, let's try to think of other well-known, mature OS products being obsoleted (obsoletified?) by commercial (proprietary) products. Apache vs IIS? Linux vs NT?
So remind me again why Samba will be obsolete?
--
"Please remember that how you say something is often more important than what you say." - Rob Malda
Re:You must not have been paying attention (Score:1)
> in fact AT+T/Sun won a legal round with
> Microsoft a few months back allowing them
> access to the Windows 2000 source code.
No. That's incorrect. AT&T (and by proxy, Sun)
settled for cash and *no* access to source code.
I have some internal knowledge of this case.
Regards,
Jeremy Allison,
Samba Team.
Re:Samba to become obsolete? (Score:5)
> 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
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.
Blah (Score:1)
Samba to become obsolete? (Score:3)
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.
Re:A non-stellar review! (Score:1)
For me to invest my own time a) reading a poor book to completion, and b) writing a review of that poor book, I would have to be extremely motivated.
I put a lot of effort and thought into my reviews. They are predominantly about computer programming books, because that is what I read and that is what I do. I like to think that others appreciate that effort and thought.
Oh, by the way, I am about to write a bad review, hopefully finish it tonight. It does happen.
Book -- Good! (Score:2)
--adr
Re:Man Pages (Score:1)
I have lots of samba documentation in /usr/local/doc/ There are examples and everything.
Re:How do I use samba as a client instead of serve (Score:2)
hope this helps.
-l
Re:Book -- Good! (Score:1)
Re:Man Pages (Score:1)
Re:How do I use samba as a client instead of serve (Score:3)
Re:Samba to become obsolete - or not? (Score:1)
The fun part for the Samba crew is to incorperate the functions added by ADS....
http://www.microsoft.com/windows/server/Technic
Cheers,
Krakken
new oreilly samba book coming in 6 days (Score:5)
One small disappointment. (Score:2)
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.
digital docs vs. bound texts (Score:4)
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.
Can we have one mailed to MindCraft (Score:1)
A non-stellar review! (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.
Re:How do I use samba as a client instead of serve (Score:1)
smbmount
I also get an error message in the message log that states as follows:
May 26 14:14:50 hrotti kernel: SMBFS: need mount version 6
I am currently running a 2.2.3 kernel, with smbfs as kernel driver, samba-1.9.18p10-3, smbmount version is 2.0.1
While suffering from this problem I have had to resort to the smbclient. Which for me, is not at all a satisfying solution, since I copy files to and from the share allmost constantly during a day.
Does anybody have any comments on what might be wrong with the command ?
Re:Samba to become obsolete - or not? (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.
--
Re:You must not have been paying attention (Score:2)
I have to learn to stop relying on my memory. Thank's for the correction.
--
Re:You must not have been paying attention (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.
--
Re:Linux as a client to a windows printer. (Score:1)
Re:Man Pages (Score:1)
Man Pages (Score:2)
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.
Re:Man Pages (Score:1)
Instead they have "funky" html-pages or it's own strange "help system" :-(
HTML isn't bad; you can include images, use a little color here AND, most importantly, you can split the information up in managable chunks in stead of one huge document. Have you read the 'bash' manpage? It's more than 5000 lines!! It takes me forever to find something in there. Plus, you can make an index, crosslinks, keyword index, etc.
And, if you keep the fancy HTML stuff out of the pages you can even view them with a text browser like lynx. No, HTML isn't all that bad; look at the Qt Reference Documentation [troll.no] for an example of what I consider good HTMLized documentation. Lightweight, clear, consistent, links all over the place. I write my documentation like that.
As for "strange help systems": indeed, they are often more of a nuisance than help.
- Nemosoft
Re:Worth the cover price (Score:1)
Re:Worth the cover price (Score:1)
= )
Samba to become obsolete - or not? (Score:2)
The above is intended more as a question than a statement; is my analysis or understanding of the facts incorrect?
Re:A non-stellar review! (Score:2)
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.
Re:Man Pages (Score:2)
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.
Re:How do I use samba as a client instead of serve (Score:1)
I think the book is better than that. (Score:5)
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.
Re:How do I use samba as a client instead of serve (Score:2)
note: for smbmount, you'll have to have smbfs support in your kernel.
Re:How do I use samba as a client instead of serve (Score:1)
If you happened to use an old version of Linux with no SMB support, or if you happened to run another OS (I mean, a Unix, Mac or Amiga OS), Samba ships with smbclient, which you can use more or less as an FTP equivalent for all SMB functions - it runs pretty smoothly, although smbmount is much better.
Re:Samba to become obsolete - or not? (Score:3)
Re:One small disappointment. (Score:1)
Re:Weakness (Score:2)
That man has never read a man page (Score:1)
Man pages often include things you need to watch out for. Some even cover large classes of software.
Re:Man Pages (Score:1)
Eh? Man pages are great resources when you need
to look something up, what some randome switch
does or what not, but interesting? You probably
are the only one.
Re:Out of print for 3 months ! (Score:1)
Moral of the story: This is market competition at its finest; if one store doesn't have it, grab that ISBN number and check all of the other online stores - in about 5 minutes.
Re:Man Pages (Score:1)
Re:Linux as a client to a windows printer. (Score:2)
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?)
John's book is a tad out of date now (Score:2)
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
Re:How do I use samba as a client instead of serve (Score:1)
Works like a charm.