Chapter 13. Lightweight Direc...
Important
Only the root user can use
runs as the
files created by
following command:
chown -R ldap /var/lib/ldap
7. Configuring a System to Authenticate Using
OpenLDAP
This section provides a brief overview of how to configure OpenLDAP user authentication.
Unless you are an OpenLDAP expert, more documentation than is provided here is necessary.
Refer to the references provided in
Install the Necessary LDAP Package
First, make sure that the appropriate packages are installed on both the LDAP server and
the LDAP client machines. The LDAP server needs the
The
,
openldap
openldap-clients
LDAP client machines.
Edit the Configuration Files
• On the server, edit the
sure it matches the specifics of the organization. Refer to
/etc/openldap/slapd.conf
• On the client machines, both
contain the proper server and search base information for the organization.
To do this, run the graphical Authentication Configuration Tool
(
system-config-authentication
Information tab.
It is also possible to edit these files by hand.
• On the client machines, the
To do this, run the Authentication Configuration Tool
(
system-config-authentication
Information tab.
244
/usr/sbin/slapadd
user. Therefore, the directory server is unable to modify any
ldap
. To correct this issue, after using
slapadd
Section 9, "Additional Resources"
, and
nss_ldap
/etc/openldap/slapd.conf
"
for instructions about editing
/etc/ldap.conf
) and select Enable LDAP Support under the User
/etc/nsswitch.conf
) and select Enable LDAP Support under the User
. However, the directory server
slapadd
for more information.
openldap-servers
packages need to be installed on all
file on the LDAP server to make
Section 6.1, "Editing
slapd.conf
and
/etc/openldap/ldap.conf
must be edited to use LDAP.
, type the
package.
.
need to
Need help?
Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?
Questions and answers