[Samba] How shall I fix the multiple uidNumbers

Alex Domoradov alex.hha at gmail.com
Thu Jun 10 14:37:46 MDT 2010


When I run check_multiple_LDAP_entries.pl script I get the following
message:

# perl check_multiple_LDAP_entries.pl -h localhost -b dc=w3,dc=lan -D
cn=root,dc=w3,dc=lan -w 1234567 -l

testing for multiple sambaSids
No multiple sambaSids found in your system
--------------------------------------------------------------------------------

testing for multiple gidNumbers
No multiple gidNumbers found in your system
--------------------------------------------------------------------------------

testing for multiple uidNumbers
Warning: There is a user in /etc/passwd that has uidNumber [0] as well
This entry may conflict with uid=root,ou=System,ou=users,dc=w3,dc=lan
You have 1 bad uidNumbers in your system. You might need to repair them

The problem is because of the system root uid/gid is 0, the same as root in
LDAP.

# id root
uid=0(root) gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)

# wbinfo -i root
root:*:0:0:root:/home/W3/root:/bin/false

How shall I fix the collision? Or shall I just ignore this warning message?


More information about the samba mailing list