What’s the difference between /etc/ldap.conf and /etc/openldap/ldap.conf?
On Linux systems using ldap and running and ldap server, OpenLDAP in particular, you will have noticed two files named ldap.conf:
So whats the difference?
/etc/openldap/ldap.conf contains the defaults for ldap clients on the host.
/etc/ldap.conf is the ldap configuration file for pam_ldap.
Note that if you installed from source, or from ports on FreeBSD, you will find these files under /usr/local/etc.
FreeBSD users can find out more at http://www.freebsd.org/doc/en_US.ISO8859-1/articles/ldap-auth/index.html.