[Samba] How shall I fix the multiple uidNumbers

Gaiseric Vandal gaiseric.vandal at gmail.com
Sat Jun 12 15:18:02 MDT 2010


Do you even need root in ldap?  

Root should be in /etc/passwd, I don't see why you need it in LDAP as well
unless root is also a samba account.  Which I don't think you would need.  

-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Alex Domoradov
Sent: Thursday, June 10, 2010 4:38 PM
To: samba at lists.samba.org
Subject: [Samba] How shall I fix the multiple uidNumbers

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?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list