Using SambaRobert Eckstein, David Collier-Brown, Peter Kelly1st Edition November 1999 1-56592-449-5, Order Number: 4495 416 pages, $34.95 |
1.5 An Overview of the Samba Distribution
As mentioned earlier, Samba actually contains several programs that serve different but related purposes. Let's introduce each of them briefly, and show how they work together. The majority of the programs that come with the Samba distribution center on its two daemons. Let's take a refined look at the responsibilities of each daemon:
- smbd
The smbd daemon is responsible for managing the shared resources between the Samba server machine and its clients. It provides file, print, and browser services to SMB clients across one or more networks. smdb handles all notifications between the Samba server and the network clients. In addition, it is responsible for user authentication, resource locking, and data sharing through the SMB protocol.
- nmbd
The nmbd daemon is a simple nameserver that mimics the WINS and NetBIOS name server functionality, as you might expect to encounter with the LAN Manager package. This daemon listens for nameserver requests and provides the appropriate information when called upon. It also provides browse lists for the Network Neighborhood and participates in browsing elections.
The Samba distribution also comes with a small set of Unix command-line tools:
- smbclient
An FTP-like Unix client that can be used to connect to Samba shares
- smbtar
A program for backing up data in shares, similar to the Unix tar command
- nmblookup
A program that provides NetBIOS over TCP/IP name lookups
- smbpasswd
A program that allows an administrator to change the encrypted passwords used by Samba
- smbstatus
A program for reporting the current network connections to the shares on a Samba server
- testparm
A simple program to validate the Samba configuration file
- testprns
A program that tests whether various printers are recognized by the smbd daemon
Each significant release of Samba goes through a significant exposure test before it's announced. In addition, it is quickly updated afterward if problems or unwanted side-effects are found. The latest stable distribution as of this writing is Samba 2.0.5, the long-awaited production version of Samba 2.0. This book focuses on the functionality supported in Samba 2.0, as opposed to the older 1.9. x versions of Samba, which are now obsolete.
Back to: Using Samba
© 2001, O'Reilly & Associates, Inc.