[PATCH] bug 11259 - get smbd to use winbindd to prime the netsamlogon and name2sid caches.

Uri Simchoni uri at samba.org
Fri Oct 14 10:40:44 UTC 2016


On 10/14/2016 01:04 AM, Jeremy Allison wrote:
> On Thu, Oct 13, 2016 at 01:54:09PM -0700, Jeremy Allison wrote:
>> On Thu, Oct 13, 2016 at 11:46:32PM +0300, Uri Simchoni wrote:
>>>>
>>> Some things I don't quite get:
>>> 1. When we store the name2sid in the cache without refreshing sequence
>>> number, we store it with the parent winbindd's sequence number, but when
>>> we fetch it, it's done with the child sequence number (each process has
>>> its own copy of the domain object). Perhaps we need to refresh the
>>> sequence number from tdb first, using fetch_cache_seqnum() ?
>>
>> Oh - that's good catch - I missed that !
>>
>> I'll follow up with a patch for that problem.
> 
> How about this ? If you approve I'll add it to the
> BUG: https://bugzilla.samba.org/show_bug.cgi?id=11259
> patchset.
> 

Pushed!
Thanks,
Uri.



More information about the samba-technical mailing list