[PATCH] winbindd: lookup-domain for well-known SIDs on a DC

Ralph Böhme slow at samba.org
Sun Apr 2 15:10:56 UTC 2017


On Fri, Mar 31, 2017 at 11:21:11PM +0100, Rowland Penny wrote:
> On Fri, 31 Mar 2017 22:43:34 +0200
> Ralph Böhme via samba-technical <samba-technical at lists.samba.org> wrote:
> 
> > Hi!
> > 
> > Attached is a fix for bug:
> > <https://bugzilla.samba.org/show_bug.cgi?id=12727>
> > 
> > ---8<---
> > On a DC well-known SIDs like S-1-1-0 (everyone) *must* be handled by
> > the local domain, otherwise something simple like this fails with
> > WBC_ERR_DOMAIN_NOT_FOUND:
> > 
> > $ make testenv SELFTEST_TESTENV=nt4_dc SCREEN=1
> > 
> > localnt4dc2$ ./bin/wbinfo --sid-to-name S-1-1-0
> > failed to call wbcLookupSid: WBC_ERR_DOMAIN_NOT_FOUND
> > Could not lookup sid S-1-1-0
> > 
> > On a member server asking our DC works and is what we're currently
> > doing, but changing it to ask passdb avoids the overhead.
> > ---8<---
> > 
> > Ran across this when working on another bug in the sids2xids code.
> > 
> > Please review & push if ok. Thanks!
> > 
> > Cheerio!
> > -slow
> 
> Hi, I think you may have fixed bug 12164 as well ;-)

unfortunately not. I'll try to dig into this one as well while I'm at it.

Cheerio!
-slow



More information about the samba-technical mailing list