Team LiB
Previous Section Next Section

Samba Resources

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.

Table 15-1: Samba Resources

General Samba Information

Samba project

www.samba.org

Samba documentation

http://us1.samba.org/samba/docs

Samba support

http://us1.samba.org/samba/support

Samba mailing lists

http://us1.samba.org/samba/archives.html

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 Client Tools

rpcclient

Command-line MS-RPC client

smbtar

SMB back-up tool

smbclient

Command-line SMB client

smbmnt

Helper utility for mounting SMB file systems on Linux hosts

smbmount

User space tool for mounting SMB file systems under Linux

smbspool

Command-line SMB print client

smbumount

Userspace tool for unmounting SMB file systems under Linux

ntlm_auth

Allows external programs to use NTLM authentication

smbcquotas

Gets or sets quotas on NTFS5 shares

smbsh

Allows access to remote SMB shares with a UNIX shell

smbtree

Text-based SMB network browsing

smbspool

Sends a print job to an SMB printer

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.


Team LiB
Previous Section Next Section