Samba-3 by Example 2nd Ed.

Practical Exercises to Successful Deployment

John H. Terpstra

Publisher: Prentice Hall, 20066, 457 pages

Keywords: System Administration

Last modified: March 23, 2022, 11:35 p.m.

The Practical, Tested, Step-by-Step Samba-3 Guidebook Has Now Been Fully Updated!

The definitive Samba-3 guidebook has been completely updated to reflect the latest Samba releases and migration techniques. This book's complete configuration files, step-by-step implementation instructions, network diagrams, and automated scripts make deployment a breeze — even if you've never worked with Samba before. From small office networks to enterprise environments, here are proven configurations, backed by guidance from one of the world's most respected Samba experts, Samba Team contibutor John H. Terpstra.

This edition has added comprehensive diagnostic techniques and validation steps, as well as solutions to common implementation mistakes: everything you need to assure reliability and performance regardless of your network environment. In response to reader requests, the author has also added detailed coverage of updating existing Samba networks, as well as a practical primer on how Samba stores essential network information. Samba-3 by Example, Second Edition, covers all these scenarios, and more.

  • Deploying "frills" servers for small, convenient networks
  • Implementing small- to-mid-sized networks using basic security
  • Implementing full-fledged enterprise network environments, with tips for enhancing availability and performance
  • Building secure, scalable networks with domain logons and roaming profiles
  • Deploying Samba in environments that utilize routers and firewalls
  • Examples that minimize desktop management requirements, using policy controls and folder redirection
  • Integrating Samba-3 with Windows Server 2003 and Microsoft Active Directory domains
  • Migrating seamlessly from Windows NT 4 to Samba-3
  • Adding Samba servers as Windows domain members
  • Configuring DHCP, DNS, and OpenLDAP servers to get the most out of your Samba network
  • An example of Squid, using Windows authentication through Samba
  • Estimating server hardware, using the practical guidelines included here

If you're a Windows network administrator responsible for deploying or managing Samba, Samba-3 by Example, Second Edition, is your indispensable resource.

CD-ROM Included

The CD-ROM contains all example configuration files, scripts, and tools covered in the book.

  1. Example Network Configurations
    1. No-Frills Samba Servers
      1. Introduction
      2. Assignment Tasks
        1. Drafting Office
          1. Dissection and Discussion
          2. Implementation
          3. Validation
        2. Charity Administration Office
          1. Dissection and Discussion
          2. Implementation
          3. Validation
        3. Accounting Office
          1. Dissection and Discussion
          2. Implementation
      3. Questions and Answers
    2. Small Office Networking
      1. Introduction
        1. Assignment Tasks
      2. Dissection and Discussion
        1. Technical Issues
        2. Political Issues
      3. Implementation
        1. Validation
        2. Notebook Computers: A Special Case
        3. Key Points Learned
      4. Questions and Answers
    3. Secure Office Networking
      1.  Introduction
        1. Assignment Tasks
      2. Dissection and Discussion
        1. Technical Issues
          1. Hardware Requirements
        2. Political Issues
      3. Implementation
        1. Basic System Configuration
        2. Samba Configuration
        3. Configuration of DHCP and DNS Servers
        4. Printer Configuration
        5. Process Startup Configuration
        6. Validation
        7. Application Share Configuration
          1. Comments Regarding Software Terms of Use
        8. Windows Client Configuration
        9. Key Points Learned
      4. Questions and Answers
    4. The 500-User Office
      1. Introduction
        1. Assignment Tasks
      2. Dissection and Discussion
        1. Technical Issues
        2. Political Issues
      3. Implementation
        1. Installation of DHCP, DNS, and Samba Control Files
        2. Server Preparation: All Servers
        3. Server-Specific Preparation
          1. Configuration for Server: MASSIVE
          2. Configuration Specific to Domain Member Servers: BLDG1, BLDG2
        4. Process Startup Configuration
        5. Windows Client Configuration
        6. Key Points Learned
      4. Questions and Answers
    5. Making Happy Users
      1. Regarding LDAP Directories and Windows Computer Accounts
      2. Introduction
        1. Assignment Tasks
      3. Dissection and Discussion
        1. Technical Issues
          1. Addition of Machines to the Domain
          2. Roaming Profile Background
          3. The Local Group Policy
          4. Profile Changes
          5. Using a Network Default User Profile
          6. Installation of Printer Driver Auto-Download
          7. Avoiding Failures: Solving Problems Before They Happen
        2. Political Issues
        3. Installation Checklist
      4. Samba Server Implementation
        1. OpenLDAP Server Configuration
        2. PAM and NSS Client Configuration
        3. Samba-3 PDC Configuration
        4. Install and Configure Idealx smbldap-tools Scripts
          1.  Installation of smbldap-tools from the Tarball
          2. Installing smbldap-tools from the RPM Package
          3. Configuration of smbldap-tools
        5. LDAP Initialization and Creation of User and Group Accounts
        6. Printer Configuration
      5. Samba-3 BDC Configuration
      6. Miscellaneous Server Preparation Tasks
        1. Configuring Directory Share Point Roots
        2. Configuring Profile Directories
        3. Preparation of Logon Scripts
        4. Assigning User Rights and Privileges
      7. Windows Client Configuration
        1. Configuration of Default Profile with Folder Redirection
        2. Configuration of MS Outlook to Relocate PST File
        3. Configure Delete Cached Profiles on Logout
        4. Uploading Printer Drivers to Samba Servers
        5. Software Installation
        6. Roll-out Image Creation
      8. Key Points Learned
      9. Questions and Answers
    6. A Distributed 2000-User Network
      1. Introduction
        1. Assignment Tasks
      2. Dissection and Discussion
        1. Technical Issues
          1. User Needs
          2. The Nature of Windows Networking Protocols
          3. Identity Management Needs
        2. Political Issues
      3. Implementation
        1. Key Points Learned
      4. Questions and Answers
  2. Domain Members, Updating Samba and Migration
    1. Adding Domain Member Servers and Clients
      1. Introduction
        1. Assignment Tasks
      2. Dissection and Discussion
        1. Technical Issues
        2. Political Issues
      3. Implementation
        1. Samba Domain with Samba Domain Member Server — Using NSS LDAP
        2.  NT4/Samba Domain with Samba Domain Member Server: Using NSS and Winbind
        3.  NT4/Samba Domain with Samba Domain Member Server without NSS Support
        4. Active Directory Domain with Samba Domain Member Server
          1. IDMAP_RID with Winbind
          2. IDMAP Storage in LDAP using Winbind
          3. IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension
        5. UNIX/Linux Client Domain Member
          1. NT4 Domain Member
          2. ADS Domain Member
        6. Key Points Learned
      4. Questions and Answers
    2. Updating Samba-3
      1. Introduction
        1. Cautions and Notes
          1. Security Identifiers (SIDs)
          2. Change of hostname
          3. Change of Workgroup (Domain) Name
          4. Location of config files
          5. International Language Support
          6. Updates and Changes in Idealx smbldap-tools
      2. Upgrading from Samba 1.x and 2.x to Samba-3
        1. Samba 1.9.x and 2.x Versions Without LDAP
        2.  Applicable to All Samba 2.x to Samba-3 Upgrades
        3. Samba-2.x with LDAP Support
      3.  Updating a Samba-3 Installation
        1. Samba-3 to Samba-3 Updates on the Same Server
          1. Updating from Samba Versions Earlier than 3.0.5
          2. Updating from Samba Versions between 3.0.6 and 3.0.10
          3. Updating from Samba Versions after 3.0.6 to a Current Release
        2. Migrating Samba-3 to a New Server
          1. Replacing a Domain Member Server
          2. Replacing a Domain Controller
        3. Migration of Samba Accounts to Active Directory
    3. Migrating NT4 Domain To Samba-3
      1. Introduction
        1. Assignment Tasks
      2. Dissection and Discussion
        1. Technical Issues
        2. Political Issues
      3. Implementation
        1. NT4 Migration Using LDAP Backend
          1. Migration Log Validation
        2. NT4 Migration Using tdbsam Backend
        3. Key Points Learned
      4. Questions and Answers
    4. Migrating Netware Server to Samba-3
      1. Introduction
        1. Assignment Tasks
      2. Dissection and Discussion
        1. Technical Issues
      3. Implementation
        1. NetWare Migration Using LDAP Backend
          1. LDAP Server Configuration
  3. Reference Section
    1. Active Directory, Kerberos, and Security
      1. Introduction
        1. Assignment Tasks
      2. Dissection and Discussion
        1. Technical Issues
          1. Kerberos Exposed
      3. Implementation
        1. Share Access Controls
        2. Share Definition Controls
          1. Checkpoint Controls
          2. Override Controls
        3. Share Point Directory and File Permissions
        4. Managing Windows 200x ACLs
          1. Using the MMC Computer Management Interface
          2. Using MS Windows Explorer (File Manager)
          3. Setting Posix ACLs in UNIX/Linux
        5. Key Points Learned
      4. Questions and Answers
    2. Integrating Additional Services
      1. Introduction
        1. Assignment Tasks
      2. Dissection and Discussion
        1. Technical Issues
        2. Political Issues
      3. Implementation
        1. Removal of Pre-Existing Conflicting RPMs
        2. Kerberos Configuration
          1. Samba Configuration
          2. NSS Configuration
          3. Squid Configuration
        3. Configuration
        4. Key Points Learned
      4. Questions and Answers
    3. Performance, Reliability, and Availability
      1. Introduction
      2. Dissection and Discussion
      3. Guidelines for Reliable Samba Operation
        1. Name Resolution
          1. Bad Hostnames
          2. Routed Networks
          3. Network Collisions
        2. Samba Configuration
        3. Use and Location of BDCs
        4. Use One Consistent Version of MS Windows Client
        5. For Scalability, Use SAN-Based Storage on Samba Servers
        6. Distribute Network Load with MSDFS
        7. Replicate Data to Conserve Peak-Demand Wide-Area Bandwidth
        8. Hardware Problems
        9. Large Directories
      4. Key Points Learned
    4.  Samba Support
      1. Free Support
      2. Commercial Support
    5. A Collection of Useful Tidbits
      1. Joining a Domain: Windows 200x/XP Professional
      2. Samba System File Location
      3. Starting Samba
      4. DNS Configuration Files
        1. The Forward Zone File for the Loopback Adaptor
        2. The Reverse Zone File for the Loopback Adaptor
        3. DNS Root Server Hint File
      5. Alternative LDAP Database Initialization
        1. Initialization of the LDAP Database
      6. LDAP Account Manager
      7. IDEALX Management Console
      8. Effect of Setting File and Directory SUID/SGID Permissions Explained
      9. Shared Data Integrity
        1. Microsoft Access
        2. Act! Database Sharing
        3. Opportunistic Locking Controls
    6. Networking Primer
      1. Requirements and Notes
      2. Introduction
        1. Assignment Tasks
      3. Exercises
        1. Single-Machine Broadcast Activity
          1. Findings
        2. Second Machine Startup Broadcast Interaction
          1. Findings
        3. Simple Windows Client Connection Characteristics
          1. Findings and Comments
        4. Windows 200x/XP Client Interaction with Samba-3
          1. Discussion
        5. Conclusions to Exercises
      4. Dissection and Discussion
        1. Technical Issues
      5. Questions and Answers
  1. A. GNU General Public License
    1. Preamble
    2. Terms and Conditions for Copying, Distribution and Modification
      1. Section 0
      2. Section 1
      3. Section 2
      4. Section 3
      5. Section 4
      6. Section 5
      7. Section 6
      8. Section 7
      9. Section 8
      10. Section 9
      11. Section 10
      12. NO WARRANTY Section 11
      13. Section 12
    3. How to Apply These Terms to Your New Programs

Reviews

Samba-3 by Example

Reviewed by Roland Buresund

Very Good ******** (8 out of 10)

Last modified: March 23, 2022, 11:41 p.m.

A very good book that manages to balance the practical stuff with the underlying reasoning and explains it beautifully.

If you need to setup Samba or just understand Samba (or LAN Manager/X etc), this is an excellent starting point.

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

captcha

required