[Samba] winbindd losing track of RFC2307 UIDs

Rob rj_t1 at redglow.org
Sun Oct 23 13:59:03 UTC 2016

On Sat, 22 Oct 2016, Achim Gottinger wrote:
> Am 21.10.2016 um 18:40 schrieb Rob via samba:
>> As the problem was getting worse and worse on my end (UIDs resetting after 
>> a few minutes, mostly in response to SMB traffic), I did something similar:
>> - stop Samba on the member
>> - remove the idmap tables completely
>> - restart Samba on the member
>> After a week of running, this seems to be working without issue!
>> My guess (without looking at the code) is that one of the smbd processes 
>> had a record of a UID=20xx user, and did reverse lookup to find the SID, 
>> and somehow that led winbindd to always use the idmap.tdb info instead of 
>> querying AD for that SID.
>> _Rob
> Thank you for the update. By getting worse do you mean other users also got 
> affected?

Same set of users, but the frequency of the problem was worse.  (Seemingly 
arbitrary SMB interactions would make the user's UID reset in a couple 
minutes after a "net cache flush".)


More information about the samba mailing list