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

Rowland Penny rpenny at samba.org
Fri Mar 31 22:21:11 UTC 2017


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 ;-)

Rowland



More information about the samba-technical mailing list