Book description
"The breadth of technical information provided in this book
ensures that even the most demanding of administrators will find
something they need."
--Andrew Tridgell, President of the Samba Team and the original
author of Samba
The practical, authoritative, step-by-step guide to cutting IT costs with Samba-3!
This is the definitive guide to using Samba-3 in production environments. It begins with the immense amount of HOWTO information published by the Samba Team and volunteers around the world . . . but that's just the beginning. The book's Samba Team editors have organized and edited this material around the practical needs of working Windows(R) administrators. UNIX(R)/Linux administrators will find all the answers they need as well.
Whether you're deploying Samba for the first time, integrating Samba into a Windows 200x Active Directory environment, migrating from NT 4 or Samba 2.x, or using Samba in a UNIX/Linux environment, you'll find step-by-step solutions, carefully edited for accuracy, practicality, and clarity. You'll learn all you need to make intelligent deployment decisions, get running fast, and use Samba-3's powerful new features to maximize performance and minimize cost.
Step-by-step installation techniques and proven configurations that work "right out of the box."
Essential Samba-3 information that leverages your Windows networking knowledge
Detailed coverage of Samba-3's powerful new user/machine account management, network browsing, and mapping capabilities
Authoritative explanations of advanced features such as interdomain trusts and loadable VFS file system drivers
Clear information on how Samba-3 handles Windows desktop/user policies and profiles
Practical techniques for optimizing network printing
Specific guidance for migration from Windows NT 4 or Samba 2.x
Troubleshooting techniques that draw on the knowledge of the entire Samba community
Table of contents
- Copyright
- Praise for The Official Samba-3 HOWTO and Reference Guide
- Bruce Perens’ Open Source Series
- Attribution
- Abstract
- Foreword
- List of Figures
- List of Tables
-
I. General Installation
- Preface and Introduction
- 1. How to Install and Test Samba
- 2. Fast Start: Cure for Impatience
-
II. Server Configuration Basics
-
3. Server Types and Security Modes
- 3.1. Features and Benefits
- 3.2. Server Types
- 3.3. Samba Security Modes
- 3.4. Password Checking
- 3.5. Common Errors
-
4. Domain Control
- 4.1. Features and Benefits
- 4.2. Basics of Domain Control
- 4.3. Domain Control — Example Configuration
- 4.4. Samba ADS Domain Control
- 4.5. Domain and Network Logon Configuration
-
4.6. Common Errors
- 4.6.1. “$” Cannot Be Included in Machine Name
- 4.6.2. Joining Domain Fails Because of Existing Machine Account
- 4.6.3. The System Cannot Log You On (C000019B)
- 4.6.4. The Machine Trust Account Is Not Accessible
- 4.6.5. Account Disabled
- 4.6.6. Domain Controller Unavailable
- 4.6.7. Cannot Log onto Domain Member Workstation After Joining Domain
-
5. Backup Domain Control
- 5.1. Features and Benefits
- 5.2. Essential Background Information
- 5.3. Backup Domain Controller Configuration
- 5.4. Common Errors
-
6. Domain Membership
- 6.1. Features and Benefits
- 6.2. MS Windows Workstation/Server Machine Trust Accounts
- 6.3. Domain Member Server
- 6.4. Samba ADS Domain Membership
- 6.5. Sharing User ID Mappings between Samba Domain Members
- 6.6. Common Errors
- 7. Stand-Alone Servers
- 8. MS Windows Network Configuration Guide
-
3. Server Types and Security Modes
-
III. Advanced Configuration
-
9. Network Browsing
- 9.1. Features and Benefits
- 9.2. What Is Browsing?
- 9.3. Discussion
-
9.4. How Browsing Functions
- 9.4.1. Configuring WORKGROUP Browsing
- 9.4.2. DOMAIN Browsing Configuration
- 9.4.3. Forcing Samba to Be the Master
- 9.4.4. Making Samba the Domain Master
- 9.4.5. Note about Broadcast Addresses
- 9.4.6. Multiple Interfaces
- 9.4.7. Use of the Remote Announce Parameter
- 9.4.8. Use of the Remote Browse Sync Parameter
- 9.5. WINS — The Windows Internetworking Name Server
- 9.6. Helpful Hints
- 9.7. Technical Overview of Browsing
- 9.8. Common Errors
-
10. Account Information Databases
- 10.1. Features and Benefits
- 10.2. Technical Information
- 10.3. Account Management Tools
-
10.4. Password Backends
- 10.4.1. Plaintext
- 10.4.2. smbpasswd — Encrypted Password Database
- 10.4.3. tdbsam
-
10.4.4. ldapsam
- 10.4.4.1. Supported LDAP Servers
- 10.4.4.2. Schema and Relationship to the RFC 2307 posixAccount
- 10.4.4.3. OpenLDAP Configuration
- 10.4.4.4. Initialize the LDAP Database
- 10.4.4.5. Configuring Samba
- 10.4.4.6. Accounts and Groups Management
- 10.4.4.7. Security and sambaSamAccount
- 10.4.4.8. LDAP Special Attributes for sambaSamAccounts
- 10.4.4.9. Example LDIF Entries for a sambaSamAccount
- 10.4.4.10. Password Synchronization
- 10.4.5. MySQL
- 10.4.6. XML
- 10.5. Common Errors
- 11. Group Mapping — MS Windows and Unix
-
12. File, Directory and Share Access Controls
- 12.1. Features and Benefits
- 12.2. File System Access Controls
- 12.3. Share Definition Access Controls
- 12.4. Access Controls on Shares
-
12.5. MS Windows Access Control Lists and UNIX Interoperability
- 12.5.1. Managing UNIX Permissions Using NT Security Dialogs
- 12.5.2. Viewing File Security on a Samba Share
- 12.5.3. Viewing File Ownership
- 12.5.4. Viewing File or Directory Permissions
- 12.5.5. Modifying File or Directory Permissions
- 12.5.6. Interaction with the Standard Samba “create mask” Parameters
- 12.5.7. Interaction with the Standard Samba File Attribute Mapping
- 12.6. Common Errors
-
13. File and Record Locking
- 13.1. Features and Benefits
-
13.2. Discussion
-
13.2.1. Opportunistic Locking Overview
- 13.2.1.1. Exclusively Accessed Shares
- 13.2.1.2. Multiple-Accessed Shares or Files
- 13.2.1.3. UNIX or NFS Client-Accessed Files
- 13.2.1.4. Slow and/or Unreliable Networks
- 13.2.1.5. Multi-User Databases
- 13.2.1.6. PDM Data Shares
- 13.2.1.7. Beware of Force User
- 13.2.1.8. Advanced Samba Opportunistic Locking Parameters
- 13.2.1.9. Mission-Critical High-Availability
-
13.2.1. Opportunistic Locking Overview
- 13.3. Samba Opportunistic Locking Control
- 13.4. MS Windows Opportunistic Locking and Caching Controls
- 13.5. Persistent Data Corruption
- 13.6. Common Errors
- 13.7. Additional Reading
- 14. Securing Samba
- 15. Interdomain Trust Relationships
- 16. Hosting a Microsoft Distributed File System Tree
-
17. Classical Printing Support
- 17.1. Features and Benefits
- 17.2. Technical Introduction
- 17.3. Simple Print Configuration
- 17.4. Extended Printing Configuration
- 17.5. Printing Developments Since Samba-2.2
-
17.6. Installing Drivers into [print$]
- 17.6.1. Add Printer Wizard Driver Installation
-
17.6.2. Installing Print Drivers Using rpcclient
- 17.6.2.1. Identifying Driver Files
- 17.6.2.2. Obtaining Driver Files from Windows Client [print$] Shares
- 17.6.2.3. Installing Driver Files into [print$]
- 17.6.2.4. smbclient to Confirm Driver Installation
- 17.6.2.5. Running rpcclient with adddriver
- 17.6.2.6. Checking adddriver Completion
- 17.6.2.7. Check Samba for Driver Recognition
- 17.6.2.8. Specific Driver Name Flexibility
- 17.6.2.9. Running rpcclient with the setdriver
- 17.7. Client Driver Installation Procedure
-
17.8. Other Gotchas
- 17.8.1. Setting Default Print Options for Client Drivers
- 17.8.2. Supporting Large Numbers of Printers
- 17.8.3. Adding New Printers with the Windows NT APW
- 17.8.4. Error Message: “Cannot connect under a different Name”
- 17.8.5. Take Care When Assembling Driver Files
- 17.8.6. Samba and Printer Ports
- 17.8.7. Avoiding Common Client Driver Misconfiguration
- 17.9. The Imprints Toolset
- 17.10. Adding Network Printers without User Interaction
- 17.11. The addprinter Command
- 17.12. Migration of Classical Printing to Samba
- 17.13. Publishing Printer Information in Active Directory or LDAP
- 17.14. Common Errors
-
18. Cups Printing Support
- 18.1. Introduction
- 18.2. Basic CUPS Support Configuration
- 18.3. Advanced Configuration
-
18.4. Advanced Intelligent Printing with PostScript Driver Download
- 18.4.1. GDI on Windows – PostScript on UNIX
- 18.4.2. Windows Drivers, GDI and EMF
- 18.4.3. UNIX Printfile Conversion and GUI Basics
- 18.4.4. PostScript and Ghostscript
- 18.4.5. Ghostscript — the Software RIP for Non-PostScript Printers
- 18.4.6. PostScript Printer Description (PPD) Specification
- 18.4.7. Using Windows-Formatted Vendor PPDs
- 18.4.8. CUPS Also Uses PPDs for Non-PostScript Printers
-
18.5. The CUPS Filtering Architecture
- 18.5.1. MIME Types and CUPS Filters
- 18.5.2. MIME Type Conversion Rules
- 18.5.3. Filtering Overview
- 18.5.4. Prefilters
- 18.5.5. pstops
- 18.5.6. pstoraster
- 18.5.7. imagetops and imagetoraster
- 18.5.8. rasterto [printers specific]
- 18.5.9. CUPS Backends
- 18.5.10. The Role of cupsomatic/foomatic
- 18.5.11. The Complete Picture
- 18.5.12. mime.convs
- 18.5.13. “Raw” Printing
- 18.5.14. application/octet-stream Printing
- 18.5.15. PostScript Printer Descriptions (PPDs) for Non-PS Printers
- 18.5.16. cupsomatic/foomatic-rip Versus native CUPS Printing
- 18.5.17. Examples for Filtering Chains
- 18.5.18. Sources of CUPS Drivers/PPDs
- 18.5.19. Printing with Interface Scripts
- 18.6. Network Printing (Purely Windows)
- 18.7. Network Printing (Windows Clients — UNIX/Samba Print Servers)
- 18.8. Network PostScript RIP
- 18.9. Windows Terminal Servers (WTS) as CUPS Clients
-
18.10. Configuring CUPS for Driver Download
- 18.10.1. cupsaddsmb: The Unknown Utility
- 18.10.2. Prepare Your smb.conf for cupsaddsmb
- 18.10.3. CUPS “PostScript Driver for Windows NT/200x/XP”
- 18.10.4. Recognizing Different Driver Files
- 18.10.5. Acquiring the Adobe Driver Files
- 18.10.6. ESP Print Pro PostScript Driver for Windows NT/200x/XP
- 18.10.7. Caveats to be Considered
- 18.10.8. Windows CUPS PostScript Driver Versus Adobe Driver
- 18.10.9. Run cupsaddsmb (Quiet Mode)
- 18.10.10. Run cupsaddsmb with Verbose Output
- 18.10.11. Understanding cupsaddsmb
- 18.10.12. How to Recognize If cupsaddsmb Completed Successfully
- 18.10.13. cupsaddsmb with a Samba PDC
- 18.10.14. cupsaddsmb Flowchart
- 18.10.15. Installing the PostScript Driver on a Client
- 18.10.16. Avoiding Critical PostScript Driver Settings on the Client
- 18.11. Installing PostScript Driver Files Manually Using rpcclient
- 18.12. The Printing *.tdb Files
-
18.13. CUPS Print Drivers from Linuxprinting.org
-
18.13.1. foomatic-rip and Foomatic Explained
- 18.13.1.1. 690 “Perfect” Printers
- 18.13.1.2. How the Printing HOWTO Started It All
- 18.13.1.3. Foomatic’s Strange Name
- 18.13.1.4. cupsomatic, pdqomatic, lpdomatic, directomatic
- 18.13.1.5. The Grand Unification Achieved
- 18.13.1.6. Driver Development Outside
- 18.13.1.7. Forums, Downloads, Tutorials, Howtos — also for Mac OS X and Commercial UNIX
- 18.13.1.8. Foomatic Database-Generated PPDs
- 18.13.2. foomatic-rip and Foomatic-PPD Download and Installation
-
18.13.1. foomatic-rip and Foomatic Explained
- 18.14. Page Accounting with CUPS
- 18.15. Additional Material
- 18.16. Auto-Deletion or Preservation of CUPS Spool Files
- 18.17. Printing from CUPS to Windows Attached Printers
- 18.18. More CUPS-Filtering Chains
-
18.19. Common Errors
- 18.19.1. Windows 9x/ME Client Can’t Install Driver
- 18.19.2. “cupsaddsmb” Keeps Asking for Root Password in Never-ending Loop
- 18.19.3. “cupsaddsmb” Errors
- 18.19.4. Client Can’t Connect to Samba Printer
- 18.19.5. New Account Reconnection from Windows 200x/XP Troubles
- 18.19.6. Avoid Being Connected to the Samba Server as the Wrong User
- 18.19.7. Upgrading to CUPS Drivers from Adobe Drivers
- 18.19.8. Can’t Use “cupsaddsmb” on Samba Server Which Is a PDC
- 18.19.9. Deleted Windows 200x Printer Driver Is Still Shown
- 18.19.10. Windows 200x/XP ”Local Security Policies”
- 18.19.11. Administrator Cannot Install Printers for All Local Users
- 18.19.12. Print Change Notify Functions on NT-clients
- 18.19.13. WinXP-SP1
- 18.19.14. Print Options for All Users Can’t Be Set on Windows 200x/XP
- 18.19.15. Most Common Blunders in Driver Settings on Windows Clients
- 18.19.16. cupsaddsmb Does Not Work with Newly Installed Printer
- 18.19.17. Permissions on /var/spool/samba/ Get Reset After Each Reboot
- 18.19.18. Print Queue Called “lp” Mis-handles Print Jobs
- 18.19.19. Location of Adobe PostScript Driver Files for “cupsaddsmb”
- 18.20. Overview of the CUPS Printing Processes
- 19. Stackable VFS Modules
-
20. Winbind: Use of Domain Accounts
- 20.1. Features and Benefits
- 20.2. Introduction
- 20.3. What Winbind Provides
- 20.4. How Winbind Works
-
20.5. Installation and Configuration
- 20.5.1. Introduction
- 20.5.2. Requirements
-
20.5.3. Testing Things Out
- 20.5.3.1. Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris
- 20.5.3.2. NSS Winbind on AIX
- 20.5.3.3. Configure smb.conf
- 20.5.3.4. Join the Samba Server to the PDC Domain
- 20.5.3.5. Starting and Testing the winbindd Daemon
- 20.5.3.6. Fix the init.d Startup Scripts
- 20.5.3.7. Configure Winbind and PAM
- 20.6. Conclusion
- 20.7. Common Errors
- 21. Advanced Network Management
- 22. System and Account Policies
-
23. Desktop Profile Management
- 23.1. Features and Benefits
- 23.2. Roaming Profiles
- 23.3. Mandatory Profiles
- 23.4. Creating and Managing Group Profiles
- 23.5. Default Profile for Windows Users
- 23.6. Common Errors
- 24. Pam-Based Distributed Authentication
- 25. Integrating MS Windows Networks With Samba
- 26. Unicode/Charsets
- 27. Backup Techniques
-
28. High Availability
- 28.1. Features and Benefits
-
28.2. Technical Discussion
- 28.2.1. The Ultimate Goal
-
28.2.2. Why Is This So Hard?
- 28.2.2.1. The Front-End Challenge
- 28.2.2.2. De-multiplexing SMB Requests
- 28.2.2.3. The Distributed File System Challenge
- 28.2.2.4. Restrictive Contraints on Distributed File Systems
- 28.2.2.5. Server Pool Communications
- 28.2.2.6. Server Pool Communications Demands
- 28.2.2.7. Required Modifications to Samba
- 28.2.3. A Simple Solution
- 28.2.4. High Availability Server Products
- 28.2.5. MS-DFS: The Poor Man’s Cluster
- 28.2.6. Conclusions
-
9. Network Browsing
-
IV. Migration and Updating
- 29. Upgrading From Samba-2.X to Samba-3.0.0
- 30. Migration From NT4 PDC to Samba-3 PDC
- 31. SWAT — The Samba Web Administration Tool
- V. Troubleshooting
-
VI. Appendixes
- 35. How to Compile Samba
- 36. Portability
- 37. Samba and Other CIFS Clients
- 38. Samba Performance Tuning
- 39. DNS and DHCP Configuration Guide
-
A. Manual Pages
- A.1. smb.conf
- A.2. nmblookup
- A.3. rpcclient
- A.4. smbcacls
- A.5. smbclient
-
A.6. net
- Synopsis
- Description
- Options
-
Commands
- Changesecretpw
- Time
- [RPC|ADS] Join [TYPE] [-U username[%password]] [options]
- [RPC] Oldjoin [options]
- [RPC|ADS] User
- [RPC|ADS] Group
- [RAP|RPC] Share
- [RPC|RAP] File
- [RAP|RPC] File User
- Session
- RAP DOMAIN
- RAP PRINTQ
- RAP GROUPMEMBER
- RAP SERVICE
- LOOKUP
- CACHE
- GETLOCALSID [DOMAIN]
- SETLOCALSID S-1-5-21-x-y-z
- GROUPMAP
- MAXRID
- RPC INFO
- [RPC|ADS] TESTJOIN
- [RPC|ADS] CHANGETRUSTPW
- RPC TRUSTDOM
- RPC ABORTSHUTDOWN
- SHUTDOWN [-t timeout] [-r] [-f] [-C message]
- SAMDUMP
- VAMPIRE
- GETSID
- ADS LEAVE
- ADS STATUS
- ADS PRINTER
- ADS Search EXPRESSION ATTRIBUTES...
- ADS DN DN (attributes)
- WORKGROUP
- HELP [COMMAND]
- A.7. nmbd
- A.8. pdbedit
- A.9. smbcquotas
- A.10. smbd
- A.11. smbpasswd
- A.12. smbpasswd
- A.13. smbstatus
- A.14. smbtree
- A.15. testparm
- A.16. wbinfo
- A.17. winbindd
- B. The GNU General Public License
- Glossary
Product information
- Title: Official Samba-3 HOWTO and Reference Guide, The
- Author(s):
- Release date: October 2003
- Publisher(s): Pearson
- ISBN: 9780131453555
You might also like
book
Official Samba-3 HOWTO and Reference Guide, The, Second Edition
Fully Updated to Reflect Major Improvements and Configuration Changes in Samba-3.0.11 through 3.0.20+! You’ve deployed Samba: …
book
Microsoft® Windows® 2000 Security Handbook
Windows 2000 Security Handbook covers NTFS fault tolerance, Kerberos authentication, Windows 2000 intruder detection and writing …
book
CCSP Self-Study: CCSP SNRS Exam Certification Guide
Official self-study test preparation guide for the Cisco SNRS exam 642-502 Attack threats Router management and …
book
CompTIA Linux+/LPIC-1 Portable Command Guide: All the commands for the CompTIA LX0-103 & LX0-104 and LPI 101-400 & 102-400 exams in one compact,
Here are all the CompTIA Linux+/LPIC-1 Linux commands you need in one condensed, portable resource. The …