Using Samba, 3rd Edition

book cover
Using Samba, 3rd Edition
By Robert Eckstein, Paul Andrew Watters, Jay Ts, Gerald Carter
Publisher: O'Reilly
Pub Date: January 01, 2007
ISBN-10: 0-596-00769-8
ISBN-13: 978-0-596-00769-0
Pages: 600

Table of Contents  | Index

This book is the comprehensive guide to Samba administration, officially adopted by the Samba Team. Wondering how to integrate Samba's authentication with that of a Windows domain? How to get Samba to serve Microsoft Dfs shares? How to share files on Mac OS X? These and a dozen other issues of interest to system administrators are covered. A whole chapter is dedicated to troubleshooting!

The range of this book knows few bounds. Using Samba takes you from basic installation and configuration -- on both the client and server side, for a wide range of systems -- to subtle details of security, cross-platform compatibility, and resource discovery that make the difference between whether users see the folder they expect or a cryptic error message.

The current edition covers such advanced 3.x features as:

  • Integration with Active Directory and OpenLDAP

  • Migrating from Windows NT 4.0 domains to Samba

  • Delegating administrative tasks to non-root users

  • Central printer management

  • Advanced file serving features, such as making use of Virtual File System (VFS) plugins.

Samba is a cross-platform triumph: robust, flexible and fast, it turns a Unix or Linux system into a file and print server for Microsoft Windows network clients. This book will help you make your file and print sharing as powerful and efficient as possible. The authors delve into the internals of the Windows activities and protocols to an unprecedented degree, explaining the strengths and weaknesses of each feature in Windows domains and in Samba itself.

book cover
Using Samba, 3rd Edition
By Robert Eckstein, Paul Andrew Watters, Jay Ts, Gerald Carter
Publisher: O'Reilly
Pub Date: January 01, 2007
ISBN-10: 0-596-00769-8
ISBN-13: 978-0-596-00769-0
Pages: 600

Table of Contents  | Index

    Chapter 1.  An Introduction to Samba
      Section 1.1.  What Is Samba?
      Section 1.2.  What Can Samba Do for Me?
      Section 1.3.  The Common Internet File System
      Section 1.4.  Connecting to a CIFS File Share
      Section 1.5.  Browsing
      Section 1.6.  Authentication: Peer-to-Peer Versus Domains
      Section 1.7.  What's in Samba 3.0?
      Section 1.8.  Future Research in Samba 4.0
      Section 1.9.  What Can Samba Do?
      Section 1.10.  An Overview of the Samba Distribution
      Section 1.11.  How Can I Get Samba?
    Chapter 2.  Installing Samba on a Unix System
      Section 2.1.  Binary Packages
      Section 2.2.  Compiling from Source
      Section 2.3.  Compiling and Installing Samba
      Section 2.4.  Enabling the Samba Web Administration Tool (SWAT)
      Section 2.5.  A Basic Samba Configuration File
      Section 2.6.  Firewall Configuration
      Section 2.7.  Starting the Samba Daemons
    Chapter 3.  Configuring Windows Clients
      Section 3.1.  Windows Networking Concepts
      Section 3.2.  Windows Setup
    Chapter 4.  The Samba Configuration File
      Section 4.1.  Basic Syntax and Rules
      Section 4.2.  Special Sections
      Section 4.3.  Configuration File Options
      Section 4.4.  Basic Server Configuration
      Section 4.5.  Disk Share Configuration
      Section 4.6.  Networking Options with Samba
      Section 4.7.  Virtual Servers
      Section 4.8.  Logging Configuration Options
    Chapter 5.  Accounts, Authentication, and Authorization
      Section 5.1.  Security Modes
      Section 5.2.  User Management
      Section 5.3.  Group Mapping
      Section 5.4.  User Privilege Management
      Section 5.5.  Controlling Authorization for File Shares
    Chapter 6.  Advanced Disk Shares
      Section 6.1.  Special Share Names
      Section 6.2.  Filesystem Differences
      Section 6.3.  Access Control Lists
      Section 6.4.  Microsoft Distributed File Systems
      Section 6.5.  Virtual File Systems
      Section 6.6.  Executing Server Scripts
    Chapter 7.  Printing
      Section 7.1.  Print Shares
      Section 7.2.  A Usable Print Share
      Section 7.3.  Samba and CUPS
      Section 7.4.  The [printers] Service
      Section 7.5.  Enabling SMB Printer Sharing in OS X
      Section 7.6.  Creating a PDF Printer
      Section 7.7.  Managing Windows Print Drivers
      Section 7.8.  Printers and Security
      Section 7.9.  Disabling Point and Print
      Section 7.10.  Printing, Queue Lists, and tdb Files
      Section 7.11.  Printing to Windows Printers
      Section 7.12.  Printing Parameters
    Chapter 8.  Name Resolution and Network Browsing
      Section 8.1.  Name Resolution
      Section 8.2.  Network Browsing
    Chapter 9.  Domain Controllers
      Section 9.1.  Samba Domains: NT 4.0 or Active Directory?
      Section 9.2.  Configuring a Samba PDC
      Section 9.3.  Configuring a Samba BDC
      Section 9.4.  passdb Recommendations
      Section 9.5.  Migrating an NT 4.0 Domain to Samba
      Section 9.6.  Domain Trusts
      Section 9.7.  Remote Server Management
    Chapter 10.  Domain Member Servers
      Section 10.1.  Joining a Domain
      Section 10.2.  Domain and ADS Security Modes
      Section 10.3.  Matching Domain Users to Local Accounts
      Section 10.4.  Winbind
      Section 10.5.  Additional Winbind Features
    Chapter 11.  Unix Clients
      Section 11.1.  The Linux CIFS Filesystem
      Section 11.2.  FreeBSD's smbfs
      Section 11.3.  Mac OS X
      Section 11.4.  smbclient
      Section 11.5.  Remote Administration with net
    Chapter 12.  Troubleshooting Samba
      Section 12.1.  The Tool Box
      Section 12.2.  Samba Logs
      Section 12.3.  Unix Utilities
      Section 12.4.  The Fault Tree
      Section 12.5.  Troubleshooting Browsing
      Section 12.6.  Troubleshooting Name Services
      Section 12.7.  Troubleshooting Network Addresses
      Section 12.8.  Troubleshooting NetBIOS Names
      Section 12.9.  Extra Resources
    Appendix A.  Summary of Samba Daemons and Commands
      Section A.1.  SMB URI Syntax
      Section A.2.  Samba Daemons
      Section A.3.  Samba Client Programs
    Appendix B.  Downloading Samba with Subversion
    Appendix C.  Configure Options
      Section C.1.  Install Directory and Library Options
      Section C.2.  Developer Options
      Section C.3.  Authentication Options
      Section C.4.  File Serving Features
      Section C.5.  Printing Options
      Section C.6.  Clients and Libraries
   About the Authors