Use ldap-nss.conf as config name not ldap.conf
Autotools