[Samba] Samba idmap against ad

Andrew Masterson Andrew.Masterson at nuvistaenergy.com
Thu Aug 12 14:56:09 MDT 2010

-----Original Message-----
From: samba-bounces at lists.samba.org
[mailto:samba-bounces at lists.samba.org] On Behalf Of Stuart Bailey
Sent: Wednesday, August 11, 2010 5:28 AM
To: samba at lists.samba.org
Subject: [Samba] Samba idmap against ad

I have a samba server (old - running FC6, samba 3.0.24-11.fc6) that 
authenticates against AD. This is all configured and has been working
until this week.

A new user has been added to AD, but cannot access the samba drives. All
users can still access samba as normal.

net ads testjoin reports OK. 

wbinfo -a newuser%pass and wbinfo -K newuser%pass both succeed. wbinfo
newuser reports all the user group memberships from AD.

wbinfo -p is OK

wbinfo -i newuser reports that no information on that user can be found.

wbinfo -n newuser returns the SID, and wbinfo -s SID returns the

However, wbinfo -S SID fails.

I found a thread that suggests a corrupted idmap cache file. If I delete
file, and restart winbind, the file is re-created, but contains no SID
I've also noticed that the winbindd_idmap.tdb file has an old time stamp

winbindd_cache.tdb has today's date.

I tried setting:
   winbind cache time = 3600
   idmap cache time = 3600
but no improvement.

Also, this is affecting both FC6 servers we have, both with the same
config. The 
config has not changed, and the servers have not been rebooted / power
etc. The problem only affects new AD user accounts.

Any sugguestions as to where I should look next?

Many thanks,



Sounds like you hit a limit somewhere.  What is your user and group
mapping range?  Have you run out of space in there?


        idmap uid = 100000-200000
        idmap gid = 100000-200000


More information about the samba mailing list