LDAP/Pam: No passwd entry for user while getent passwd shows all LDAP users

9,684

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

Share:
9,684

Related videos on Youtube

roymaztang
Author by

roymaztang

Updated on September 18, 2022

Comments

  • roymaztang
    roymaztang over 1 year

    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?