3

The LDAP authentication seems not working on my ubuntu 14.04.

getent passwd returns all the LDAP users, which means it is successfully connected to the LDAP server and see all the user information.

However, getent passwd USERNAME returns nothing, even though USERNAME is one of the LDAP users.

The error message in /var/log/auth.log is No passwd entry for user USERNAME.

Any thoughts?

1

I've found the solution. After I restarted nscd (not nslcd), it works.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.