summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorTim Beale <timbeale@catalyst.net.nz>2017-07-04 17:27:27 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-07-21 13:54:35 +0200
commit4e04f025a0665e2573bdd92efe9ba5aa9dcd82d7 (patch)
tree55e931c1c67f13612a32957475cc832096b97ff4 /selftest
parent4031b303e495210ee8d6a4e2dd49974d90f9c402 (diff)
downloadsamba-4e04f025a0665e2573bdd92efe9ba5aa9dcd82d7.tar.gz
selftest: Add test for password change when NTLM is disabled
When NTLM is disabled, the server should reject NTLM-based password changes. Changing the password is a bit complicated from python, but because the server should reject the password change outright with NTLM_BLOCKED, the test doesn't actually need to provide valid credentials. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11923 Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 21 13:54:35 CEST 2017 on sn-devel-144
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail2
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest/knownfail b/selftest/knownfail
index 1cba331bcf0..f41b99d0e39 100644
--- a/selftest/knownfail
+++ b/selftest/knownfail
@@ -342,3 +342,5 @@
^samba.tests.netlogonsvc.python\(fileserver\)
# NTLM authentication is (intentionally) disabled in ktest
^samba.tests.ntlmauth.python\(ktest\).ntlmauth.NtlmAuthTests.test_ntlm_connection\(ktest\)
+# Disabling NTLM means you can't use samr to change the password
+^samba.tests.ntlmauth.python\(ktest\).ntlmauth.NtlmAuthTests.test_samr_change_password\(ktest\)