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

Jeremy Allison jra at samba.org
Wed Sep 28 18:18:21 UTC 2016


On Wed, Sep 28, 2016 at 09:01:15PM +0300, Uri Simchoni wrote:
> That would be great.
> 
> I haven't researched this fully and right now I have other duties to
> attend to, but I see signs of fishiness with the sequence number refresh
> from the parent process (I made two session setups 7 minutes apart, got
> a new ldap connection opened for each one instead of reusing the
> connection, with all the discovery enchilada). This could be some
> consequence of my setup, or it could be a bug, which went undetected
> because the sequence number from parent code path is not used often.

Well it's the same code path in the child also. Do you see the
same activity there ? This might be the DC dropping the TCP
connection as I don't think Windows DC's like keeping long-lived
idle connections around for resource reasons.

> I'll be happier knowing that we don't introduce another blocking network
> request in the parent.

It's a relatively simple change - let me know if you want to
pull the trigger on this one.



More information about the samba-technical mailing list