Selftest environment interdependency graph

Ralph Böhme slow at samba.org
Mon Jan 8 13:06:43 UTC 2018


On Mon, Jan 08, 2018 at 02:30:47PM +0200, Alexander Bokovoy wrote:
> On ma, 08 tammi 2018, Ralph Böhme via samba-technical wrote:
> > On Mon, Jan 08, 2018 at 10:52:08PM +1300, Andrew Bartlett wrote:
> > > Reviewed-by: Andrew Bartlett <abartlet at samba.org>
> > > 
> > > pushed!
> > 
> > thanks!
> > 
> > Fwiw, while debugging this problem I noticed an issue in
> > selftest/target/Samba3.pm:wait_for_start() in the nt4_member environment:
> > 
> >   $ret = system(Samba::bindir_path($self, "net") ." $envvars->{CONFIGURATION} groupmap add rid=513 unixgroup=domusers type=domain");
> > 
> > fails with an error "Can't lookup UNIX group domusers" so the subsequent code is
> > skipped. I couldn't find the reason, so if anyone can give me a clue that would
> > be much appreciated.
> 'net groupmap' calls aren't wrapped with NSS_WRAPPER_PASSWD=/NSS_WRAPPER_GROUP=
> unlike winbindd startup just before them. As result, our wrapped passwd
> and group files aren't in use and group domusers is not found.

Man, you're the man! :) Thanks!

I'll prepare a patch.

-slow

-- 
Ralph Boehme, Samba Team       https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/



More information about the samba-technical mailing list