ix
20.2.1. Samba Daemons ................................................................................. 266
20.3. Connecting to a Samba Share ......................................................................... 266
20.3.1. Command Line .................................................................................... 268
20.3.2. Mounting the Share .............................................................................. 269
20.4. Configuring a Samba Server ........................................................................... 269
20.4.1. Graphical Configuration ........................................................................ 269
20.4.2. Command Line Configuration ................................................................ 274
20.4.3. Encrypted Passwords ........................................................................... 274
20.5. Starting and Stopping Samba .......................................................................... 274
20.6. Samba Server Types and the smb.conf File ................................................... 275
20.6.1. Stand-alone Server .............................................................................. 276
20.6.2. Domain Member Server ....................................................................... 278
20.6.3. Domain Controller ................................................................................ 280
20.7. Samba Security Modes ................................................................................... 281
20.7.1. User-Level Security .............................................................................. 281
20.7.2. Share-Level Security ............................................................................ 283
20.8. Samba Account Information Databases ............................................................ 283
20.9. Samba Network Browsing ............................................................................... 284
20.9.1. Domain Browsing ................................................................................. 284
20.9.2. WINS (Windows Internetworking Name Server) ...................................... 285
20.10. Samba with CUPS Printing Support ............................................................... 285
20.10.1. Simple smb.conf Settings ................................................................. 285
20.11. Samba Distribution Programs ........................................................................ 286
20.12. Additional Resources .................................................................................... 290
20.12.1. Installed Documentation ...................................................................... 290
20.12.2. Related Books ................................................................................... 290
20.12.3. Useful Websites ................................................................................. 291
21. Dynamic Host Configuration Protocol (DHCP) 293
21.1. Why Use DHCP? ............................................................................................ 293
21.2. Configuring a DHCP Server ............................................................................ 293
21.2.1. Configuration File ................................................................................. 293
21.2.2. Lease Database ................................................................................... 297
21.2.3. Starting and Stopping the Server .......................................................... 297
21.2.4. DHCP Relay Agent .............................................................................. 298
21.3. Configuring a DHCP Client .............................................................................. 298
21.4. Configuring a Multihomed DHCP Server .......................................................... 299
21.4.1. Host Configuration ............................................................................... 301
21.5. Additional Resources ...................................................................................... 303
21.5.1. Installed Documentation ....................................................................... 303
22. Apache HTTP Server 305
22.1. Apache HTTP Server 2.2 ................................................................................ 305
22.1.1. Features of Apache HTTP Server 2.2 .................................................... 305
22.2. Migrating Apache HTTP Server Configuration Files ........................................... 306
22.2.1. Migrating Apache HTTP Server 2.0 Configuration Files ........................... 306
22.2.2. Migrating Apache HTTP Server 1.3 Configuration Files to 2.0 .................. 306
22.3. Starting and Stopping httpd .......................................................................... 316
22.4. Apache HTTP Server Configuration ................................................................. 317
22.4.1. Basic Settings ...................................................................................... 318
22.4.2. Default Settings ................................................................................... 320
22.5. Configuration Directives in httpd.conf .......................................................... 331