[Date Prev][Date Next] [Chronological] [Thread] [Top]

Which ldap.conf?



Hi all,
 
After installed RedHat Linux 7.2 (choose Server Install).
Result of command "rpm -q openldap" is "openldap-2.0.11-13".
It's seem the "Ldap server have not installed" (In folder "/usr/local/etc/openldap, folder "schema" is not found").
Then, I have installed ldap server (get source package from ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-stable-20020215.tgz).
 
There two file "ldap.conf". THe one is "/etc/ldap.conf" that existed after RedHat is installed, before Ldap server is installed. The second is "/usr/local/etc/openldap/ldap.conf" that existed after I installed Ldap Server.
 
--------------------------Begin of  "/usr/local/etc/openldap/ldap.conf"------------------
# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.4.8.6 2000/09/05 17:54:38 kurt Exp $
#
# LDAP Defaults
#
 
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
 
#BASE   dc=example, dc=com
#URI    ldap://ldap.example.com ldap://ldap-master.example.com:666
 
#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never
--------------------------End of  "/usr/local/etc/openldap/ldap.conf"------------------
 
I want to set up PAM to authenticate against the ldap database. Which "ldap.conf" file should I modify?
 
Thach!