[Samba] IDMAP SID to UID problem

Yashpal Nagar yashnagar at gmail.com
Fri Oct 15 07:26:06 MDT 2010


Hi All

I have Samba server 3.4.3.0 from pware which is integrated to AD users. I
can list down the user from wbinfo e.g
foo:/opt/samba/var>wbinfo -n USER1
S-1-5-21-2072526652-XXXXXX-945835055-315051 User (1)

foo:/opt/samba/var>wbinfo -s S-1-5-21-2072526652-XXXXXX-945835055-315051
DOMAIN1\USER1 1

But when I check the mapping into the winbindd_idmap.tdb, I can't see the
mapping there.

picchu:/opt/samba/var/locks>tdbdump winbindd_idmap.tdb|grep 315051
which results nothing

Now, if I create the wbinfo --set-uid-mapping=UID,SID the samba works OK,
means that the SID to UID mapping is not working..

I can see many error in the log file --
Fatal Error: GID range full!! (max: 1999999)
Fatal Error: UID range full!! (max: 999999)


I'm quite sure we don't have that many user which might fill such a large
range for UID and GID we have provided. Can anyone let me know how I can get
this mapping corrected?

Thanks in advance

Yash


More information about the samba mailing list