Selftest environment interdependency graph

Alexander Bokovoy ab at samba.org
Mon Jan 8 12:30:47 UTC 2018


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.

-- 
/ Alexander Bokovoy



More information about the samba-technical mailing list