You are on page 1of 4

,sambaTOC.fm.

28453 Page v Friday, November 19, 1999 3:40 PM

Table of Contents

Preface ..................................................................................................................... ix
1. Learning the Samba ................................................................................. 1
What is Samba? ................................................................................................. 2
What Can Samba Do For Me? .......................................................................... 3
Getting Familiar with a SMB/CIFS Network ................................................... 9
Microsoft Implementations ............................................................................ 18
An Overview of the Samba Distribution ....................................................... 27
How Can I Get Samba? .................................................................................. 28
Whats New in Samba 2.0? ............................................................................. 28
And Thats Not All... ....................................................................................... 30

2. Installing Samba on a Unix System ............................................... 31


Downloading the Samba Distribution ...........................................................
Configuring Samba .........................................................................................
Compiling and Installing Samba ...................................................................
A Basic Samba Configuration File .................................................................
Starting the Samba Daemons .........................................................................
Testing the Samba Daemons .........................................................................

32
34
38
41
46
49

3. Configuring Windows Clients ............................................................ 50


Setting Up Windows 95/98 Computers ......................................................... 50
Setting Up Windows NT 4.0 Computers ....................................................... 63
An Introduction to SMB/CIFS ........................................................................ 74

,sambaTOC.fm.28453 Page vi Friday, November 19, 1999 3:40 PM

vi

Table of Contents

4. Disk Shares ................................................................................................ 82


Learning the Samba Configuration File ......................................................... 82
Special Sections .............................................................................................. 88
Configuration File Options ............................................................................ 91
Server Configuration ...................................................................................... 93
Disk Share Configuration ............................................................................... 96
Networking Options with Samba ................................................................ 101
Virtual Servers .............................................................................................. 106
Logging Configuration Options ................................................................... 108

5. Browsing and Advanced Disk Shares ........................................... 114


Browsing .......................................................................................................
Filesystem Differences .................................................................................
File Permissions and Attributes on MS-DOS and Unix ..............................
Name Mangling and Case ............................................................................
Locks and Oplocks ......................................................................................

114
127
135
143
149

6. Users, Security, and Domains .......................................................... 155


Users and Groups ........................................................................................
Controlling Access to Shares .......................................................................
Authentication Security ................................................................................
Passwords .....................................................................................................
Windows Domains .......................................................................................
Logon Scripts ................................................................................................

155
158
164
171
184
192

7. Printing and Name Resolution ....................................................... 201


Sending Print Jobs to Samba ....................................................................... 201
Printing to Windows Client Printers ............................................................ 213
Name Resolution with Samba ..................................................................... 224

8. Additional Samba Information ...................................................... 230


Supporting Programmers .............................................................................
Magic Scripts ................................................................................................
Internationalization ......................................................................................
WinPopup Messages ....................................................................................
Recently Added Options ..............................................................................
Miscellaneous Options .................................................................................
Backups with smbtar ...................................................................................

230
233
234
237
238
240
245

,sambaTOC.fm.28453 Page vii Friday, November 19, 1999 3:40 PM

Table of Contents

vii

9. Troubleshooting Samba ..................................................................... 250


The Tool Bag ................................................................................................ 250
The Fault Tree .............................................................................................. 257
Extra Resources ............................................................................................ 291

A. Configuring Samba with SSL ........................................................... 295


B. Samba Performance Tuning ............................................................ 312
C. Samba Configuration Option Quick Reference ........................ 329
D. Summary of Samba Daemons and Commands ...................... 359
E. Downloading Samba with CVS ....................................................... 378
F. Sample Configuration File ................................................................ 379
Index .................................................................................................................... 385

,sambaTOC.fm.28453 Page viii Friday, November 19, 1999 3:40 PM

You might also like