[PATCH] bug 11259 - get smbd to use winbindd to prime the netsamlogon and name2sid caches.
Jeremy Allison
jra at samba.org
Thu Oct 13 22:04:01 UTC 2016
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-winbind-Ensure-we-store-name2sid-with-the-correct.patch
Type: text/x-diff
Size: 1032 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161013/f58c7c60/0001-s3-winbind-Ensure-we-store-name2sid-with-the-correct.diff>
More information about the samba-technical
mailing list