Comment 19 for bug 966734

Revision history for this message
Mark Solaris (a-mark-8) wrote :

I can toggle the good and bad behaviour by adding or removing "files" to passwd_compat in /etc/nsswitch.conf

Causes problem:

passwd_compat: files ldap
group_compat: files ldap

host:/root root# getent passwd 1119
host:/root root#

No problem:

passwd_compat: ldap
group_compat: ldap

host:/root root# getent passwd 1119
testuser:*:1119:1000:Test User:/home/testuser:/bin/bash

Adding "files" to that line is suggested in some HOWTOs.

We'll likely remove compat entirely and just go with "files ldap" on the "passwd:" line earlier in /etc/nsswitch.conf, we don't need the NIS-like behvaiours here.