Selftest environment interdependency graph

Alexander Bokovoy ab at
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>
> > 
> > pushed!
> thanks!
> Fwiw, while debugging this problem I noticed an issue in
> selftest/target/ 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