summaryrefslogtreecommitdiff
path: root/selftest/knownfail
diff options
context:
space:
mode:
authorTim Beale <timbeale@catalyst.net.nz>2019-02-26 10:53:43 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-03-04 21:41:16 +0000
commit4f21f1ca8d566624a11ab14cdc7698f0ddb45985 (patch)
tree558503bfa4053fb3a6ad2b1dc215b18b777ea496 /selftest/knownfail
parent3dab656394447d10d90acb1a19326bf29eec55a3 (diff)
downloadsamba-4f21f1ca8d566624a11ab14cdc7698f0ddb45985.tar.gz
tests: Remove explicit SOCKET_WRAPPER usage from auth_log tests
The auth-logging tests are an odd combination of server and client behaviour. On the one hand we want a IRPC connection to see the auth events being logged on the server. On the other hand, we want the auth events to appear to be happening on a client. Currently we hardcode in the use of a SOCKET_WRAPPER interface to make this happen. We can avoid this explicit socket wrapper usage by using the server smb.conf instead in the one place we actually want to act like the server (creating the IRPC connection). Then we can switch from using the 'ad_dc*:local' testenvs to use 'ad_dc*', in order to act like a client by default. The SERVERCONFFILE environment variable has already been added for the few cases where a test needs explicit access to the server's smb.conf. However, for samba.tests.auth_log, the samlogon test cases are still reliant on being run on the :local testenv, and so we can't switch them over just yet. This is because the samlogon is using the DC's machine creds underneath, which will fail on the non-local testenv. We could create separate machine creds for the client and use those, but this is a non-trivial rework of the test code. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/knownfail')
-rw-r--r--selftest/knownfail4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/knownfail b/selftest/knownfail
index dc78838f9c1..750b5f51e3f 100644
--- a/selftest/knownfail
+++ b/selftest/knownfail
@@ -339,9 +339,9 @@
^samba4.blackbox.dbcheck-links.release-4-5-0-pre1.dbcheck_dangling_multi_valued_clean
^samba4.blackbox.dbcheck-links.release-4-5-0-pre1.dangling_multi_valued_check_missing
#
-# rap password tests don't function in the ad_dc_ntvfs:local environment
+# rap password tests don't function in the ad_dc_ntvfs environment
#
-^samba.tests.auth_log_pass_change.samba.tests.auth_log_pass_change.AuthLogPassChangeTests.test_rap_change_password\(ad_dc_ntvfs:local\)
+^samba.tests.auth_log_pass_change.samba.tests.auth_log_pass_change.AuthLogPassChangeTests.test_rap_change_password\(ad_dc_ntvfs\)
# We currently don't send referrals for LDAP modify of non-replicated attrs
^samba4.ldap.rodc.python\(rodc\).__main__.RodcTests.test_modify_nonreplicated.*
^samba4.ldap.rodc_rwdc.python.*.__main__.RodcRwdcTests.test_change_password_reveal_on_demand_kerberos