Samba is a particularly well-documented service. You will find a great deal of Samba information on the web, as well as in various files installed by default with the Samba package. Table 15-1 provides links to helpful sites and files, as well as a list of useful utilities and diagnostic commands that you can use with your Samba installation.
| General Samba Information | |
|---|---|
| Samba project | |
| Samba documentation | |
| Samba support | |
| Samba mailing lists | |
| Samba documentation in Fedora | /usr/share/doc/samba*/docs | 
| Samba Configuration and Log Files | |
|---|---|
| /etc/samba/smb.conf | Primary configuration file for Samba servers | 
| /etc/samba/smbpasswords | Stores Samba user passwords | 
| /etc/samba/smbusers | A/laps SMB usernames into Linux usernames | 
| /etc/samba/lmhosts | Used to identify hosts Samba will communicate with that can't be obtained through broadcast, DNS, or other methods (similar to the TCP/IP /etc/hosts file) | 
| /var/log/samba | Contains individual log files for nmbd (NetBios name server daemon), smbd (Samba server daemon), and each client that connect to the Samba server | 
| Samba Daemons | |
|---|---|
| smbd | The main Samba daemon | 
| nmbd | The NetBIOS nameserver | 
| winbindd | The winbind daemon | 
| Samba Administrative Utilities | |
|---|---|
| smbcontrol | Sends control messages to Samba daemons | 
| smbpasswd | Manages SMB passwords | 
| SWAT | Samba web configuration tool | 
| net | Administers Samba and remote CIFS servers | 
| pdbedit | Samba user account management tool | 
| tdbbackup | Tool for backing up TDB databases | 
| Samba Utilities | |
|---|---|
| smbstatus | Monitors the Samba service | 
| testparm | Validates the smb.conf configuration file | 
| testprns | Tests printer configuration | 
| nmblookup | NetBIOS name query tool | 
| wbinfo | Obtains winbind information | 
| profiles | Migrates profiles from one domain to another | 
| log2pcap | Generates pcap files from Samba log files | 
| Tip | Most of the commands shown in Table 15-1 have man pages that explain the command in further detail and describe optional flags. |