diff options
author | Michael Adam <obnox@samba.org> | 2015-02-17 16:06:49 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-03-12 14:35:06 +0100 |
commit | 79b927ac9e22a73729bed2397fbc679a6fafdfef (patch) | |
tree | 22bce7d0c750444713bc7ca90b121afbee7bcc69 /selftest | |
parent | ddcf3614ce14e7cb03195e36f872043542bc4ec1 (diff) | |
download | samba-79b927ac9e22a73729bed2397fbc679a6fafdfef.tar.gz |
selftest: modify python.samba.test.posixacl to cope with nss_winbind active
It was observed that adding libnss_winbind (via nss_wrapper) lets
the posix acl mapping come out slightly differently with respect
to the owner/domain admin who is not explicitly nailed down in
the original NT acl.
This patch extends the test to react to the presence of
nss_winbind in environment and adapts the expected results.
This in particular fixes the run of the test against the
(changed) plugin_s4_dc environment while keeping the possibility
to successfully run it against an env without nss_winbind.
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/selftest/knownfail b/selftest/knownfail index b3cc2d685ff..64fc2cdc25d 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -314,11 +314,3 @@ # 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\)$ |