[clug] getent group shows me twice user id in a group
achen at harbourfrontcentre.com
Fri Mar 30 19:09:02 GMT 2007
I have a Linux Samba PDC file server with a separate ldap machine backend.
Every thing works perfect. but the problem is that when I do a command
on the samba server:
# getent group | grep 1033
It gives me:
Some of the user ids show up twice. Why?
I checked ldap database and found that usr1,usr2 and usr3 show up only
once in memberUid.
All of them do not exist in /etc/passwd and /etc/group files.
RedHat ES v4 2.6.9-5.ELsmp
Samba 3.0.22 (compiled)
My nsswitch.conf on samba server looks like:
passwd: files ldap
shadow: files ldap
group: files ldap
hosts: files dns
bootparams: nisplus [NOTFOUND=return] files
protocols: files ldap
services: files ldap
netgroup: files ldap
automount: files ldap
aliases: files nisplus
More information about the linux