selftest: Add test for password change when NTLM is disabled
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 4 Jul 2017 05:27:27 +0000 (17:27 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 21 Jul 2017 11:54:35 +0000 (13:54 +0200)
commit4e04f025a0665e2573bdd92efe9ba5aa9dcd82d7
tree55e931c1c67f13612a32957475cc832096b97ff4
parent4031b303e495210ee8d6a4e2dd49974d90f9c402
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
python/samba/tests/ntlmauth.py
selftest/knownfail