The password stored in /etc/ldap.secret is not correctly sent to the LDAP server. The last character is lost. If i add a character after the password stored in /etc/ldap.secret it works. I used ehtereal to see the LDAP transmissions, it verified that the last character in the password was missing. Reproducible: Always Steps to Reproduce: 1. Insert password in /etc/ldap.secret 2. Try to access ldap database with: getent passwd (for example) Nothing is returned from the ldap database. 3. Add an extra character in /etc/ldap.secret after the password. 4. Try with getent passwd (for example). Entries from the LDAP server is returned. Actual Results: Se above Expected Results: Se above
Here is the real problem: from: /usr/share/doc/nss_ldap-202/README.gz If using /etc/ldap.secret, it must have a newline at the end of the secret. I had no newline in the file. Therefore this is no real bu I guess...
love those README files ;)