Red Hat Linux 7.0: The Official Red Hat Linux Reference Guide | ||
---|---|---|
Prev | Chapter 7. Lightweight Directory Access Protocol (LDAP) | Next |
This section provides a quick overview of the steps you'll need to take to get an LDAP directory working.
Make sure the openldap RPM, and any other LDAP-related RPMS that you need, are installed.
See either the Quick Start Guide at the OpenLDAP site (http://www.openldap.org/faq/data/cache/172.html; start at "Create configuration file for slapd," since the LDAP files are already installed), or see the Linux-LDAP HOWTO (http://www.linuxdoc.org/HOWTO/LDAP-HOWTO.html) for instructions on using LDAP on your system. Both cover the rest of these steps.
Edit the slapd.conf file to get it right for your system.
Start slapd.
Create your LDAP directory (examples of LDAP entries are provided at the PADL Software website at http://www.padl.com/ldap_examples.html).
Add entries to your LDAP directory with ldapadd or with a script.
Use ldapsearch to see if slapd is working.
At this point, your LDAP directory should exist. The next step is to configure your LDAP-enabled applications so that they can use the LDAP directory.