Part II. Network Services Reference

It is possible to deploy a wide variety of network services under Red Hat Enterprise Linux. This part describes how network interfaces are configured as well as provides details about critical network services such as FTP, NFS, the Apache HTTP Server, Sendmail, Postfix, Exim, Fetchmail, Procmail, BIND, LDAP, and Samba.

Table of Contents

8. Network Interfaces
8.1. Network Configuration Files
8.2. Interface Configuration Files
8.2.1. Ethernet Interfaces
8.2.2. IPsec Interfaces
8.2.3. Channel Bonding Interfaces
8.2.4. Alias and Clone Files
8.2.5. Dialup Interfaces
8.2.6. Other Interfaces
8.3. Interface Control Scripts
8.4. Network Function Files
8.5. Additional Resources
8.5.1. Installed Documentation
9. Network File System (NFS)
9.1. How It Works
9.1.1. Required Services
9.1.2. NFS and portmap
9.2. Starting and Stopping NFS
9.3. NFS Server Configuration
9.3.1. The /etc/exports Configuration File
9.3.2. The exportfs Command
9.4. NFS Client Configuration Files
9.4.1. /etc/fstab
9.4.2. autofs
9.4.3. Common NFS Mount Options
9.5. Securing NFS
9.5.1. Host Access
9.5.2. File Permissions
9.6. Additional Resources
9.6.1. Installed Documentation
9.6.2. Useful Websites
9.6.3. Related Books
10. Apache HTTP Server
10.1. Apache HTTP Server 2.0
10.1.1. Features of Apache HTTP Server 2.0
10.1.2. Packaging Changes in Apache HTTP Server 2.0
10.1.3. File System Changes in Apache HTTP Server 2.0
10.2. Migrating Apache HTTP Server 1.3 Configuration Files
10.2.1. Global Environment Configuration
10.2.2. Main Server Configuration
10.2.3. Virtual Host Configuration
10.2.4. Modules and Apache HTTP Server 2.0
10.3. After Installation
10.4. Starting and Stopping httpd
10.5. Configuration Directives in httpd.conf
10.5.1. General Configuration Tips
10.5.2. ServerRoot
10.5.3. PidFile
10.5.4. Timeout
10.5.5. KeepAlive
10.5.6. MaxKeepAliveRequests
10.5.7. KeepAliveTimeout
10.5.8. IfModule
10.5.9. MPM Specific Server-Pool Directives
10.5.10. Listen
10.5.11. Include
10.5.12. LoadModule
10.5.13. ExtendedStatus
10.5.14. IfDefine
10.5.15. SuexecUserGroup
10.5.16. User
10.5.17. Group
10.5.18. ServerAdmin
10.5.19. ServerName
10.5.20. UseCanonicalName
10.5.21. DocumentRoot
10.5.22. Directory
10.5.23. Options
10.5.24. AllowOverride
10.5.25. Order
10.5.26. Allow
10.5.27. Deny
10.5.28. UserDir
10.5.29. DirectoryIndex
10.5.30. AccessFileName
10.5.31. CacheNegotiatedDocs
10.5.32. TypesConfig
10.5.33. DefaultType
10.5.34. HostnameLookups
10.5.35. ErrorLog
10.5.36. LogLevel
10.5.37. LogFormat
10.5.38. CustomLog
10.5.39. ServerSignature
10.5.40. Alias
10.5.41. ScriptAlias
10.5.42. Redirect
10.5.43. IndexOptions
10.5.44. AddIconByEncoding
10.5.45. AddIconByType
10.5.46. AddIcon
10.5.47. DefaultIcon
10.5.48. AddDescription
10.5.49. ReadmeName
10.5.50. HeaderName
10.5.51. IndexIgnore
10.5.52. AddEncoding
10.5.53. AddLanguage
10.5.54. LanguagePriority
10.5.55. AddType
10.5.56. AddHandler
10.5.57. Action
10.5.58. ErrorDocument
10.5.59. BrowserMatch
10.5.60. Location
10.5.61. ProxyRequests
10.5.62. Proxy
10.5.63. Cache Directives
10.5.64. NameVirtualHost
10.5.65. VirtualHost
10.5.66. Configuration Directives for SSL
10.6. Default Modules
10.7. Adding Modules
10.8. Virtual Hosts
10.8.1. Setting Up Virtual Hosts
10.8.2. The Secure Web Server Virtual Host
10.9. Additional Resources
10.9.1. Useful Websites
10.9.2. Related Books
11. Email
11.1. Email Protocols
11.1.1. Mail Transport Protocols
11.1.2. Mail Access Protocols
11.2. Email Program Classifications
11.2.1. Mail Transfer Agent
11.2.2. Mail Delivery Agent
11.2.3. Mail User Agent
11.3. Mail Transport Agents
11.3.1. Sendmail
11.3.2. Postfix
11.3.3. Fetchmail
11.4. Mail Delivery Agents
11.4.1. Procmail Configuration
11.4.2. Procmail Recipes
11.5. Mail User Agents
11.5.1. Securing Communication
11.6. Additional Resources
11.6.1. Installed Documentation
11.6.2. Useful Websites
11.6.3. Related Books
12. Berkeley Internet Name Domain (BIND)
12.1. Introduction to DNS
12.1.1. Nameserver Zones
12.1.2. Nameserver Types
12.1.3. BIND as a Nameserver
12.2. /etc/named.conf
12.2.1. Common Statement Types
12.2.2. Other Statement Types
12.2.3. Comment Tags
12.3. Zone Files
12.3.1. Zone File Directives
12.3.2. Zone File Resource Records
12.3.3. Example Zone File
12.3.4. Reverse Name Resolution Zone Files
12.4. Using rndc
12.4.1. Configuring /etc/named.conf
12.4.2. Configuring /etc/rndc.conf
12.4.3. Command Line Options
12.5. Advanced Features of BIND
12.5.1. DNS Protocol Enhancements
12.5.2. Multiple Views
12.5.3. Security
12.5.4. IP version 6
12.6. Common Mistakes to Avoid
12.7. Additional Resources
12.7.1. Installed Documentation
12.7.2. Useful Websites
12.7.3. Related Books
13. Lightweight Directory Access Protocol (LDAP)
13.1. Why Use LDAP?
13.1.1. OpenLDAP Features
13.2. LDAP Terminology
13.3. OpenLDAP Daemons and Utilities
13.3.1. NSS, PAM, and LDAP
13.3.2. PHP4, LDAP, and the Apache HTTP Server
13.3.3. LDAP Client Applications
13.4. OpenLDAP Configuration Files
13.5. The /etc/openldap/schema/ Directory
13.6. OpenLDAP Setup Overview
13.6.1. Editing /etc/openldap/slapd.conf
13.7. Configuring a System to Authenticate Using OpenLDAP
13.7.1. PAM and LDAP
13.7.2. Migrating Old Authentication Information to LDAP Format
13.8. Migrating Directories from Earlier Releases
13.9. Additional Resources
13.9.1. Installed Documentation
13.9.2. Useful Websites
13.9.3. Related Books
14. Samba
14.1. Introduction to Samba
14.1.1. Samba Features
14.2. Samba Daemons and Related Services
14.2.1. Daemon Overview
14.2.2. Starting and Stopping Samba
14.3. Samba Server Types and the smb.conf File
14.3.1. Stand-alone Server
14.3.2. Domain Member Server
14.3.3. Domain Controller
14.4. Samba Security Modes
14.4.1. User-Level Security
14.4.2. Share-Level Security
14.4.3. Domain Security Mode (User-Level Security)
14.4.4. Active Directory Security Mode (User-Level Security)
14.4.5. Server Security Mode (User-Level Security)
14.5. Samba Account Information Databases
14.5.1. Backward Compatible Backends
14.5.2. New Backends
14.6. Samba Network Browsing
14.6.1. Workgroup Browsing
14.6.2. Domain Browsing
14.6.3. WINS (Windows Internetworking Name Server)
14.7. Samba with CUPS Printing Support
14.7.1. Simple smb.conf Settings
14.8. Samba Distribution Programs
14.8.1. findsmb
14.8.2. make_smbcodepage
14.8.3. make_unicodemap
14.8.4. net
14.8.5. nmblookup
14.8.6. pdbedit
14.8.7. rpcclient
14.8.8. smbcacls
14.8.9. smbclient
14.8.10. smbcontrol
14.8.11. smbgroupedit
14.8.12. smbmount
14.8.13. smbpasswd
14.8.14. smbspool
14.8.15. smbstatus
14.8.16. smbtar
14.8.17. testparm
14.8.18. testprns
14.8.19. wbinfo
14.9. Additional Resources
14.9.1. Installed Documentation
14.9.2. Red Hat Documentation
14.9.3. Related Books
14.9.4. Useful Websites
15. FTP
15.1. The File Transport Protocol
15.1.1. Multiple Ports, Multiple Modes
15.2. FTP Servers
15.2.1. vsftpd
15.3. Files Installed with vsftpd
15.4. Starting and Stopping vsftpd
15.4.1. Starting Multiple Copies of vsftpd
15.5. vsftpd Configuration Options
15.5.1. Daemon Options
15.5.2. Log In Options and Access Controls
15.5.3. Anonymous User Options
15.5.4. Local User Options
15.5.5. Directory Options
15.5.6. File Transfer Options
15.5.7. Logging Options
15.5.8. Network Options
15.6. Additional Resources
15.6.1. Installed Documentation
15.6.2. Useful Websites
15.6.3. Related Books