Using Samba, Second Edition Is a Comprehensive Guide to Samba Administration
Total Page:16
File Type:pdf, Size:1020Kb
• Table of Contents • Index • Reviews • Reader Reviews • Errata Using Samba, 2nd Edition By David Collier-Brown, Robert Eckstein, Jay Ts Publisher: O'Reilly Pub Date: February 2003 ISBN: 0-596-00256-4 Pages: 556 Slots: 1 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. • Table of Contents • Index • Reviews • Reader Reviews • Errata Using Samba, 2nd Edition By David Collier-Brown, Robert Eckstein, Jay Ts Publisher: O'Reilly Pub Date: February 2003 ISBN: 0-596-00256-4 Pages: 556 Slots: 1 Copyright Preface Audience for This Book Organization Conventions Used in This Book How to Contact Us Acknowledgments Chapter 1. Learning the Samba Section 1.1. What Is Samba? Section 1.2. What Can Samba Do for Me? Section 1.3. Getting Familiar with an SMB Network Section 1.4. An Introduction to the SMB Protocol Section 1.5. Windows Workgroups and Domains Section 1.6. What's New in Samba 2.2? Section 1.7. What's New in Samba 3.0? Section 1.8. What Can Samba Do? Section 1.9. An Overview of the Samba Distribution Section 1.10. How Can I Get Samba? Chapter 2. Installing Samba on a Unix System Section 2.1. Bundled Versions Section 2.2. Downloading the Samba Distribution Section 2.3. Configuring Samba Section 2.4. Compiling and Installing Samba Section 2.5. Enabling SWAT Section 2.6. A Basic Samba Configuration File Section 2.7. Firewall Configuration Section 2.8. Starting the Samba Daemons Section 2.9. Testing the Samba Daemons Chapter 3. Configuring Windows Clients Section 3.1. Windows Networking Concepts Section 3.2. Setting Up Windows 95/98/Me Computers Section 3.3. Setting Up Windows NT 4.0 Computers Section 3.4. Setting Up Windows 2000 Computers Section 3.5. Setting Up Windows XP Computers Chapter 4. Windows NT Domains Section 4.1. Samba as the Primary Domain Controller Section 4.2. Adding Computer Accounts Section 4.3. Configuring Windows Clients for Domain Logons Section 4.4. Logon Scripts Section 4.5. Roaming Profiles Section 4.6. System Policies Section 4.7. Samba as a Domain Member Server Section 4.8. Windows NT Domain Options Chapter 5. Unix Clients Section 5.1. Sharing Files on Windows 95/98/Me Section 5.2. Sharing Files on Windows NT/2000/XP Section 5.3. smbclient Section 5.4. smbfs Section 5.5. smbsh Section 5.6. smbutil and mount_smbfs Chapter 6. The Samba Configuration File Section 6.1. The Samba Configuration File Section 6.2. Special Sections Section 6.3. Configuration Options Section 6.4. Server Configuration Section 6.5. Disk Share Configuration Section 6.6. Networking Options with Samba Section 6.7. Virtual Servers Section 6.8. Logging Configuration Options Chapter 7. Name Resolution and Browsing Section 7.1. Name Resolution Section 7.2. Browsing Chapter 8. Advanced Disk Shares Section 8.1. Filesystem Differences Section 8.2. File Permissions and Attributes on MS-DOS and Unix Section 8.3. Windows NT/2000/XP ACLs Section 8.4. Name Mangling and Case Section 8.5. Locks and Oplocks Section 8.6. Connection Scripts Section 8.7. Microsoft Distributed Filesystems Section 8.8. Working with NIS Chapter 9. Users and Security Section 9.1. Users and Groups Section 9.2. Controlling Access to Shares Section 9.3. Authentication of Clients Section 9.4. Passwords Section 9.5. Authentication with winbind Chapter 10. Printing Section 10.1. Sending Print Jobs to Samba Section 10.2. Printing to Windows Printers Chapter 11. Additional Samba Information Section 11.1. Time Synchronization Section 11.2. Magic Scripts Section 11.3. Internationalization Section 11.4. Windows Messenger Service Section 11.5. Miscellaneous Options Chapter 12. Troubleshooting Samba Section 12.1. The Tool Box Section 12.2. The Fault Tree Section 12.3. Extra Resources Appendix A. Example Configuration Files Section A.1. Samba in a Workgroup Section A.2. Samba in a Windows NT Domain Appendix B. Samba Configuration Option Quick Reference Section B.1. Configuration File Options abort shutdown script = command add printer command = command add machine script = command add share command = command add user script = command admin users = user list ads server = value algorithmic rid base = number allow hosts = host list allow trusted domains = boolean announce as = value announce version = value auth methods = list auto services = service list available = boolean bind interfaces only = boolean block size = number blocking locks = boolean browsable = boolean browse list = boolean browseable = boolean case sensitive = boolean casesignames = boolean change notify timeout = number change share command = command character set = name client code page = name code page directory = directory coding system = value comment = string config file = filename copy = section name create mask = value create mode = value csc policy = value deadtime = number debug hires timestamp = boolean debug pid = boolean debug timestamp = boolean debug uid = boolean debuglevel = number default = service name default case = value default devmode = boolean default service = share name delete printer command = command delete readonly = boolean delete share command = command delete user script = command delete veto files = boolean deny hosts = host list dfree command = command directory = directory directory mask = value directory mode = value directory security mask = value disable spools = boolean dns proxy = boolean domain admin group = user list domain guest group = user/group list domain logons = boolean domain master = boolean dont descend = list dos filemode = boolean dos filetime resolution = boolean dos filetimes = boolean encrypt passwords = boolean enhanced browsing = boolean enumports command = command exec = command fake directory create times = boolean fake oplocks = boolean follow symlinks = boolean force create mode = value force directory mode = value force directory security mode = value force group = value force security mode = value force unknown acl user = boolean force user = value fstype = string getwd cache = boolean group = value guest account = value guest ok = boolean guest only = boolean hide dot files = boolean hide files = slash-separated list hide local users = boolean hide unreadable = boolean homedir map = name host msdfs = boolean hosts allow = host list hosts deny = host list hosts equiv = filename include = filename inherit acls = boolean inherit permissions = boolean interfaces = interface list invalid users = user list keepalive = number kernel oplocks = boolean lanman auth = boolean large readwrite = boolean ldap admin dn = string ldap filter = string ldap port = number ldap server = value ldap ssl = value ldap suffix = string level2 oplocks = boolean lm announce = value lm interval = number load printers = boolean local master = boolean lock dir = directory lock directory = directory lock spin count = number lock spin time = number locking = boolean log file = filename log level = number logon drive = value logon home = directory logon path = directory logon script = directory lppause command = command lpq cache time = number lpq command = command lpresume command = command lprm command = command machine password timeout = number magic output = filename magic script = filename mangle case = boolean mangled map = map list mangled names = boolean mangled stack = number mangling char = character mangling method = string map archive = boolean map hidden = boolean map system = boolean map to guest = value max connections = number max disk size = number max log size = number max mux = number max open files = number max print jobs = number max protocol = name max smbd processes = number max ttl = number max wins ttl = number max xmit = number message command = command min passwd length = number min password length = number min print space = number min protocol = name min wins ttl = number msdfs root = boolean name resolve order = list netbios aliases = list netbios name = value netbios scope = string nis homedir = boolean non unix account range = numeric range nt acl support = boolean nt pipe support = boolean nt smb support = boolean nt status support = boolean null passwords = boolean obey pam restrictions = boolean only guest = boolean only user = boolean oplock break wait time = number oplock contention limit = number oplocks = boolean os level = number os2 driver map = filename pam password change = boolean panic action = command passdb backend = list passwd chat = string passwd chat debug = boolean passwd program = command password level = number password server = list path = directory pid directory = directory posix locking = boolean postexec = command postscript = boolean preexec = command preexec close = boolean preferred master = boolean prefered master = boolean preload = service list preserve case = boolean printable = boolean printcap name = filename print command = command printer = name printer admin = user list printer driver = name printer driver file = filename printer driver location = directory printer name = name printing = value print ok = boolean private directory = directory protocol = name public = boolean queuepause command = command queueresume command = command