Openldap Setup Overview; Editing /Etc/Openldap/Slapd.conf - Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

25.6. OpenLDAP Setup Overview

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
website.
http://www.tldp.org/HOWTO/LDAP-HOWTO/index.html
Documentation Project.
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 to
Section 25.6.1, "Editing /etc/openldap/slapd.conf"
3. Start slapd with the command:
/sbin/service ldap start
After configuring LDAP, use chkconfig, /usr/sbin/ntsysv, or the Services Configuration
Tool to configure LDAP to start at boot time. For more information about configuring services,
Chapter 16, Controlling Access to
refer to
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 with LDAP-
enabled applications.

25.6.1. Editing /etc/openldap/slapd.conf

To use the slapd LDAP server, modify its configuration file, /etc/openldap/slapd.conf, to
specify the correct domain and server.
The suffix line names the domain for which the LDAP server provides information and should be
changed from:
suffix
"dc=your-domain,dc=com"
Edit it accordingly so that it reflects a fully qualified domain name. For example:
suffix
"dc=example,dc=com"
The rootdn entry is the Distinguished Name (DN) for a user who is unrestricted by access controls
or administrative limit parameters set for operations on the LDAP directory. The rootdn user can be
thought of as the root user for the LDAP directory. In the configuration file, change the rootdn line
from its default value as in the following example:
— The Quick-Start Guide on the OpenLDAP
— The LDAP Linux HOWTO from the Linux
for more information.
Services.
OpenLDAP Setup Overview
409

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents