mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
selftest: use shared/libnss_wrapper_winbind.so.2
This library is always available in make test. nss-wrapper strictly requires the linux nss api. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9299 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
82e583b04b
commit
4eb24fa545
@ -69,7 +69,7 @@ sub nss_wrapper_winbind_so_path($) {
|
||||
my ($object) = @_;
|
||||
my $ret = $ENV{NSS_WRAPPER_WINBIND_SO_PATH};
|
||||
if (not defined($ret)) {
|
||||
$ret = bindir_path($object, "default/nsswitch/libnss-winbind.so");
|
||||
$ret = bindir_path($object, "shared/libnss_wrapper_winbind.so.2");
|
||||
$ret = abs_path($ret);
|
||||
}
|
||||
return $ret;
|
||||
|
@ -421,7 +421,7 @@ for env in ["s3dc", "member", "plugin_s4_dc", "dc", "s3member", "s4member"]:
|
||||
nsstest4 = binpath("nsstest")
|
||||
for env in ["plugin_s4_dc", "dc", "s4member", "s3dc", "s3member", "member"]:
|
||||
if os.path.exists(nsstest4):
|
||||
plantestsuite("samba.nss.test using winbind(%s)" % env, env, [os.path.join(bbdir, "nsstest.sh"), nsstest4, os.path.join(samba4bindir, "default/nsswitch/libnss-winbind.so")])
|
||||
plantestsuite("samba.nss.test using winbind(%s)" % env, env, [os.path.join(bbdir, "nsstest.sh"), nsstest4, os.path.join(samba4bindir, "shared/libnss_wrapper_winbind.so.2")])
|
||||
else:
|
||||
skiptestsuite("samba.nss.test using winbind(%s)" % env, "nsstest not available")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user