LDAP integration is generally easily done. There is however a configuration step that is often left aside on forums or tutorials.Here’s what should be done:
- Add “ldap” to /etc/nsswitch.conf in the passwd, shadow and group sections
- Configure /etc/ldap.conf to match your LDAP configuration; it mainly consists of IP and root DN(dc=thingy,dc=com)
- (often-forgotten-step right here): you need to add the following line to /etc/pam.d/system-auth so that users may authenticate against the LDAP directory:
auth sufficient /lib/security/$ISA/pam_ldap.so use_first_pass


English