I configured nsswitch.conf in the following way: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file.
passwd: compat ldap group: compat ldap shadow: compat ldap hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis If I use the command "getent passwd" I get all of the passwd entries of the local system and additionally the information about the users stored on the ldap server. Any idea how I can further debug the situation? > This error indicates that the provided username cannot be resolved through > the NSS system (as configured in /etc/nsswitch.conf). This is not a bug in > PAM. If you are using an LDAP NSS module (such as libnss-ldap) for your uid > lookups, this may be a bug in that package. Otherwise, it is a > configuration error of some kind. Kind regards, Felix