Official Samba-3 HOWTO and Reference Guide, The, Second Edition

Book description

Fully Updated to Reflect Major Improvements and Configuration Changes in Samba-3.0.11 through 3.0.20+!

You’ve deployed Samba: Now get the most out of it with today’s definitive guide to maximizing Samba performance, stability, reliability, and power in your production environment. Direct from members of the Samba Team, The Official Samba-3 HOWTO and Reference Guide, Second Edition, offers the most systematic and authoritative coverage of Samba’s advanced features and capabilities. It has been extensively updated to reflect major improvements in the Samba-3.0 series of releases and additional performance enhancements in Samba-3.0.20 and later.

Use this book to go far beyond basic deployment, leveraging all of Samba’s components, from directory services to remote administration. Use it to find practical optimization techniques for any environment, from the workgroup to the enterprise. Use it to find detailed guidance and best practices for troubleshooting and problem solving. And, if your background is in Windows networking, use this book to get up to speed rapidly with Samba network administration in Linux/UNIX environments.

Coverage includes

  • NEW! User Rights and Privileges features and their impact on default system behavior

  • NEW! Expanded LDAP capabilities, the new Winbind subsystem, and Samba’s improved ACL handling

  • NEW! Detailed coverage of the powerful Samba-3.x net local/remote administration utility

  • NEW! Comprehensive documentation of IDMAP functionality

  • NEW! Proven techniques for improving performance with large directories

  • NEW! Samba integration with Windows Server 2003 and the latest versions of Active Directory

  • Advanced techniques: interdomain trusts, loadable VFS file system drivers, distributed authentication, desktop profile management, CUPS printing, high availability, and more

  • Contains a dramatically improved, more-detailed index



  • Table of contents

    1. Copyright
    2. Bruce Perens’ Open Source Series
    3. About the Cover Artwork
    4. Attribution
    5. List of Examples
    6. List of Figures
    7. List of Tables
    8. Foreword
    9. Preface
      1. Conventions Used
    10. Introduction
      1. What Is Samba?
      2. Why This Book?
      3. Book Structure and Layout
    11. I. General Installation
      1. 1. How to Install and Test Samba
        1. 1.1. Obtaining and Installing Samba
        2. 1.2. Configuring Samba (smb.conf)
          1. 1.2.1. Configuration File Syntax
          2. 1.2.2. Starting Samba
          3. 1.2.3. Example Configuration
            1. 1.2.3.1. Test Your Config File with testparm
          4. 1.2.4. SWAT
        3. 1.3. List Shares Available on the Server
        4. 1.4. Connect with a UNIX Client
        5. 1.5. Connect from a Remote SMB Client
          1. 1.5.1. What If Things Don’t Work?
          2. 1.5.2. Still Stuck?
        6. 1.6. Common Errors
          1. 1.6.1. Large Number of smbd Processes
          2. 1.6.2. Error Message: open_oplock_ipc
          3. 1.6.3. “The network name cannot be found”
      2. 2. Fast Start: Cure for Impatience
        1. 2.1. Features and Benefits
        2. 2.2. Description of Example Sites
        3. 2.3. Worked Examples
          1. 2.3.1. Standalone Server
            1. 2.3.1.1. Anonymous Read-Only Document Server
            2. 2.3.1.2. Anonymous Read-Write Document Server
            3. 2.3.1.3. Anonymous Print Server
            4. 2.3.1.4. Secure Read-Write File and Print Server
          2. 2.3.2. Domain Member Server
            1. 2.3.2.1. Example Configuration
          3. 2.3.3. Domain Controller
            1. 2.3.3.1. Example: Engineering Office
            2. 2.3.3.2. A Big Organization
              1. The Primary Domain Controller
              2. Backup Domain Controller
    12. II. Server Configuration Basics
      1. 3. Server Types and Security Modes
        1. 3.1. Features and Benefits
        2. 3.2. Server Types
        3. 3.3. Samba Security Modes
          1. 3.3.1. User Level Security
            1. 3.3.1.1. Example Configuration
          2. 3.3.2. Share-Level Security
            1. 3.3.2.1. Example Configuration
          3. 3.3.3. Domain Security Mode (User-Level Security)
            1. 3.3.3.1. Example Configuration
          4. 3.3.4. ADS Security Mode (User-Level Security)
            1. 3.3.4.1. Example Configuration
          5. 3.3.5. Server Security (User Level Security)
            1. 3.3.5.1. Example Configuration
        4. 3.4. Password Checking
        5. 3.5. Common Errors
          1. 3.5.1. What Makes Samba a Server?
          2. 3.5.2. What Makes Samba a Domain Controller?
          3. 3.5.3. What Makes Samba a Domain Member?
          4. 3.5.4. Constantly Losing Connections to Password Server
      2. 4. Domain Control
        1. 4.1. Features and Benefits
        2. 4.2. Single Sign-On and Domain Security
        3. 4.3. Basics of Domain Control
          1. 4.3.1. Domain Controller Types
          2. 4.3.2. Preparing for Domain Control
        4. 4.4. Domain Control: Example Configuration
        5. 4.5. Samba ADS Domain Control
        6. 4.6. Domain and Network Logon Configuration
          1. 4.6.1. Domain Network Logon Service
            1. 4.6.1.1. Example Configuration
            2. 4.6.1.2. The Special Case of MS Windows XP Home Edition
            3. 4.6.1.3. The Special Case of Windows 9x/Me
          2. 4.6.2. Security Mode and Master Browsers
        7. 4.7. Common Errors
          1. 4.7.1. “$” Cannot Be Included in Machine Name
          2. 4.7.2. Joining Domain Fails Because of Existing Machine Account
          3. 4.7.3. The System Cannot Log You On (C000019B)
          4. 4.7.4. The Machine Trust Account Is Not Accessible
          5. 4.7.5. Account Disabled
          6. 4.7.6. Domain Controller Unavailable
          7. 4.7.7. Cannot Log onto Domain Member Workstation After Joining Domain
      3. 5. Backup Domain Control
        1. 5.1. Features and Benefits
        2. 5.2. Essential Background Information
          1. 5.2.1. MS Windows NT4-style Domain Control
            1. 5.2.1.1. Example PDC Configuration
          2. 5.2.2. LDAP Configuration Notes
          3. 5.2.3. Active Directory Domain Control
          4. 5.2.4. What Qualifies a Domain Controller on the Network?
          5. 5.2.5. How Does a Workstation find its Domain Controller?
            1. 5.2.5.1. NetBIOS Over TCP/IP Enabled
            2. 5.2.5.2. NetBIOS Over TCP/IP Disabled
        3. 5.3. Backup Domain Controller Configuration
          1. 5.3.1. Example Configuration
        4. 5.4. Common Errors
          1. 5.4.1. Machine Accounts Keep Expiring
          2. 5.4.2. Can Samba Be a Backup Domain Controller to an NT4 PDC?
          3. 5.4.3. How Do I Replicate the smbpasswd File?
          4. 5.4.4. Can I Do This All with LDAP?
      4. 6. Domain Membership
        1. 6.1. Features and Benefits
        2. 6.2. MS Windows Workstation/Server Machine Trust Accounts
          1. 6.2.1. Manual Creation of Machine Trust Accounts
          2. 6.2.2. Managing Domain Machine Accounts using NT4 Server Manager
          3. 6.2.3. On-the-Fly Creation of Machine Trust Accounts
          4. 6.2.4. Making an MS Windows Workstation or Server a Domain Member
            1. 6.2.4.1. Windows 200x/XP Professional Client
            2. 6.2.4.2. Windows NT4 Client
            3. 6.2.4.3. Samba Client
        3. 6.3. Domain Member Server
          1. 6.3.1. Joining an NT4-type Domain with Samba-3
          2. 6.3.2. Why Is This Better Than security = server?
        4. 6.4. Samba ADS Domain Membership
          1. 6.4.1. Configure smb.conf
          2. 6.4.2. Configure /etc/krb5.conf
          3. 6.4.3. Create the Computer Account
            1. 6.4.3.1. Possible Errors
          4. 6.4.4. Testing Server Setup
          5. 6.4.5. Testing with smbclient
          6. 6.4.6. Notes
        5. 6.5. Sharing User ID Mappings between Samba Domain Members
        6. 6.6. Common Errors
          1. 6.6.1. Cannot Add Machine Back to Domain
          2. 6.6.2. Adding Machine to Domain Fails
          3. 6.6.3. I Can’t Join a Windows 2003 PDC
      5. 7. Standalone Servers
        1. 7.1. Features and Benefits
        2. 7.2. Background
        3. 7.3. Example Configuration
          1. 7.3.1. Reference Documentation Server
          2. 7.3.2. Central Print Serving
        4. 7.4. Common Errors
      6. 8. MS Windows Network Configuration Guide
        1. 8.1. Features and Benefits
        2. 8.2. Technical Details
          1. 8.2.1. TCP/IP Configuration
            1. 8.2.1.1. MS Windows XP Professional
            2. 8.2.1.2. MS Windows 2000
            3. 8.2.1.3. MS Windows Me
          2. 8.2.2. Joining a Domain: Windows 2000/XP Professional
          3. 8.2.3. Domain Logon Configuration: Windows 9x/Me
        3. 8.3. Common Errors
    13. III. Advanced Configuration
      1. 9. Network Browsing
        1. 9.1. Features and Benefits
        2. 9.2. What Is Browsing?
        3. 9.3. Discussion
          1. 9.3.1. NetBIOS over TCP/IP
          2. 9.3.2. TCP/IP without NetBIOS
          3. 9.3.3. DNS and Active Directory
        4. 9.4. How Browsing Functions
          1. 9.4.1. Configuring Workgroup Browsing
          2. 9.4.2. Domain Browsing Configuration
          3. 9.4.3. Forcing Samba to Be the Master
          4. 9.4.4. Making Samba the Domain Master
          5. 9.4.5. Note about Broadcast Addresses
          6. 9.4.6. Multiple Interfaces
          7. 9.4.7. Use of the Remote Announce Parameter
          8. 9.4.8. Use of the Remote Browse Sync Parameter
        5. 9.5. WINS: The Windows Internetworking Name Server
          1. 9.5.1. WINS Server Configuration
          2. 9.5.2. WINS Replication
          3. 9.5.3. Static WINS Entries
        6. 9.6. Helpful Hints
          1. 9.6.1. Windows Networking Protocols
          2. 9.6.2. Name Resolution Order
        7. 9.7. Technical Overview of Browsing
          1. 9.7.1. Browsing Support in Samba
          2. 9.7.2. Problem Resolution
          3. 9.7.3. Cross-Subnet Browsing
            1. 9.7.3.1. Behavior of Cross-Subnet Browsing
        8. 9.8. Common Errors
          1. 9.8.1. Flushing the Samba NetBIOS Name Cache
          2. 9.8.2. Server Resources Cannot Be Listed
          3. 9.8.3. I Get an ”Unable to browse the network” Error
          4. 9.8.4. Browsing of Shares and Directories is Very Slow
      2. 10. Account Information Databases
        1. 10.1. Features and Benefits
          1. 10.1.1. Backward Compatibility Account Storage Systems
          2. 10.1.2. New Account Storage Systems
        2. 10.2. Technical Information
          1. 10.2.1. Important Notes About Security
            1. 10.2.1.1. Advantages of Encrypted Passwords
            2. 10.2.1.2. Advantages of Non-Encrypted Passwords
          2. 10.2.2. Mapping User Identifiers between MS Windows and UNIX
          3. 10.2.3. Mapping Common UIDs/GIDs on Distributed Machines
          4. 10.2.4. Comments Regarding LDAP
            1. 10.2.4.1. Caution Regarding LDAP and Samba
          5. 10.2.5. LDAP Directories and Windows Computer Accounts
        3. 10.3. Account Management Tools
          1. 10.3.1. The smbpasswd Tool
          2. 10.3.2. The pdbedit Tool
            1. 10.3.2.1. User Account Management
              1. Listing User and Machine Accounts
              2. Adding User Accounts
              3. Deleting Accounts
              4. Changing User Accounts
              5. Domain Account Policy Managment
            2. 10.3.2.2. Account Migration
        4. 10.4. Password Backends
          1. 10.4.1. Plaintext
          2. 10.4.2. smbpasswd: Encrypted Password Database
          3. 10.4.3. tdbsam
          4. 10.4.4. ldapsam
            1. 10.4.4.1. Supported LDAP Servers
            2. 10.4.4.2. Schema and Relationship to the RFC 2307 posixAccount
            3. 10.4.4.3. OpenLDAP Configuration
            4. 10.4.4.4. Initialize the LDAP Database
            5. 10.4.4.5. Configuring Samba
            6. 10.4.4.6. Accounts and Groups Management
            7. 10.4.4.7. Security and sambaSamAccount
            8. 10.4.4.8. LDAP Special Attributes for sambaSamAccounts
            9. 10.4.4.9. Example LDIF Entries for a sambaSamAccount
            10. 10.4.4.10. Password Synchronization
            11. 10.4.4.11. Using OpenLDAP Overlay for Password Syncronization
          5. 10.4.5. MySQL
            1. 10.4.5.1. Creating the Database
            2. 10.4.5.2. Configuring
            3. 10.4.5.3. Using Plaintext Passwords or Encrypted Password
            4. 10.4.5.4. Getting Non-Column Data from the Table
          6. 10.4.6. XML
        5. 10.5. Common Errors
          1. 10.5.1. Users Cannot Logon
          2. 10.5.2. Users Being Added to the Wrong Backend Database
          3. 10.5.3. Configuration of auth methods
      3. 11. Group Mapping: Ms Windows and Unix
        1. 11.1. Features and Benefits
        2. 11.2. Discussion
          1. 11.2.1. Warning: User Private Group Problems
          2. 11.2.2. Nested Groups: Adding Windows Domain Groups to Windows Local Groups
          3. 11.2.3. Important Administrative Information
            1. 11.2.3.1. Applicable Only to Versions Earlier than 3.0.11
          4. 11.2.4. Default Users, Groups, and Relative Identifiers
          5. 11.2.5. Example Configuration
        3. 11.3. Configuration Scripts
          1. 11.3.1. Sample smb.conf Add Group Script
          2. 11.3.2. Script to Configure Group Mapping
        4. 11.4. Common Errors
          1. 11.4.1. Adding Groups Fails
          2. 11.4.2. Adding Domain Users to the Workstation Power Users Group
      4. 12. Remote and Local Management: The Net Command
        1. 12.1. Overview
        2. 12.2. Administrative Tasks and Methods
        3. 12.3. UNIX and Windows Group Management
          1. 12.3.1. Adding, Renaming, or Deletion of Group Accounts
            1. 12.3.1.1. Adding or Creating a New Group
            2. 12.3.1.2. Mapping Windows Groups to UNIX Groups
            3. 12.3.1.3. Deleting a Group Account
            4. 12.3.1.4. Rename Group Accounts
          2. 12.3.2. Manipulating Group Memberships
          3. 12.3.3. Nested Group Support
            1. 12.3.3.1. Managing Nest Groups on Workstations from the Samba Server
        4. 12.4. UNIX and Windows User Management
          1. 12.4.1. Adding User Accounts
          2. 12.4.2. Deletion of User Accounts
          3. 12.4.3. Managing User Accounts
          4. 12.4.4. User Mapping
        5. 12.5. Administering User Rights and Privileges
        6. 12.6. Managing Trust Relationships
          1. 12.6.1. Machine Trust Accounts
          2. 12.6.2. Interdomain Trusts
        7. 12.7. Managing Security Identifiers (SIDS)
        8. 12.8. Share Management
          1. 12.8.1. Creating, Editing, and Removing Shares
          2. 12.8.2. Creating and Changing Share ACLs
          3. 12.8.3. Share, Directory, and File Migration
            1. 12.8.3.1. Share Migration
            2. 12.8.3.2. File and Directory Migration
            3. 12.8.3.3. Share-ACL Migration
            4. 12.8.3.4. Simultaneous Share and File Migration
          4. 12.8.4. Printer Migration
        9. 12.9. Controlling Open Files
        10. 12.10. Session and Connection Management
        11. 12.11. Printers and ADS
        12. 12.12. Manipulating the Samba Cache
        13. 12.13. Other Miscellaneous Operations
      5. 13. Identity Mapping (IDMAP)
        1. 13.1. Samba Server Deployment Types and IDMAP
          1. 13.1.1. Standalone Samba Server
          2. 13.1.2. Domain Member Server or Domain Member Client
          3. 13.1.3. Primary Domain Controller
          4. 13.1.4. Backup Domain Controller
        2. 13.2. Examples of IDMAP Backend Usage
          1. 13.2.1. Default Winbind TDB
            1. 13.2.1.1. NT4-Style Domains (Includes Samba Domains)
            2. 13.2.1.2. ADS Domains
          2. 13.2.2. IDMAP_RID with Winbind
          3. 13.2.3. IDMAP Storage in LDAP Using Winbind
          4. 13.2.4. IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension
            1. 13.2.4.1. IDMAP, Active Directory, and MS Services for UNIX 3.5
            2. 13.2.4.2. IDMAP, Active Directory and AD4UNIX
      6. 14. User Rights and Privileges
        1. 14.1. Rights Management Capabilities
          1. 14.1.1. Using the “net rpc rights” Utility
          2. 14.1.2. Description of Privileges
          3. 14.1.3. Privileges Suppored by Windows 2000 Domain Controllers
        2. 14.2. The Administrator Domain SID
        3. 14.3. Common Errors
          1. 14.3.1. What Rights and Privileges Will Permit Windows Client Administration?
      7. 15. File, Directory, and Share Access Controls
        1. 15.1. Features and Benefits
        2. 15.2. File System Access Controls
          1. 15.2.1. MS Windows NTFS Comparison with UNIX File Systems
          2. 15.2.2. Managing Directories
          3. 15.2.3. File and Directory Access Control
            1. 15.2.3.1. Protecting Directories and Files from Deletion
        3. 15.3. Share Definition Access Controls
          1. 15.3.1. User- and Group-Based Controls
          2. 15.3.2. File and Directory Permissions-Based Controls
          3. 15.3.3. Miscellaneous Controls
        4. 15.4. Access Controls on Shares
          1. 15.4.1. Share Permissions Management
            1. 15.4.1.1. Windows NT4 Workstation/Server
            2. 15.4.1.2. Windows 200x/XP
        5. 15.5. MS Windows Access Control Lists and UNIX Interoperability
          1. 15.5.1. Managing UNIX Permissions Using NT Security Dialogs
          2. 15.5.2. Viewing File Security on a Samba Share
          3. 15.5.3. Viewing File Ownership
          4. 15.5.4. Viewing File or Directory Permissions
            1. 15.5.4.1. File Permissions
            2. 15.5.4.2. Directory Permissions
          5. 15.5.5. Modifying File or Directory Permissions
          6. 15.5.6. Interaction with the Standard Samba “create mask” Parameters
          7. 15.5.7. Interaction with the Standard Samba File Attribute Mapping
          8. 15.5.8. Windows NT/200X ACLs and POSIX ACLs Limitations
            1. 15.5.8.1. UNIX POSIX ACL Overview
            2. 15.5.8.2. Mapping of Windows File ACLs to UNIX POSIX ACLs
            3. 15.5.8.3. Mapping of Windows Directory ACLs to UNIX POSIX ACLs
        6. 15.6. Common Errors
          1. 15.6.1. Users Cannot Write to a Public Share
          2. 15.6.2. File Operations Done as root with force user Set
          3. 15.6.3. MS Word with Samba Changes Owner of File
      8. 16. File and Record Locking
        1. 16.1. Features and Benefits
        2. 16.2. Discussion
          1. 16.2.1. Opportunistic Locking Overview
            1. 16.2.1.1. Exclusively Accessed Shares
            2. 16.2.1.2. Multiple-Accessed Shares or Files
            3. 16.2.1.3. UNIX or NFS Client-Accessed Files
            4. 16.2.1.4. Slow and/or Unreliable Networks
            5. 16.2.1.5. Multiuser Databases
            6. 16.2.1.6. PDM Data Shares
            7. 16.2.1.7. Beware of Force User
            8. 16.2.1.8. Advanced Samba Oplocks Parameters
            9. 16.2.1.9. Mission-Critical, High-Availability
        3. 16.3. Samba Oplocks Control
          1. 16.3.1. Example Configuration
            1. 16.3.1.1. Disabling Oplocks
            2. 16.3.1.2. Disabling Kernel Oplocks
        4. 16.4. MS Windows Oplocks and Caching Controls
          1. 16.4.1. Workstation Service Entries
          2. 16.4.2. Server Service Entries
        5. 16.5. Persistent Data Corruption
        6. 16.6. Common Errors
          1. 16.6.1. locking.tdb Error Messages
          2. 16.6.2. Problems Saving Files in MS Office on Windows XP
          3. 16.6.3. Long Delays Deleting Files over Network with XP SP1
        7. 16.7. Additional Reading
      9. 17. Securing Samba
        1. 17.1. Introduction
        2. 17.2. Features and Benefits
        3. 17.3. Technical Discussion of Protective Measures and Issues
          1. 17.3.1. Using Host-Based Protection
          2. 17.3.2. User-Based Protection
          3. 17.3.3. Using Interface Protection
          4. 17.3.4. Using a Firewall
          5. 17.3.5. Using IPC$ Share-Based Denials
          6. 17.3.6. NTLMv2 Security
        4. 17.4. Upgrading Samba
        5. 17.5. Common Errors
          1. 17.5.1. Smbclient Works on Localhost, but the Network Is Dead
          2. 17.5.2. Why Can Users Access Other Users’ Home Directories?
      10. 18. Interdomain Trust Relationships
        1. 18.1. Features and Benefits
        2. 18.2. Trust Relationship Background
        3. 18.3. Native MS Windows NT4 Trusts Configuration
          1. 18.3.1. Creating an NT4 Domain Trust
          2. 18.3.2. Completing an NT4 Domain Trust
          3. 18.3.3. Interdomain Trust Facilities
        4. 18.4. Configuring Samba NT-Style Domain Trusts
          1. 18.4.1. Samba as the Trusted Domain
          2. 18.4.2. Samba as the Trusting Domain
        5. 18.5. NT4-Style Domain Trusts with Windows 2000
        6. 18.6. Common Errors
          1. 18.6.1. Browsing of Trusted Domain Fails
          2. 18.6.2. Problems with LDAP ldapsam and Older Versions of smbldap-tools
      11. 19. Hosting a Microsoft Distributed File System Tree
        1. 19.1. Features and Benefits
        2. 19.2. Common Errors
          1. 19.2.1. MSDFS UNIX Path Is Case-Critical
      12. 20. Classical Printing Support
        1. 20.1. Features and Benefits
        2. 20.2. Technical Introduction
          1. 20.2.1. Client to Samba Print Job Processing
          2. 20.2.2. Printing-Related Configuration Parameters
        3. 20.3. Simple Print Configuration
          1. 20.3.1. Verifying Configuration with testparm
          2. 20.3.2. Rapid Configuration Validation
        4. 20.4. Extended Printing Configuration
          1. 20.4.1. Detailed Explanation Settings
            1. 20.4.1.1. The [global] Section
            2. 20.4.1.2. The [printers] Section
            3. 20.4.1.3. Any [my_printer_name] Section
            4. 20.4.1.4. Print Commands
            5. 20.4.1.5. Default UNIX System Printing Commands
            6. 20.4.1.6. Custom Print Commands
        5. 20.5. Printing Developments Since Samba-2.2
          1. 20.5.1. Point’n’Print Client Drivers on Samba Servers
          2. 20.5.2. The Obsoleted [printer$] Section
          3. 20.5.3. Creating the [print$] Share
          4. 20.5.4. [print$] Stanza Parameters
          5. 20.5.5. The [print$] Share Directory
        6. 20.6. Installing Drivers into [print$]
          1. 20.6.1. Add Printer Wizard Driver Installation
          2. 20.6.2. Installing Print Drivers Using rpcclient
            1. 20.6.2.1. Identifying Driver Files
            2. 20.6.2.2. Obtaining Driver Files from Windows Client [print$] Shares
            3. 20.6.2.3. Installing Driver Files into [print$]
            4. 20.6.2.4. smbclient to Confirm Driver Installation
            5. 20.6.2.5. Running rpcclient with adddriver
            6. 20.6.2.6. Checking adddriver Completion
            7. 20.6.2.7. Check Samba for Driver Recognition
            8. 20.6.2.8. Specific Driver Name Flexibility
            9. 20.6.2.9. Running rpcclient with setdriver
        7. 20.7. Client Driver Installation Procedure
          1. 20.7.1. First Client Driver Installation
          2. 20.7.2. Setting Device Modes on New Printers
          3. 20.7.3. Additional Client Driver Installation
          4. 20.7.4. Always Make First Client Connection as root or “printer admin”
        8. 20.8. Other Gotchas
          1. 20.8.1. Setting Default Print Options for Client Drivers
          2. 20.8.2. Supporting Large Numbers of Printers
          3. 20.8.3. Adding New Printers with the Windows NT APW
          4. 20.8.4. Error Message: “Cannot connect under a different Name”
          5. 20.8.5. Take Care When Assembling Driver Files
          6. 20.8.6. Samba and Printer Ports
          7. 20.8.7. Avoiding Common Client Driver Misconfiguration
        9. 20.9. The Imprints Toolset
          1. 20.9.1. What Is Imprints?
          2. 20.9.2. Creating Printer Driver Packages
          3. 20.9.3. The Imprints Server
          4. 20.9.4. The Installation Client
        10. 20.10. Adding Network Printers without User Interaction
        11. 20.11. The addprinter Command
        12. 20.12. Migration of Classical Printing to Samba
        13. 20.13. Publishing Printer Information in Active Directory or LDAP
        14. 20.14. Common Errors
          1. 20.14.1. I Give My Root Password but I Do Not Get Access
          2. 20.14.2. My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost
      13. 21. Cups Printing Support
        1. 21.1. Introduction
          1. 21.1.1. Features and Benefits
          2. 21.1.2. Overview
        2. 21.2. Basic CUPS Support Configuration
          1. 21.2.1. Linking smbd with libcups.so
          2. 21.2.2. Simple smb.conf Settings for CUPS
          3. 21.2.3. More Complex CUPS smb.conf Settings
        3. 21.3. Advanced Configuration
          1. 21.3.1. Central Spooling vs. “Peer-to-Peer” Printing
          2. 21.3.2. Raw Print Serving: Vendor Drivers on Windows Clients
          3. 21.3.3. Installation of Windows Client Drivers
          4. 21.3.4. Explicitly Enable “raw” Printing for application/octet-stream
          5. 21.3.5. Driver Upload Methods
        4. 21.4. Advanced Intelligent Printing with PostScript Driver Download
          1. 21.4.1. GDI on Windows, PostScript on UNIX
          2. 21.4.2. Windows Drivers, GDI, and EMF
          3. 21.4.3. UNIX Printfile Conversion and GUI Basics
          4. 21.4.4. PostScript and Ghostscript
          5. 21.4.5. Ghostscript: The Software RIP for Non-PostScript Printers
          6. 21.4.6. PostScript Printer Description (PPD) Specification
          7. 21.4.7. Using Windows-Formatted Vendor PPDs
          8. 21.4.8. CUPS Also Uses PPDs for Non-PostScript Printers
        5. 21.5. The CUPS Filtering Architecture
          1. 21.5.1. MIME Types and CUPS Filters
          2. 21.5.2. MIME Type Conversion Rules
          3. 21.5.3. Filtering Overview
            1. 21.5.3.1. Filter Requirements
          4. 21.5.4. Prefilters
          5. 21.5.5. pstops
          6. 21.5.6. pstoraster
          7. 21.5.7. imagetops and imagetoraster
          8. 21.5.8. rasterto [printers specific]
          9. 21.5.9. CUPS Backends
          10. 21.5.10. The Role of cupsomatic/foomatic
          11. 21.5.11. The Complete Picture
          12. 21.5.12. mime.convs
          13. 21.5.13. “Raw” Printing
          14. 21.5.14. application/octet-stream Printing
          15. 21.5.15. PostScript Printer Descriptions for Non-PostScript Printers
          16. 21.5.16. cupsomatic/foomatic-rip Versus Native CUPS Printing
          17. 21.5.17. Examples for Filtering Chains
          18. 21.5.18. Sources of CUPS Drivers/PPDs
          19. 21.5.19. Printing with Interface Scripts
        6. 21.6. Network Printing (Purely Windows)
          1. 21.6.1. From Windows Clients to an NT Print Server
          2. 21.6.2. Driver Execution on the Client
          3. 21.6.3. Driver Execution on the Server
        7. 21.7. Network Printing (Windows Clients and UNIX/Samba Print Servers)
          1. 21.7.1. From Windows Clients to a CUPS/Samba Print Server
          2. 21.7.2. Samba Receiving Job-Files and Passing Them to CUPS
        8. 21.8. Network PostScript RIP
          1. 21.8.1. PPDs for Non-PS Printers on UNIX
          2. 21.8.2. PPDs for Non-PS Printers on Windows
        9. 21.9. Windows Terminal Servers (WTS) as CUPS Clients
          1. 21.9.1. Printer Drivers Running in “Kernel Mode” Cause Many Problems
          2. 21.9.2. Workarounds Impose Heavy Limitations
          3. 21.9.3. CUPS: A “Magical Stone”?
          4. 21.9.4. PostScript Drivers with No Major Problems, Even in Kernel Mode
        10. 21.10. Configuring CUPS for Driver Download
          1. 21.10.1. cupsaddsmb: The Unknown Utility
          2. 21.10.2. Prepare Your smb.conf for cupsaddsmb
          3. 21.10.3. CUPS “PostScript Driver for Windows NT/200x/XP”
          4. 21.10.4. Recognizing Different Driver Files
          5. 21.10.5. Acquiring the Adobe Driver Files
          6. 21.10.6. ESP Print Pro PostScript Driver for Windows NT/200x/XP
          7. 21.10.7. Caveats to Be Considered
          8. 21.10.8. Windows CUPS PostScript Driver Versus Adobe Driver
          9. 21.10.9. Run cupsaddsmb (Quiet Mode)
          10. 21.10.10. Run cupsaddsmb with Verbose Output
          11. 21.10.11. Understanding cupsaddsmb
          12. 21.10.12. How to Recognize If cupsaddsmb Completed Successfully
          13. 21.10.13. cupsaddsmb with a Samba PDC
          14. 21.10.14. cupsaddsmb Flowchart
          15. 21.10.15. Installing the PostScript Driver on a Client
          16. 21.10.16. Avoiding Critical PostScript Driver Settings on the Client
        11. 21.11. Installing PostScript Driver Files Manually Using rpcclient
          1. 21.11.1. A Check of the rpcclient man Page
          2. 21.11.2. Understanding the rpcclient man Page
          3. 21.11.3. Producing an Example by Querying a Windows Box
          4. 21.11.4. Requirements for adddriver and setdriver to Succeed
          5. 21.11.5. Manual Driver Installation in 15 Steps
          6. 21.11.6. Troubleshooting Revisited
        12. 21.12. The Printing *.tdb Files
          1. 21.12.1. Trivial Database Files
          2. 21.12.2. Binary Format
          3. 21.12.3. Losing *.tdb Files
          4. 21.12.4. Using tdbbackup
        13. 21.13. CUPS Print Drivers from Linuxprinting.org
          1. 21.13.1. foomatic-rip and Foomatic Explained
            1. 21.13.1.1. 690 “Perfect” Printers
            2. 21.13.1.2. How the Printing HOWTO Started It All
            3. 21.13.1.3. Foomatic’s Strange Name
            4. 21.13.1.4. cupsomatic, pdqomatic, lpdomatic, directomatic
            5. 21.13.1.5. The Grand Unification Achieved
            6. 21.13.1.6. Driver Development Outside
            7. 21.13.1.7. Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)
            8. 21.13.1.8. Foomatic Database-Generated PPDs
            9. 21.13.2. foomatic-rip and Foomatic PPD Download and Installation
        14. 21.14. Page Accounting with CUPS
          1. 21.14.1. Setting Up Quotas
          2. 21.14.2. Correct and Incorrect Accounting
          3. 21.14.3. Adobe and CUPS PostScript Drivers for Windows Clients
          4. 21.14.4. The page_log File Syntax
          5. 21.14.5. Possible Shortcomings
          6. 21.14.6. Future Developments
          7. 21.14.7. Other Accounting Tools
        15. 21.15. Additional Material
        16. 21.16. Autodeletion or Preservation of CUPS Spool Files
          1. 21.16.1. CUPS Configuration Settings Explained
          2. 21.16.2. Preconditions
          3. 21.16.3. Manual Configuration
        17. 21.17. Printing from CUPS to Windows-Attached Printers
        18. 21.18. More CUPS Filtering Chains
        19. 21.19. Common Errors
          1. 21.19.1. Windows 9x/Me Client Can’t Install Driver
          2. 21.19.2. “cupsaddsmb” Keeps Asking for Root Password in Never-ending Loop
          3. 21.19.3. “cupsaddsmb” or “rpcclient addriver” Emit Error
          4. 21.19.4. “cupsaddsmb” Errors
          5. 21.19.5. Client Can’t Connect to Samba Printer
          6. 21.19.6. New Account Reconnection from Windows 200x/XP Troubles
          7. 21.19.7. Avoid Being Connected to the Samba Server as the Wrong User
          8. 21.19.8. Upgrading to CUPS Drivers from Adobe Drivers
          9. 21.19.9. Can’t Use “cupsaddsmb” on Samba Server, Which Is a PDC
          10. 21.19.10. Deleted Windows 200x Printer Driver Is Still Shown
          11. 21.19.11. Windows 200x/XP Local Security Policies
          12. 21.19.12. Administrator Cannot Install Printers for All Local Users
          13. 21.19.13. Print Change, Notify Functions on NT Clients
          14. 21.19.14. Win XP-SP1
          15. 21.19.15. Print Options for All Users Can’t Be Set on Windows 200x/XP
          16. 21.19.16. Most Common Blunders in Driver Settings on Windows Clients
          17. 21.19.17. cupsaddsmb Does Not Work with Newly Installed Printer
          18. 21.19.18. Permissions on /var/spool/samba/ Get Reset After Each Reboot
          19. 21.19.19. Print Queue Called “lp” Mishandles Print Jobs
          20. 21.19.20. Location of Adobe PostScript Driver Files for “cupsaddsmb”
        20. 21.20. Overview of the CUPS Printing Processes
      14. 22. Stackable Vfs Modules
        1. 22.1. Features and Benefits
        2. 22.2. Discussion
        3. 22.3. Included Modules
          1. 22.3.1. audit
          2. 22.3.2. extd_audit
            1. 22.3.2.1. Configuration of Auditing
          3. 22.3.3. fake_perms
          4. 22.3.4. recycle
          5. 22.3.5. netatalk
          6. 22.3.6. shadow_copy
            1. 22.3.6.1. Shadow Copy Setup
        4. 22.4. VFS Modules Available Elsewhere
          1. 22.4.1. DatabaseFS
          2. 22.4.2. vscan
      15. 23. Winbind: Use of Domain Accounts
        1. 23.1. Features and Benefits
        2. 23.2. Introduction
        3. 23.3. What Winbind Provides
          1. 23.3.1. Target Uses
          2. 23.3.2. Handling of Foreign SIDs
        4. 23.4. How Winbind Works
          1. 23.4.1. Microsoft Remote Procedure Calls
          2. 23.4.2. Microsoft Active Directory Services
          3. 23.4.3. Name Service Switch
          4. 23.4.4. Pluggable Authentication Modules
          5. 23.4.5. User and Group ID Allocation
          6. 23.4.6. Result Caching
        5. 23.5. Installation and Configuration
          1. 23.5.1. Introduction
          2. 23.5.2. Requirements
          3. 23.5.3. Testing Things Out
            1. 23.5.3.1. Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris
            2. 23.5.3.2. NSS Winbind on AIX
            3. 23.5.3.3. Configure smb.conf
            4. 23.5.3.4. Join the Samba Server to the PDC Domain
            5. 23.5.3.5. Starting and Testing the winbindd Daemon
            6. 23.5.3.6. Fix the init.d Startup Scripts
              1. Linux
              2. Solaris
              3. Restarting
            7. 23.5.3.7. Configure Winbind and PAM
              1. Linux/FreeBSD-Specific PAM Configuration
              2. Solaris-Specific Configuration
        6. 23.6. Conclusion
          1. 23.7. Common Errors
          2. 23.7.1. NSCD Problem Warning
          3. 23.7.2. Winbind Is Not Resolving Users and Groups
      16. 24. Advanced Network Management
        1. 24.1. Features and Benefits
        2. 24.2. Remote Server Administration
        3. 24.3. Remote Desktop Management
          1. 24.3.1. Remote Management from NoMachine.Com
        4. 24.4. Network Logon Script Magic
          1. 24.4.1. Adding Printers without User Intervention
          2. 24.4.2. Limiting Logon Connections
      17. 25. System and Account Policies
        1. 25.1. Features and Benefits
        2. 25.2. Creating and Managing System Policies
          1. 25.2.1. Windows 9x/ME Policies
          2. 25.2.2. Windows NT4-Style Policy Files
            1. 25.2.2.1. Registry Spoiling
          3. 25.2.3. MS Windows 200x/XP Professional Policies
            1. 25.2.3.1. Administration of Windows 200x/XP Policies
            2. 25.2.3.2. Custom System Policy Templates
        3. 25.3. Managing Account/User Policies
        4. 25.4. Management Tools
          1. 25.4.1. Samba Editreg Toolset
          2. 25.4.2. Windows NT4/200x
          3. 25.4.3. Samba PDC
        5. 25.5. System Startup and Logon Processing Overview
        6. 25.6. Common Errors
          1. 25.6.1. Policy Does Not Work
      18. 26. Desktop Profile Management
        1. 26.1. Features and Benefits
        2. 26.2. Roaming Profiles
          1. 26.2.1. Samba Configuration for Profile Handling
            1. 26.2.1.1. NT4/200x User Profiles
            2. 26.2.1.2. Windows 9x/Me User Profiles
            3. 26.2.1.3. Mixed Windows Windows 9x/Me and NT4/200x User Profiles
            4. 26.2.1.4. Disabling Roaming Profile Support
          2. 26.2.2. Windows Client Profile Configuration Information
            1. 26.2.2.1. Windows 9x/Me Profile Setup
            2. 26.2.2.2. Windows NT4 Workstation
            3. 26.2.2.3. Windows 2000/XP Professional
          3. 26.2.3. User Profile Hive Cleanup Service
          4. 26.2.4. Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations
          5. 26.2.5. Profile Migration from Windows NT4/200x Server to Samba
            1. 26.2.5.1. Windows NT4 Profile Management Tools
            2. 26.2.5.2. Side Bar Notes
            3. 26.2.5.3. moveuser.exe
            4. 26.2.5.4. Get SID
        3. 26.3. Mandatory Profiles
        4. 26.4. Creating and Managing Group Profiles
        5. 26.5. Default Profile for Windows Users
          1. 26.5.1. MS Windows 9x/Me
            1. 26.5.1.1. User Profile Handling with Windows 9x/Me
          2. 26.5.2. MS Windows NT4 Workstation
          3. 26.5.3. MS Windows 200x/XP
        6. 26.6. Common Errors
          1. 26.6.1. Configuring Roaming Profiles for a Few Users or Groups
          2. 26.6.2. Cannot Use Roaming Profiles
          3. 26.6.3. Changing the Default Profile
          4. 26.6.4. Debugging Roaming Profiles and NT4-style Domain Policies
      19. 27. Pam-Based Distributed Authentication
        1. 27.1. Features and Benefits
        2. 27.2. Technical Discussion
          1. 27.2.1. PAM Configuration Syntax
            1. 27.2.1.1. Anatomy of /etc/pam.d Entries
          2. 27.2.2. Example System Configurations
            1. 27.2.2.1. PAM: Original Login Config
            2. 27.2.2.2. PAM: Login Using pam_smbpass
          3. 27.2.3. smb.conf PAM Configuration
          4. 27.2.4. Remote CIFS Authentication Using winbindd.so
          5. 27.2.5. Password Synchronization Using pam_smbpass.so
            1. 27.2.5.1. Password Synchronization Configuration
            2. 27.2.5.2. Password Migration Configuration
            3. 27.2.5.3. Mature Password Configuration
            4. 27.2.5.4. Kerberos Password Integration Configuration
        3. 27.3. Common Errors
          1. 27.3.1. pam winbind Problem
          2. 27.3.2. Winbind Is Not Resolving Users and Groups
      20. 28. Integrating Ms Windows Networks with Samba
        1. 28.1. Features and Benefits
        2. 28.2. Background Information
        3. 28.3. Name Resolution in a Pure UNIX/Linux World
          1. 28.3.1. /etc/hosts
          2. 28.3.2. /etc/resolv.conf
          3. 28.3.3. /etc/host.conf
          4. 28.3.4. /etc/nsswitch.conf
        4. 28.4. Name Resolution as Used within MS Windows Networking
          1. 28.4.1. The NetBIOS Name Cache
          2. 28.4.2. The LMHOSTS File
          3. 28.4.3. HOSTS File
          4. 28.4.4. DNS Lookup
          5. 28.4.5. WINS Lookup
        5. 28.5. Common Errors
          1. 28.5.1. Pinging Works Only One Way
          2. 28.5.2. Very Slow Network Connections
          3. 28.5.3. Samba Server Name-Change Problem
      21. 29. Unicode/Charsets
        1. 29.1. Features and Benefits
        2. 29.2. What Are Charsets and Unicode?
        3. 29.3. Samba and Charsets
        4. 29.4. Conversion from Old Names
        5. 29.5. Japanese Charsets
          1. 29.5.1. Basic Parameter Setting
          2. 29.5.2. Individual Implementations
          3. 29.5.3. Migration from Samba-2.2 Series
        6. 29.6. Common Errors
          1. 29.6.1. CP850.so Can’t Be Found
      22. 30. Backup Techniques
        1. 30.1. Features and Benefits
        2. 30.2. Discussion of Backup Solutions
          1. 30.2.1. BackupPC
          2. 30.2.2. Rsync
          3. 30.2.3. Amanda
          4. 30.2.4. BOBS: Browseable Online Backup System
      23. 31. High Availability
        1. 31.1. Features and Benefits
        2. 31.2. Technical Discussion
          1. 31.2.1. The Ultimate Goal
          2. 31.2.2. Why Is This So Hard?
            1. 31.2.2.1. The Front-End Challenge
            2. 31.2.2.2. Demultiplexing SMB Requests
            3. 31.2.2.3. The Distributed File System Challenge
            4. 31.2.2.4. Restrictive Constraints on Distributed File Systems
            5. 31.2.2.5. Server Pool Communications
            6. 31.2.2.6. Server Pool Communications Demands
            7. 31.2.2.7. Required Modifications to Samba
          3. 31.2.3. A Simple Solution
          4. 31.2.4. High-Availability Server Products
          5. 31.2.5. MS-DFS: The Poor Man’s Cluster
          6. 31.2.6. Conclusions
      24. 32. Handling Large Directories
      25. 33. Advanced Configuration Techniques
        1. 33.1. Implementation
          1. 33.1.1. Multiple Server Hosting
          2. 33.1.2. Multiple Virtual Server Personalities
          3. 33.1.3. Multiple Virtual Server Hosting
    14. IV. Migration and Updating
      1. 34. Upgrading from Samba-2.X to Samba-3.0.20
        1. 34.1. Quick Migration Guide
        2. 34.2. New Features in Samba-3
        3. 34.3. Configuration Parameter Changes
          1. 34.3.1. Removed Parameters
          2. 34.3.2. New Parameters
          3. 34.3.3. Modified Parameters (Changes in Behavior)
        4. 34.4. New Functionality
          1. 34.4.1. Databases
          2. 34.4.2. Changes in Behavior
          3. 34.4.3. Passdb Backends and Authentication
          4. 34.4.4. LDAP
            1. 34.4.4.1. New Schema
            2. 34.4.4.2. New Suffix for Searching
            3. 34.4.4.3. IdMap LDAP Support
      2. 35. Migration from NT4 PDC to Samba-3 Pdc
        1. 35.1. Planning and Getting Started
          1. 35.1.1. Objectives
            1. 35.1.1.1. Domain Layout
            2. 35.1.1.2. Server Share and Directory Layout
            3. 35.1.1.3. Logon Scripts
            4. 35.1.1.4. Profile Migration/Creation
            5. 35.1.1.5. User and Group Accounts
          2. 35.1.2. Steps in Migration Process
        2. 35.2. Migration Options
          1. 35.2.1. Planning for Success
          2. 35.2.2. Samba-3 Implementation Choices
      3. 36. Swat: The Samba Web Administration Tool
        1. 36.1. Features and Benefits
        2. 36.2. Guidelines and Technical Tips
          1. 36.2.1. Validate SWAT Installation
            1. 36.2.1.1. Locating the SWAT File
            2. 36.2.1.2. Locating the SWAT Support Files
          2. 36.2.2. Enabling SWAT for Use
          3. 36.2.3. Securing SWAT through SSL
          4. 36.2.4. Enabling SWAT Internationalization Support
        3. 36.3. Overview and Quick Tour
          1. 36.3.1. The SWAT Home Page
          2. 36.3.2. Global Settings
          3. 36.3.3. Share Settings
          4. 36.3.4. Printers Settings
          5. 36.3.5. The SWAT Wizard
          6. 36.3.6. The Status Page
          7. 36.3.7. The View Page
          8. 36.3.8. The Password Change Page
    15. V. Troubleshooting
      1. 37. The Samba Checklist
        1. 37.1. Introduction
        2. 37.2. Assumptions
        3. 37.3. The Tests
      2. 38. Analyzing and Solving Samba Problems
        1. 38.1. Diagnostics Tools
          1. 38.1.1. Debugging with Samba Itself
          2. 38.1.2. Tcpdump
          3. 38.1.3. Ethereal
          4. 38.1.4. The Windows Network Monitor
            1. 38.1.4.1. Installing Network Monitor on an NT Workstation
            2. 38.1.4.2. Installing Network Monitor on Windows 9x/Me
        2. 38.2. Useful URLs
        3. 38.3. Getting Mailing List Help
        4. 38.4. How to Get Off the Mailing Lists
      3. 39. Reporting Bugs
        1. 39.1. Introduction
        2. 39.2. General Information
        3. 39.3. Debug Levels
          1. 39.3.1. Debugging-Specific Operations
        4. 39.4. Internal Errors
        5. 39.5. Attaching to a Running Process
        6. 39.6. Patches
    16. VI. Reference Section
      1. 40. How to Compile Samba
        1. 40.1. Access Samba Source Code via Subversion
          1. 40.1.1. Introduction
          2. 40.1.2. Subversion Access to samba.org
            1. 40.1.2.1. Access via SVNweb
            2. 40.1.2.2. Access via Subversion
        2. 40.2. Accessing the Samba Sources via rsync and ftp
        3. 40.3. Verifying Samba’s PGP Signature
        4. 40.4. Building the Binaries
          1. 40.4.1. Compiling Samba with Active Directory Support
            1. 40.4.1.1. Installing the Required Packages for Debian
            2. 40.4.1.2. Installing the Required Packages for Red Hat Linux
            3. 40.4.1.3. SuSE Linux Package Requirements
        5. 40.5. Starting the smbd nmbd and winbindd
          1. 40.5.1. Starting from inetd.conf
          2. 40.5.2. Alternative: Starting smbd as a Daemon
            1. 40.5.2.1. Starting Samba for Red Hat Linux
            2. 40.5.2.2. Starting Samba for Novell SUSE Linux
      2. 41. Portability
        1. 41.1. HPUX
        2. 41.2. SCO UNIX
        3. 41.3. DNIX
        4. 41.4. Red Hat Linux
        5. 41.5. AIX: Sequential Read Ahead
        6. 41.6. Solaris
          1. 41.6.1. Locking Improvements
          2. 41.6.2. Winbind on Solaris 9
      3. 42. Samba and Other Cifs Clients
        1. 42.1. Macintosh Clients
        2. 42.2. OS2 Client
          1. 42.2.1. Configuring OS/2 Warp Connect or OS/2 Warp 4
          2. 42.2.2. Configuring Other Versions of OS/2
          3. 42.2.3. Printer Driver Download for OS/2 Clients
        3. 42.3. Windows for Workgroups
          1. 42.3.1. Latest TCP/IP Stack from Microsoft
          2. 42.3.2. Delete .pwl Files After Password Change
          3. 42.3.3. Configuring Windows for Workgroups Password Handling
          4. 42.3.4. Password Case Sensitivity
          5. 42.3.5. Use TCP/IP as Default Protocol
          6. 42.3.6. Speed Improvement
        4. 42.4. Windows 95/98
          1. 42.4.1. Speed Improvement
        5. 42.5. Windows 2000 Service Pack 2
        6. 42.6. Windows NT 3.1
      4. 43. Samba Performance Tuning
        1. 43.1. Comparisons
        2. 43.2. Socket Options
        3. 43.3. Read Size
        4. 43.4. Max Xmit
        5. 43.5. Log Level
        6. 43.6. Read Raw
        7. 43.7. Write Raw
        8. 43.8. Slow Logins
        9. 43.9. Client Tuning
        10. 43.10. Samba Performance Problem Due to Changing Linux Kernel
        11. 43.11. Corrupt tdb Files
        12. 43.12. Samba Performance is Very Slow
      5. 44. Ldap and Transport Layer Security
        1. 44.1. Introduction
        2. 44.2. Configuring
          1. 44.2.1. Generating the Certificate Authority
          2. 44.2.2. Generating the Server Certificate
          3. 44.2.3. Installing the Certificates
        3. 44.3. Testing
        4. 44.4. Troubleshooting
      6. 45. Samba Support
        1. 45.1. Free Support
        2. 45.2. Commercial Support
      7. 46. Dns and Dhcp Configuration Guide
        1. 46.1. Features and Benefits
        2. 46.2. Example Configuration
          1. 46.2.1. Dynamic DNS
          2. 46.2.2. DHCP Server
      8. 47. Manual Pages
        1. 47.1. net
          1. Synopsis
          2. Description
          3. Options
          4. Commands
        2. 47.2. nmbd
          1. Synopsis
          2. Description
          3. Options
          4. Files
          5. Signals
          6. See Also
        3. 47.3. nmblookup
          1. Synopsis
          2. Description
          3. Options
          4. Examples
          5. See Also
        4. 47.4. pdbedit
          1. Synopsis
          2. Description
          3. Options
          4. Notes
          5. See Also
        5. 47.5. profiles
          1. Synopsis
          2. Description
          3. Options
        6. 47.6. rpcclient
          1. Synopsis
          2. Description
          3. Options
          4. Commands
        7. 47.7. smbcacls
          1. Synopsis
          2. Description
          3. Options
          4. ACL Format
          5. Exit Status
        8. 47.8. smbclient
          1. Synopsis
          2. Description
          3. Options
          4. Operations
          5. Notes
          6. Environment Variables
          7. Installation
          8. Diagnostics
        9. 47.9. smb.conf
          1. Synopsis
          2. File Format
          3. Section Descriptions
          4. Special Sections
          5. Parameters
          6. Variable Substitutions
          7. Name Mangling
          8. Note About Username/Password Validation
          9. Explanation of Each Parameter
          10. Warnings
          11. See Also
        10. 47.10. smbcquotas
          1. Synopsis
          2. Description
          3. Options
          4. Quota_Set_Comand
          5. Exit Status
        11. 47.11. smbd
          1. Synopsis
          2. Description
          3. Options
          4. Files
          5. Limitations
          6. Environment Variables
          7. Pam Interaction
          8. Diagnostics
          9. TDB Files
          10. Signals
          11. See Also
        12. 47.12. smbpasswd
          1. Synopsis
          2. Description
          3. File Format
          4. See Also
        13. 47.13. smbpasswd
          1. Synopsis
          2. Description
          3. Options
          4. Notes
          5. See Also
        14. 47.14. smbstatus
          1. Synopsis
          2. Description
          3. Options
          4. See Also
        15. 47.15. smbtree
          1. Synopsis
          2. Description
          3. Options
        16. 47.16. tdbbackup
          1. Synopsis
          2. Description
          3. Options
          4. Commands
        17. 47.17. tdbdump
          1. Synopsis
          2. Description
        18. 47.18. testparm
          1. Synopsis
          2. Description
          3. Options
          4. Files
          5. Diagnostics
          6. See Also
        19. 47.19. wbinfo
          1. Synopsis
          2. Description
          3. Options
          4. Exit Status
          5. See Also
        20. 47.20. winbindd
          1. Synopsis
          2. Description
          3. Options
          4. Name and ID Resolution
          5. Configuration
          6. Example Setup
          7. Notes
          8. Signals
          9. Files
          10. See Also
    17. A. Gnu General Public License
      1. A.1. Preamble
      2. A.2. Terms and Conditions for Copying, Distribution and Modification
        1. A.2.1. Section 0
        2. A.2.2. Section 1
        3. A.2.3. Section 2
        4. A.2.4. Section 3
        5. A.2.5. Section 4
        6. A.2.6. Section 5
        7. A.2.7. Section 6
        8. A.2.8. Section 7
        9. A.2.9. Section 8
        10. A.2.10. Section 9
        11. A.2.11. Section 10
        12. A.2.12. No Warranty Section 11
        13. A.2.13. Section 12
      3. A.3. How to Apply These Terms to Your New Programs
    18. Glossary

    Product information

    • Title: Official Samba-3 HOWTO and Reference Guide, The, Second Edition
    • Author(s): John H. Terpstra, Jelmer Vernooij
    • Release date: August 2005
    • Publisher(s): Pearson
    • ISBN: 0131882228