diff options
author | Günther Deschner <gd@samba.org> | 2015-02-02 14:54:01 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2015-02-13 20:57:11 +0100 |
commit | 14cbc791ee70316889d568c4ab2cc6424235aedc (patch) | |
tree | dddfa77a6f3ee08421348a2ef12d70950361d0e7 | |
parent | 88f7361c211fce5d1a1a3a56bfa4297263c70fcd (diff) | |
download | samba-14cbc791ee70316889d568c4ab2cc6424235aedc.tar.gz samba-14cbc791ee70316889d568c4ab2cc6424235aedc.tar.xz samba-14cbc791ee70316889d568c4ab2cc6424235aedc.zip |
selftest: re-enable nss_winbind via nss_wrapper in the test-envs.
Without exporting these new variables, we can never access or test nss_winbind
from the selftest environments.
This shows that our posixacl test probably needs fixing since now
two subtests fail against plugin_s4_dc:local. This env was just
not complete without winbind in nsswitch. The test failure is
probably due to the strangeness of the AD/DC setup that the
domain administrator uses the same uid as the root user, which
in the selftest case is overridden to be the calling user.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Feb 13 20:57:12 CET 2015 on sn-devel-104
-rw-r--r-- | selftest/knownfail | 8 | ||||
-rwxr-xr-x | selftest/selftest.pl | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/selftest/knownfail b/selftest/knownfail index b694d06723..fef56a1381 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -300,3 +300,11 @@ # Differences in our KDC compared to windows # ^samba4.krb5.kdc .*.as-req-pac-request # We should reply to a request for a PAC over UDP with KRB5KRB_ERR_RESPONSE_TOO_BIG unconditionally +# +# Test does not work, apparently because the calling user and +# the domain admin use the same uid. This was uncovered by +# enabling libnss_winbindd in the nsswrapper environment. +# TODO: fix the test. +# +^samba.tests.posixacl.samba.tests.posixacl.PosixAclMappingTests.test_setntacl_sysvol_check_getposixacl\(plugin_s4_dc:local\)$ +^samba.tests.posixacl.samba.tests.posixacl.PosixAclMappingTests.test_setntacl_policies_check_getposixacl\(plugin_s4_dc:local\)$ diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 2bbb3c8f94..72341f01e8 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -793,6 +793,8 @@ my @exported_envvars = ( "NSS_WRAPPER_PASSWD", "NSS_WRAPPER_GROUP", "NSS_WRAPPER_HOSTS", + "NSS_WRAPPER_MODULE_SO_PATH", + "NSS_WRAPPER_MODULE_FN_PREFIX", # resolv_wrapper "RESOLV_WRAPPER_CONF", |