the scope of this chapter. Refer to http://www.openldap.org/doc/admin/schema.html forinformation.6. OpenLDAP Setup OverviewThis section provides a quick overview for installing and configuring an OpenLDAP directory.For more details, refer to the following URLs:• http://www.openldap.org/doc/admin/quickstart.html — The Quick-Start Guide on theOpenLDAP website.• http://www.redhat.com/mirrors/LDP/HOWTO/LDAP-HOWTO.html — The LDAP LinuxHOWTO from the Linux Documentation Project, mirrored on Red Hat's website.The basic steps for creating an LDAP server are as follows:1. Install the openldap, openldap-servers, and openldap-clients RPMs.2. Edit the /etc/openldap/slapd.conf file to specify the LDAP domain and server. Refer toSection 6.1, “Editing /etc/openldap/slapd.conf” for more information.3. Start slapd with the command:/sbin/service ldap startAfter configuring LDAP, use chkconfig, /usr/sbin/ntsysv, or the Services ConfigurationTool to configure LDAP to start at boot time. For more information about configuringservices, refer to the chapter titled Controlling Access to Services in the Red Hat EnterpriseLinux System Administration Guide.4. Add entries to an LDAP directory with ldapadd.5. Use ldapsearch to determine if slapd is accessing the information correctly.6. At this point, the LDAP directory should be functioning properly and can be configured withLDAP-enabled applications.6.1. Editing /etc/openldap/slapd.confTo use the slapd LDAP server, modify its configuration file, /etc/openldap/slapd.conf, tospecify the correct domain and server.The suffix line names the domain for which the LDAP server provides information and shouldbe changed from:suffix "dc=your-domain,dc=com"Chapter 13. Lightweight Direc...242