RHEL6 (beta)

nsswitch.conf hosts lookup from ldap on puias6 (RHEL6/CENTOS6) nslcd

We store our host information in ldap. Previously using ldap for host lookups was done by adding the appropriate entries to /etc/ldap.conf and changing nsswitch.conf.

With 6, nss_ldap has been replaced by nslcd, so I needed to change our setup a little.
I put the following into nslcd.conf


uid nslcd
gid ldap
uri ldap://ldap2.example.com

Wordpress category: