Cover image for Sams teach yourself Samba in 24 hours
Title:
Sams teach yourself Samba in 24 hours
Author:
Carter, Gerald.
Personal Author:
Edition:
Second edition.
Publication Information:
Indianapolis, IN : SAMS, [2002]

©2002
Physical Description:
xii, 430 pages : illustrations ; 24 cm.
Language:
English
ISBN:
9780672322693
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Item Holds
Searching...
QA76.9.C55 C36 2002 Adult Non-Fiction Central Closed Stacks
Searching...

On Order

Summary

Summary

The open source Samba software suite is a collection of programs that implements the Server Message Block (SMB) protocol for UNIX systems. This text shows how to configure, run and troubleshoot Samba.


Table of Contents

Introductionp. 1
Part I Starting Upp. 5
Hour 1 Introduction to Sambap. 7
A Brief Samba History Lessonp. 7
A Brief Descriptionp. 8
What Was Life Like Before Samba?p. 10
A Brief Look at Supported Platformsp. 12
The GNU General Public License (GPL)p. 12
Hour 2 Windows Networking Conceptsp. 15
NetBIOS Overviewp. 16
What Is a "Name Service"?p. 17
NetBIOS Names and Registrationp. 18
Name Resolutionp. 22
Session Servicep. 24
Datagram Servicep. 25
CIFS (SMB)p. 25
SMB over NetBIOSp. 25
Connection-Oriented Protocolp. 26
Protocol Overviewp. 27
Windows Networking Modelsp. 29
Workgroupsp. 29
Domainsp. 30
Hour 3 Obtaining the Latest Release of Sambap. 35
Download Sites and Methodsp. 36
Before Upgrading an Existing Serverp. 37
Backing Up Important Filesp. 37
Compiling Sambap. 39
The Filesystem Hierarchy Standard (--with-fhs)p. 41
What Goes Where When I Type make install?p. 42
Binary Distribution Methodsp. 43
Hour 4 Starting Your Feet to Dancep. 45
Which Binaries?p. 45
Samba's Configuration File: smb.confp. 46
Configuring the [global] Section of smb.confp. 47
Setting Up the Shared Group Directoryp. 48
Creating the Directory on Diskp. 49
Adding the Group Share to smb.confp. 50
Verifying smb.confp. 51
Starting smbd and nmbdp. 52
Starting from inetdp. 52
Starting from xinetdp. 53
Running as a Daemonp. 54
Command-Line Argumentsp. 55
Testing the Installationp. 56
A Note Regarding Windows Clients and Our Serverp. 58
Other Tools Included with Sambap. 59
Part II Basic Configurationp. 63
Hour 5 Exploring Samba's smb.conf Filep. 65
Layoutp. 65
The [global] Sectionp. 67
Variablesp. 67
Environment Variablesp. 69
Parametersp. 70
Common [global] Parametersp. 70
NetBIOS Naming Parametersp. 71
Loggingp. 72
Internationalizationp. 76
State Informationp. 79
Hour 6 SWAT and Other GUI Administration Toolsp. 81
SWATp. 81
The inetd Serverp. 82
The xinetd Serverp. 83
Logging Inp. 83
Managing the [global] Sectionp. 85
Managing File Sharesp. 86
Managing Printer Sharesp. 88
Obtaining Status Informationp. 89
Viewing the Complete smb.conf Filep. 90
Changing Your Passwordp. 90
Security Concernsp. 90
Webminp. 91
Hour 7 Security Levels and Passwordsp. 95
Security Levels and the security Parameterp. 95
security = userp. 96
security = sharep. 97
security = serverp. 99
security = domainp. 101
Usernamesp. 101
usernme levelp. 102
username mapp. 103
Passwordsp. 104
password levelp. 105
LAN Manager and Windows NT Password Encryptionp. 105
Null Passwords in smbpasswdp. 108
Guest Accessp. 111
Hour 8 Samba--The File Serverp. 115
Beginning Configurations and Accountsp. 116
A Basic, Group Accessible Sharep. 116
Differences Between File Systems on Windows and Unixp. 119
A Restricted Access Servicep. 121
File Share Access Control Listsp. 124
DOS Attributes and Timestampsp. 125
A Publicly Accessible Sharep. 126
Modifying Unix Permissions from Windows Clientsp. 128
Share Mode, Deny Modes, and Oplocksp. 130
User Home Directoriesp. 132
Symbolic Linksp. 134
File System Quotasp. 135
Hour 9 Samba--The Print Serverp. 137
Prerequisitesp. 138
Samba's Printing Supportp. 138
Configuring Our First Printerp. 140
Adding Print Drivers to the Serverp. 144
Using the Add Printer Wizard to Create and Delete Printers on the Serverp. 151
Using Local Print Drivers on Clientsp. 152
The [printers] Sharep. 153
Securing Printer Sharesp. 156
Troubleshooting Printer Sharesp. 157
Part III The Social Life of Sambap. 161
Hour 10 Microsoft's DOS Network Client and Windows 95/98/MEp. 163
The Network Redirectorp. 164
Microsoft Network Client Version 3.0 for MS-DOSp. 165
Obtaining the Softwarep. 165
Installing the Clientp. 166
Making the Network Boot Diskp. 171
Windows 9x/MEp. 173
Configuring the Clientp. 174
Logging In to the Networkp. 178
Hour 11 Windows NT 4.0/2000p. 181
Windows NTp. 181
Installing the Network Adapterp. 182
Installing the TCP/IP Protocolp. 183
The Workstation Servicep. 184
Setting the NetBIOS Machine Name and Workgroup Namep. 185
Configuring the Windows 2000 Clientp. 186
NetBIOS Names and Workgroupsp. 188
Conflicting Credentialsp. 189
Hour 12 CIFS Clients for Unixp. 193
The Linux Kernel and smbfsp. 194
Allowing Normal Users to Mount smbfs Filesystemsp. 200
smbclientp. 201
Using smbclient to get and put Filesp. 204
Backing Up a Directoryp. 206
Printing a Filep. 207
The smbprint Scriptp. 208
Printing from Unix to Windowsp. 209
Printing to Windows with BSD-Style Printingp. 210
Printing to Windows with System V-Style Printingp. 210
Resolving Hostnames Using the NetBIOS Name Servicep. 211
Hour 13 Troubleshooting Techniquesp. 215
Egypt, Samba, and Bugsp. 216
Available Tools at Our Disposalp. 217
Documentationp. 217
Peoplep. 217
The Test Environmentp. 218
Level 1 Beginning the Climb up the Pyramidp. 219
Pinging the Server and Clientp. 219
Comparing Network Broadcast Addressesp. 221
Verifying the smb.conf Settingsp. 223
Level 2 Local Server and Client Softwarep. 224
smbdp. 224
nmbdp. 226
Windows' NetBIOS Interfacep. 227
Level 3 Remote Access to Sharesp. 228
Name Resolutionp. 228
Enumerating Shares from the Windows Clientp. 229
Connecting to a Share Remotelyp. 230
Level 4 Network Browsingp. 231
Level 5 A Wealth of Information--Log Files and Packetsp. 231
Samba's Log Filesp. 231
Monitoring Network Trafficp. 234
Level 6 Samba Internalsp. 238
Part IV Going Productionp. 243
Hour 14 Replacing a Windows NT File and Printer Server--Lock, Stock and Barrelp. 245
The Existing Networkp. 246
Samba and ACLsp. 248
Configuring the Linux Serverp. 249
--with-acl-supportp. 255
The Replacement Processp. 255
Step 1 Joining the Domainp. 256
Step 2 Creating the New Shares and Transferring the Datap. 262
Step 3 Testing the Serverp. 265
Managing Shares on a Samba Member Serverp. 267
Microsoft's Distributed File Systemp. 270
Hour 15 Server-Side Automationp. 275
What Is Server-Side Automation?p. 275
preexec and postexec Scriptsp. 276
The preexec and postexec Parametersp. 276
The root preexec and root postexec Parametersp. 279
The message command Parameterp. 281
The include Parameterp. 282
Samba's Virtual File System for Sharesp. 286
Hour 16 Managing User Accounts and Single Sign-Onp. 289
Password Synchronization Between /etc/passwd and smbpasswdp. 290
Samba--with-pamp. 293
PAM in 5 Minutesp. 294
PAM Support in smbdp. 296
Unix Services in a Windows Domain--pam_winbindp. 299
Single Sign-On Samba and Unix--pam_smbpassp. 304
Recording User Connections to the Unix Login Records (utmp)p. 307
Samba's New--with-ldapsam, --with-tdbsam, and --with-nisplussam Optionsp. 308
Hour 17 Security Tipsp. 311
Authenticationp. 312
Configuration File Permissionsp. 314
Distributing smbpasswd to Multiple Serversp. 316
Virus and Internet Worm Preventionp. 318
Securing Access to SWAT Via SSLp. 319
Using Samba and SSL Togetherp. 320
Firewallsp. 321
Samba's Very Own Bouncerp. 323
Hour 18 WINS and NetBIOS Name Servicesp. 327
WINSp. 328
The wins server Parameterp. 330
The wins support Parameterp. 331
The wins proxy Parameterp. 331
The dns proxy Parameterp. 332
The lmhosts Filep. 333
The name resolve order Parameterp. 334
Name Resolution Client or Server?p. 335
WINS and Windows 2000p. 335
Hour 19 Local Subnet Browsingp. 339
Introduction to Browsingp. 340
Samba Browsing Parametersp. 343
Browsing with OS/2 Clientsp. 344
Viewing a List of Sharesp. 345
The auto services (a.k.a. preload) and load printers Parametersp. 345
Browsing Examplesp. 346
Browsing Problemsp. 348
Hour 20 Cross Subnet Browsingp. 351
Browsing Across Subnetsp. 351
The domain master Parameterp. 354
Designing Network Browsingp. 354
Troubleshooting Remote Browsingp. 358
Additional Browsing Parametersp. 359
The remote announce Parameterp. 359
The remote browse sync Parameterp. 360
The enhanced browsing Parameterp. 360
Hour 21 Domain Control for Windows 95/98/MEp. 363
Setting Up the Samba Domain Controllerp. 364
Setting Up a Windows 9x Clientp. 367
Successfully Logging In to the Domainp. 368
Troubleshooting Windows 9x/ME Domain Logonsp. 368
User Profilesp. 370
The Windows Registry 101p. 370
What Else Exists in a User Profile?p. 371
Making User Profiles Work for Youp. 372
Windows System Policiesp. 373
Hour 22 Domain Control for Windows NT 4.0/2000p. 377
Current Featuresp. 378
How to Configure a Samba PDCp. 379
Machine Trust Accountsp. 380
Creating a Machine Trust Account on a Samba PDCp. 381
Joining the Domainp. 384
Time to Reboot the Clientp. 386
Domain Admins and Domain Guestsp. 387
logon home, logon drive, and logon pathp. 387
User Profiles and System Policiesp. 389
Implementing Backup Domain Controller (BDC) for a Samba-Controlled Domainp. 390
Windows 2000 Domainsp. 393
Hour 23 Capacity Planning and System Tuningp. 395
How Big is Big Enough?p. 395
How Much CPU Power is Enough?p. 399
Tuning Your Serverp. 399
Windows NT/2000/XP Clients, MS-RPC, and the deadtime Parameterp. 400
Defining a Ceilingp. 401
Oplocks and Performancep. 402
The socket options Parameterp. 403
High Availability and Fail Overp. 404
Hour 24 Exploring the Samba Community and Looking Down the Roadp. 409
Who Is the Samba Team?p. 409
Who Guides Samba Development?p. 410
Future Plans for Sambap. 412
Samba 3.0p. 413
Beyond 3.0p. 414
How Can I Help?p. 414
Indexp. 417