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

Jeremy Allison jra at samba.org
Wed Sep 28 20:35:37 UTC 2016


On Wed, Sep 28, 2016 at 11:03:34PM +0300, Uri Simchoni wrote:
> On 09/28/2016 09:28 PM, Jeremy Allison wrote:
> > 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.
> >>
> >> I'll be happier knowing that we don't introduce another blocking network
> >> request in the parent.
> > 
> > Feel free to add this to the patchset once it's gone
> > in if you want it.
> > 
> > Cheers,
> > 
> > 	Jeremy.
> > 
> I'll figure out why I get those reconnects (not today, maybe tomorrow or
> during the weekend), and then decide what to do. I certainly didn't get
> those reconnects before the patch, but I also switched envs to test the
> multi-domain case (the reconnect is all in our domain, no relation), so
> that may be the cause.

Actually, adding this is no-cost and removes any potential
reconnect, so I'm just going to push it (Guenther already
reviewed) once my current autobuild finishes.

I'll add the whole set to the bug report as the 4.5.x, 4.4.x
back-ports once they land in master.



More information about the samba-technical mailing list