NEW TITLE RELEASE ANNOUNCEMENT
See the latest about a temporary release delay on new titles. Learn more.
"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."
http://www.samba.org/ Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients. Samba is freely available under the GNU General Public License.
http://www.cups.org/ The Common UNIX Printing System ("CUPS") is a cross-platform printing solution for all UNIX environments.
http://www.kde.org/ KDE is a powerful Open Source graphical desktop environment for Unix workstations. It combines ease of use, contemporary functionality, and outstanding graphical design with the technological superiority of the Unix operating system
http://sourceforge.net/ SourceForge.net is the world's largest Open Source software development website, with the largest repository of Open Source code and applications available on the Internet.
http://msdn.microsoft.com/ The Microsoft Developer Network (MSDN) is a set of online and offline services designed to help developers write applications using Microsoft products and technologies.
http://support.microsoft.com/ Microsoft's help and support centers.
http://www.linuxprinting.org/ LinuxPrinting.org provides resources to help with printing under free operating systems like GNU/Linux and the BSDs or under commercial UNIX-like systems such as Solaris and OS X.
http://www.easysw.com/printpro/ Cross-platform printing software.
http://www-124.ibm.com/linux/ IBM's Linux Technology Center.
http://publibn.boulder.ibm.com/ Information on accesssing IBM Software News Groups.
http://www.mandrakesoft.com/ MandrakeSoft, publisher of the popular Mandrake Linux operating system.
http://www.redhat.com/docs/manuals/enterprise/RHEL-AS-2.1-Manual/cluster-manager/ The Red Hat Cluster Manager Installation and Administration Guide.
Download the Sample
Chapter related to this title.
List Of Figures.
List Of Tables.
Preface and Introduction.
I. GENERAL INSTALLATION.1. How to Install and Test Samba.
Obtaining and Installing Samba. Configuring Samba (smb.conf ). List Shares Available on the Server. Connect with a UNIX Client. Connect from a Remote SMB Client. What If Things Don't Work? Common Errors.2. Fast Start: Cure for Impatience.
Features and Benefits. Description of Example Sites. Worked Examples.
II. SERVER CONFIGURATION BASICS.3. Server Types and Security Modes.
Features and Benefits. Server Types. Samba Security Modes. Password Checking. Common Errors.4. Domain Control.
Features and Benefits. Basics of Domain Control. Domain Control — Example Configuration. Samba ADS Domain Control. Domain and Network Logon Configuration. Common Errors.5. Backup Domain Control.
Features and Benefits. Essential Background Information. Backup Domain Controller Configuration. Common Errors.6. Domain Membership.
Features and Benefits. MS Windows Workstation/Server Machine Trust Accounts. Domain Member Server. Samba ADS Domain Membership. Sharing User ID Mappings between Samba Domain Members. Common Errors.7. Stand-Alone Servers.
Features and Benefits. Background. Example Configuration. Common Errors.8. MS Windows Network Configuration Guide.
Features and Benefits. Technical Details. Common Errors.
III. ADVANCED CONFIGURATION.9. Network Browsing.
Features and Benefits. What Is Browsing? Discussion. How Browsing Functions. WINS — The Windows Internetworking Name Server. Helpful Hints. Technical Overview of Browsing. Common Errors.10. Account Information Databases.
Features and Benefits. Technical Information. Account Management Tools. Password Backends. Common Errors.11. Group Mapping — MS Windows and UNIX.
Features and Benefits. Discussion. Configuration Scripts. Common Errors.12. File, Directory and Share Access Controls.
Features and Benefits. File System Access Controls. Share Definition Access Controls. Access Controls on Shares. MS Windows Access Control Lists and UNIX Interoperability. Common Errors.13. File and Record Locking.
Features and Benefits. Discussion. Samba Opportunistic Locking Control. MS Windows Opportunistic Locking and Caching Controls. Persistent Data Corruption. Common Errors. Additional Reading.14. Securing SAMBA.
Introduction. Features and Benefits. Technical Discussion of Protective Measures and Issues. Upgrading Samba. Common Errors.15. InterDomain Trust Relationships.
Features and Benefits. Trust Relationship Background. Native MS Windows NT4 Trusts Configuration. Configuring Samba NT-Style Domain Trusts. NT4-Style Domain Trusts with Windows 2000. Common Errors.16. Hosting A Microsoft Distributed File System Tree on SAMBA.
Features and Benefits. Common Errors.17. Classical Printing Support.
Features and Benefits. Technical Introduction. Simple Print Configuration. Extended Printing Configuration. Printing Developments Since Samba-2.2. Installing Drivers into [print$]. Client Driver Installation Procedure. Other Gotchas. The Imprints Toolset. Adding Network Printers without User Interaction. The addprinter Command. Migration of Classical Printing to Samba. Publishing Printer Information in Active Directory or LDAP. Common Errors.18. CUPS Printing Support.
Introduction. Basic CUPS Support Configuration. Advanced Configuration. Advanced Intelligent Printing with PostScript Driver Download. The CUPS Filtering Architecture. Network Printing (Purely Windows). Network Printing (Windows Clients — UNIX/Samba Print Servers). Network PostScript RIP: CUPS Filters on Server — Clients Use PostScript Driver with CUPS-PPDs. Windows Terminal Servers (WTS) as CUPS Clients. Configuring CUPS for Driver Download. Installing PostScript Driver Files Manually Using rpcclient. The Printing *.tdb Files. CUPS Print Drivers from Linuxprinting.org. Page Accounting with CUPS. Additional Material. Auto-Deletion or Preservation of CUPS Spool Files. Printing from CUPS to Windows Attached Printers. More CUPS-Filtering Chains. Common Errors. Overview of the CUPS Printing Processes.19. Stackable VFS Modules.
Features and Benefits. Discussion. Included Modules. VFS Modules Available Elsewhere.20. Winbind: Use of Domain Accounts.
Features and Benefits. Introduction. What Winbind Provides. How Winbind Works. Installation and Configuration. Conclusion. Common Errors.21. Advanced Network Management.
Features and Benefits. Remote Server Administration. Remote Desktop Management. Network Logon Script Magic.22. System and Account Policies.
Features and Benefits. Creating and Managing System Policies. Managing Account/User Policies. Management Tools. System Startup and Logon Processing Overview. Common Errors.23. Desktop Profile Management.
Features and Benefits. Roaming Profiles. Mandatory Profiles. Creating and Managing Group Profiles. Default Profile for Windows Users. Common Errors.24. PAM-Based Distributed Authentication.
Features and Benefits. Technical Discussion. Common Errors.25. Integrating MS Windows Networks With SAMBA.
Features and Benefits. Background Information. Name Resolution in a Pure UNIX/Linux World. Name Resolution as Used within MS Windows Networking. Common Errors.26. UNICODE/CHARSETS.
Features and Benefits. What Are Charsets and Unicode? Samba and Charsets. Conversion from Old Names. Japanese Charsets. Common Errors.27. Backup Techniques.
Features and Benefits. Discussion of Backup Solutions.28. High Availability.
Features and Benefits. Technical Discussion.
IV. MIGRATION AND UPDATING.29. Upgrading from SAMBA-2.X TO SAMBA-3.0.0.
Quick Migration Guide. New Features in Samba-3. Configuration Parameter Changes. New Functionality.30. Migration From NT4 PDC to SAMBA-3 PDC.
Planning and Getting Started. Migration Options.31. SWAT — The SAMBA Web Administration Tool.
Features and Benefits. Guidelines and Technical Tips. Overview and Quick Tour.
V. TROUBLESHOOTING.32. The SAMBA Checklist.
Introduction. Assumptions. The Tests.33. Analyzing and Solving SAMBA Problems.
Diagnostics Tools. Useful URLs. Getting Mailing List Help. How to Get Off the Mailing Lists.34. Reporting Bugs.
Introduction. General Information. Debug Levels. Internal Errors. Attaching to a Running Process. Patches.35. How to Compile SAMBA.
Access Samba Source Code via CVS. Accessing the Samba Sources via rsync and ftp. Verifying Samba's PGP Signature. Building the Binaries. Starting the smbd and nmbd.36. Portability.
HPUX. SCO UNIX. DNIX. Red Hat Linux. AIX. Solaris.37. SAMBA and Other CIFS Clients.
Macintosh Clients. OS2 Client. Windows for Workgroups. Windows 95/98. Windows 2000 Service Pack 2. Windows NT 3.1.38. SAMBA Performance Tuning.
Comparisons. Socket Options. Read Size. Max Xmit. Log Level. Read Raw. Write Raw. Slow Logins. Client Tuning. Samba Performance Problem Due to Changing Linux Kernel. Corrupt tdb Files.39. DNS and DHCP Configuration Guide.
Features and Benefits. Example Configuration.
VI. APPENDIXES.Appendix A: Manual Pages.
smb.conf. nmblookup. rpcclient. smbcacls. smbclient. net. nmbd. pdbedit. smbcquotas. smbd. smbpasswd. smbpasswd. smbstatus. smbtree. testparm. wbinfo. winbindd.Appendix B: The GNU General Public License.
This is a book about Samba. It is a tool, a derived work of the labors of many and of the diligence and goodwill of more than a few. This book contains material that has been contributed in a persistent belief that each of us can add value to our neighbors as well as to those who will follow us.
This book is designed to meet the needs of the Microsoft network administrator. UNIX administrators will benefit from this book also, though they may complain that it is hard to find the information they think they need. So if you are a Microsoft certified specialist, this book should meet your needs rather well. If you are a UNIX or Linux administrator, there is no need to feel badly you should have no difficulty finding answers to your current concerns also.What Is Samba?
Samba is a big, complex project. The Samba project is ambitious and exciting. The team behind Samba is a group of some thirty individuals who are spread the world over and come from an interesting range of backgrounds. This team includes scientists, engineers, programmers, business people, and students.
Team members were drawn into active participation through the desire to help deliver an exciting level of transparent interoperability between Microsoft Windows and the non-Microsoft information technology world.
The slogan that unites the efforts behind the Samba project says: Samba, Opening Windows to a Wider World! The goal behind the project is one of removing barriers to interoperability.
Samba provides file and print services for Microsoft Windows clients. These services may be hosted off any TCP/IP-enabled platform. The original deployment platforms were UNIX and Linux, though today it is in common use across a broad variety of systems.
The Samba project includes not only an impressive feature set in file and print serving capabilities, but has been extended to include client functionality, utilities to ease migration to Samba, tools to aid interoperability with Microsoft Windows, and adminstration tools.
The real people behind Samba are users like you. You have inspired the developers (the Samba Team) to do more than any of them imagined could or should be done. User feedback drives Samba development. Samba-3 in particular incorporates a huge amount of work done as a result of user requests, suggestions and direct code contributions.Why This Book?
There is admittedly a large number of Samba books on the market today and each book has its place. Despite the apparent plethora of books, Samba as a project continues to receive much criticism for failing to provide sufficient documentation. Samba is also criticized for being too complex and too difficult to configure. In many ways this is evidence of the success of Samba as there would be no complaints if it was not successful.
The Samba Team members work predominantly with UNIX and Linux, so it is hardly surprising that existing Samba documentation should reflect that orientation. The original HOWTO text documents were intended to provide some tips, a few golden nuggets, and if they helped anyone then that was just wonderful. But the HOWTOs lacked structure and context. They were isolated snapshots of information that were written to pass information on to someone else who might benefit. They reflected a need to transmit more information that could be conveniently put into manual pages.
The original HOWTO documents were written by different authors. Most HOWTO documents are the result of feedback and contributions from numerous authors. In this book we took care to preserve as much original content as possible. As you read this book you will note that chapters were written by multiple authors, each of whom has his own style. This demonstrates the nature of the Open Source software development process.
Out of the original HOWTO documents sprang a collection of unoffical HOWTO documents that are spread over the Internet. It is sincerely intended that this work will not replace the valuable unofficial HOWTO work that continues to flourish. If you are involved in unofficial HOWTOs then please continue your work!
Those of you who have dedicated your labors to the production of unofficial HOWTOs, to Web page information regarding Samba, or to answering questions on the mailing lists or elsewhere, may be aware that this is a labor of love. We would like to know about your contribution and willingly receive the precious perls of wisdom you have collected. Please email your contribution to John H. Terpstra (email@example.com).
As a service to other users we will gladly adopt material that is technically accurate.
Existing Samba books are largely addressed to the UNIX administrator. From the perspective of this target group the existing books serve an adequate purpose, with one exception - now that Samba-3 is out they need to be updated!
This book, the Official Samba-3 HOWTO and Reference Guide, includes the Samba-HOWTO-Collection.pdf that ships with Samba. These documents have been written with a new design intent and purpose.
Over the past two years many Microsoft network administrators have adopted Samba and have become interested in its deployment. Their information needs are very different from that of the UNIX administrator. This book has been arranged and the information presented from the perspective of someone with previous Microsoft Windows network administrative training and experience.Book Structure and Layout
This book is presented in six parts:
Designed to help you get Samba-3 running quickly. The Fast Start chapter is a direct response to requests from Microsoft network administrators for some sample configurations that just work.
The purpose of this section is to aid the transition from existing Microsoft Windows network knowledge to Samba terminology and norms. The chapters in this part each cover the installation of one type of Samba server.
The mechanics of network browsing have long been the Achilles heel of all Microsoft Windows users. Samba-3 introduces new user and machine account management facilities, a new way to map UNIX groups and Windows groups, Interdomain trusts, new loadable file system drivers (VFS), and more. New with this document is expanded printing documentation, as well as a wealth of information regarding desktop and user policy handling, use of desktop profiles, and techniques for enhanced network integration. This section makes up the core of the book. Read and enjoy.
A much requested addition to the book is information on how to migrate from Microsoft Windows NT4 to Samba-3, as well as an overview of what the issues are when moving from Samba-2.x to Samba-3.
This short section should help you when all else fails.
Here you will find a collection of things that are either too peripheral for most users, or are a little left of field to be included in the main body of information.
Welcome to Samba-3 and the first published document to help you and your users to enjoy a whole new world of interoperability between Microsoft Windows and the rest of the world.
Download the Index
file related to this title.