I know this worked previously in Linux, but it has been a while since I have 
used compat on Linux.

I am currently changing our Linux servers to use "passwd_compat: ldap" rather 
than "passwd: files ldap" due to some recent changes in access requirements.

The setup I have in /etc/nsswitch.conf is:

passwd_compat: ldap
passwd: compat

If I include a +@netgroup where user1 is in netgroup and I do 'getent passwd 
user1' I see the user1 entry from LDAP passwd.

If I do 'getent passwd' I do NOT see the user entry.

Login as user1 works as expected, and 'id user1' is correct.

If I include a +user1 and I do 'getent passwd user1' I see the user1 entry from 
LDAP passwd.

If I do 'getent passwd' I see the user entry.

Login as user1 works as expected, and 'id user1' is correct.

Why is getent ignoring the netgroup when enumerating the users?

By the way, I have also done 'nscd -i passwd' and 'service nscd restart'...

Thanks,

Kevin


_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to