Chapter 19. Samba

Chapter 19. Samba

19.1. Introduction to Samba
19.2. Samba Daemons and Related Services
19.3. Connecting to a Samba Share
19.4. Configuring a Samba Server
19.5. Starting and Stopping Samba
19.6. Samba Server Types and the smb.conf File
19.7. Samba Security Modes
19.8. Samba Account Information Databases
19.9. Samba Network Browsing
19.10. Samba with CUPS Printing Support
19.11. Samba Distribution Programs
19.12. Additional Resources

Samba is an open source implementation of the Server Message Block (SMB) protocol. It allows the networking of Microsoft Windows®, Linux, UNIX, and other operating systems together, enabling access to Windows-based file and printer shares. Samba's use of SMB allows it to appear as a Windows server to Windows clients.

19.1. Introduction to Samba

The third major release of Samba, version 3.0.0, introduced numerous improvements from prior versions, including:

  • The ability to join an Active Directory domain by means of LDAP and Kerberos

  • Built in Unicode support for internationalization

  • Support for Microsoft Windows XP Professional client connections to Samba servers without needing local registry hacking

  • Two new documents developed by the Samba.org team, which include a 400+ page reference manual, and a 300+ page implementation and integration manual. For more information about these published titles, refer to Section 19.12.2, “Related Books”.

19.1.1. Samba Features

Samba is a powerful and versatile server application. Even seasoned system administrators must know its abilities and limitations before attempting installation and configuration.

What Samba can do:

  • Serve directory trees and printers to Linux, UNIX, and Windows clients

  • Assist in network browsing (with or without NetBIOS)

  • Authenticate Windows domain logins

  • Provide Windows Internet Name Service (WINS) name server resolution

  • Act as a Windows NT®-style Primary Domain Controller (PDC)

  • Act as a Backup Domain Controller (BDC) for a Samba-based PDC

  • Act as an Active Directory domain member server

  • Join a Windows NT/2000/2003 PDC

What Samba cannot do:

  • Act as a BDC for a Windows PDC (and vice versa)

  • Act as an Active Directory domain controller


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.