Synopses & Reviews
Samba is a cross-platform triumph: it turns a Unix or Linux system into a file and print server for Microsoft Windows network clients. Samba is so robust, flexible, fast, and secure that many people are choosing it over Windows NT/2000/XP for their file and print services. Samba is also free software, licensed under the GNU General Public License.
This book will help you make file and print sharing as robust, powerful, and efficient as possible. The authors delve into the internals of the Windows activities and protocols to an unprecedented degree, explaining the strengths and weaknesses of each feature in Windows domains and in Samba itself.
Using Samba takes you from basic installation and configuration on both the client and server side, for a wide range of systems to subtle details of security, cross-platform compatibility, and resource discovery that make the difference between whether a user sees the folder they expect or a cryptic error message.
The range of this book knows few bounds. Wondering how to integrate Samba's authentication with that of a Windows PDC? How to get Samba to serve Microsoft Dfs shares? How to share files on Mac OS X? These and a dozen other issues of interest to system administrators are covered. A whole chapter is dedicated to troubleshooting.
Whether you're playing on one note or a full three-octave range, on your personal computer or an enterprise network, Using Samba will give you an efficient and secure server.
Synopsis
"Using Samba, Second Edition is a comprehensive guide to Samba administration. This new edition covers all versions of Samba from 2.0 to 2.2, including selected features from an alpha version of 3.0, as well as the SWAT graphical configuration tool. Updated for Windows 2000, ME, and XP, the book also explores Samba's new role as a primary domain controller and domain member server, its support for the use of Windows NT/2000/XP authentication and filesystem security on the host Unix system, and accessing shared files and printers from Unix clients. In "Using Samba, you'll begin with an introduction to Windows networking concepts that will help you quickly understand how it works, how it is similar to Unix networking, and how it differs. The first chapters will guide you through the process of installing Samba, configuring Windows clients, and implementing a Windows domain. Subsequent chapters show you how to configure additional services and fine-tune the operation of the Samba server. Anyone who manages a network that has both Unix (including Mac OS X) and Windows systems will want to read this book.
About the Author
Jay Ts is a system administrator and programmer with many years of experience working with several versions of Unix and other operating systems. Nowadays he works as an independent consultant out of his home in Sedona, Arizona. When he is not busy reading the Samba mailing lists and learning about new computer technology, Jay might be analyzing stock market behavior, meditating, playing around in his recording studio, or hiking in the wilderness near his home.
Robert Eckstein worked as an editor at O'Reilly mostly on Java books (notably Java Swing) and was also responsible for the XML Pocket Reference and Webmaster in a Nutshell, 2nd Edition. In his spare time he has been known to provide online coverage for popular conferences. Robert holds bachelor's degrees in computer science and communications from Trinity University. In the past, he has worked for the USAA insurance company and more recently spent four years with Motorola's cellular software division. He is the co-author of Using Samba.
David Collier-Brown is a consulting systems integrator, currently working for the performance and engineering group at Sun Opcom in Toronto. He is also co-author of the first edition of Using Samba. In his spare time he reads assiduously, keeps score for his wife's baseball team and, in the two weeks of the local summer, sails from Toronto's outer harbor.
Table of Contents
Preface; Audience for This Book; Organization; Conventions Used in This Book; How to Contact Us; Acknowledgments; Chapter 1: Learning the Samba; 1.1 What Is Samba?; 1.2 What Can Samba Do for Me?; 1.3 Getting Familiar with an SMB Network; 1.4 An Introduction to the SMB Protocol; 1.5 Windows Workgroups and Domains; 1.6 What's New in Samba 2.2?; 1.7 What's New in Samba 3.0?; 1.8 What Can Samba Do?; 1.9 An Overview of the Samba Distribution; 1.10 How Can I Get Samba?; Chapter 2: Installing Samba on a Unix System; 2.1 Bundled Versions; 2.2 Downloading the Samba Distribution; 2.3 Configuring Samba; 2.4 Compiling and Installing Samba; 2.5 Enabling SWAT; 2.6 A Basic Samba Configuration File; 2.7 Firewall Configuration; 2.8 Starting the Samba Daemons; 2.9 Testing the Samba Daemons; Chapter 3: Configuring Windows Clients; 3.1 Windows Networking Concepts; 3.2 Setting Up Windows 95/98/Me Computers; 3.3 Setting Up Windows NT 4.0 Computers; 3.4 Setting Up Windows 2000 Computers; 3.5 Setting Up Windows XP Computers; Chapter 4: Windows NT Domains; 4.1 Samba as the Primary Domain Controller; 4.2 Adding Computer Accounts; 4.3 Configuring Windows Clients for Domain Logons; 4.4 Logon Scripts; 4.5 Roaming Profiles; 4.6 System Policies; 4.7 Samba as a Domain Member Server; 4.8 Windows NT Domain Options; Chapter 5: Unix Clients; 5.1 Sharing Files on Windows 95/98/Me; 5.2 Sharing Files on Windows NT/2000/XP; 5.3 smbclient; 5.4 smbfs; 5.5 smbsh; 5.6 smbutil and mount_smbfs; Chapter 6: The Samba Configuration File; 6.1 The Samba Configuration File; 6.2 Special Sections; 6.3 Configuration Options; 6.4 Server Configuration; 6.5 Disk Share Configuration; 6.6 Networking Options with Samba; 6.7 Virtual Servers; 6.8 Logging Configuration Options; Chapter 7: Name Resolution and Browsing; 7.1 Name Resolution; 7.2 Browsing; Chapter 8: Advanced Disk Shares; 8.1 Filesystem Differences; 8.2 File Permissions and Attributes on MS-DOS and Unix; 8.3 Windows NT/2000/XP ACLs; 8.4 Name Mangling and Case; 8.5 Locks and Oplocks; 8.6 Connection Scripts; 8.7 Microsoft Distributed Filesystems; 8.8 Working with NIS; Chapter 9: Users and Security; 9.1 Users and Groups; 9.2 Controlling Access to Shares; 9.3 Authentication of Clients; 9.4 Passwords; 9.5 Authentication with winbind; Chapter 10: Printing; 10.1 Sending Print Jobs to Samba; 10.2 Printing to Windows Printers; Chapter 11: Additional Samba Information; 11.1 Time Synchronization; 11.2 Magic Scripts; 11.3 Internationalization; 11.4 Windows Messenger Service; 11.5 Miscellaneous Options; Chapter 12: Troubleshooting Samba; 12.1 The Tool Box; 12.2 The Fault Tree; 12.3 Extra Resources; Example Configuration Files; Samba in a Workgroup; Samba in a Windows NT Domain; Samba Configuration Option Quick Reference; Configuration File Options; Glossary of Configuration Value Types; Configuration File Variables; Summary of Samba Daemons and Commands; Samba Daemons; smbd; nmbd; winbindd; Samba Distribution Programs; findsmb; make_smbcodepage; make_unicodemap; net; nmblookup; pdbedit; rpcclient; rpcclient commands; smbcacls; smbclient; smbcontrol; smbgroupedit; smbmnt; smbmount; smbpasswd; smbsh; smbspool; smbstatus; smbtar; smbumount; testparm; testprns; wbinfo; Downloading Samba with CVS; Configure Options; Running Samba on Mac OS X Server; Setup Procedures; Configuration Details; Rolling Your Own; GNU Free Documentation License; GNU Free Documentation License; Colophon;