OpenLDAP Setup Overview

This section provides a quick overview for installing and configuring an OpenLDAP directory. For more details, refer to the following URLs:

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 reference your LDAP domain and server. Refer to the Section called slapd.conf for more information on how to edit this file.

  3. Start slapd with the command:

    /sbin/service/ldap start

    After you have configured LDAP correctly, you can use chkconfig, ntsysv, or Services Configuration Tool to configure LDAP to start at boot time. For more information about configuring services, see to the chapter titled Controlling Access to Services in the Official Red Hat Linux Customization Guide.

  4. Add entries to your LDAP directory with ldapadd.

  5. Use ldapsearch to see if slapd is accessing the information correctly.

  6. At this point, your LDAP directory should be functioning properly and you can configure any LDAP-enabled applications to use the LDAP directory.