Red Hat Linux 8.0: The Official Red Hat Linux Reference Guide | ||
---|---|---|
Prev | Chapter 18. Lightweight Directory Access Protocol (LDAP) | Next |
This 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 the OpenLDAP website.
http://www.redhat.com/mirrors/LDP/HOWTO/LDAP-HOWTO.html — The LDAP Linux HOWTO from the Linux Documentation Project, mirrored on Red Hat's website
The basic steps for creating an LDAP server are as follows:
Install the openldap, openldap-servers, and openldap-clients RPMs.
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.
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.
Add entries to your LDAP directory with ldapadd.
Use ldapsearch to see if slapd is accessing the information correctly.
At this point, your LDAP directory should be functioning properly and you can configure any LDAP-enabled applications to use the LDAP directory.