[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

# 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

# id root
uid=0(root) gid=0(root)

# wbinfo -i root

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

More information about the samba mailing list