diff options
| author | Stefan Metzmacher <metze@samba.org> | 2014-12-18 20:13:44 +0100 |
|---|---|---|
| committer | Karolin Seeger <kseeger@samba.org> | 2015-01-11 14:03:10 +0100 |
| commit | 5636a4839a8f3be3c4bd3bb48010fa6349cdde5f (patch) | |
| tree | 1ebc8a23b22cedb370c6418de61be87416c8f945 | |
| parent | b3f140d6eb6610d1e8fc40dd862e1052f2ac5337 (diff) | |
| download | samba-5636a4839a8f3be3c4bd3bb48010fa6349cdde5f.tar.gz | |
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>
(similar to commit 4eb24fa545234be506eb1330ccbbfd5c2b9e0d82)
| -rw-r--r-- | selftest/target/Samba.pm | 2 | ||||
| -rwxr-xr-x | source4/selftest/tests.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/selftest/target/Samba.pm b/selftest/target/Samba.pm index b0817fd3d2..217511a8d0 100644 --- a/selftest/target/Samba.pm +++ b/selftest/target/Samba.pm @@ -68,7 +68,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"); } return $ret; } diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index e738d1d97d..9c7a41c988 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -382,7 +382,7 @@ for env in ["plugin_s4_dc", "dc", "s4member"]: nsstest4 = binpath("nsstest") for env in ["plugin_s4_dc", "dc", "s4member", "s3dc", "s3member", "member"]: if os.path.exists(nsstest4): - plantestsuite("samba4.nss.test using winbind(%s)" % env, env, [os.path.join(bbdir, "nsstest.sh"), nsstest4, os.path.join(samba4bindir, "default/nsswitch/libnss-winbind.so")]) + plantestsuite("samba4.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("samba4.nss.test using winbind(%s)" % env, "nsstest not available") |
