summaryrefslogtreecommitdiff
path: root/source4/dsdb/tests
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2017-04-26 13:41:03 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-05-30 08:06:06 +0200
commit44b0ebefb2546a81152b9f2a6d463d3949519c40 (patch)
tree4bc6688038360a45ddcd940df399a618f89a68e6 /source4/dsdb/tests
parentb50a147a7e40e17d0e280b4c705ac25cea78c869 (diff)
downloadsamba-44b0ebefb2546a81152b9f2a6d463d3949519c40.tar.gz
tests/rodc: Test for NTLM wrong password forwarding
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/tests')
-rw-r--r--source4/dsdb/tests/python/rodc_rwdc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/rodc_rwdc.py b/source4/dsdb/tests/python/rodc_rwdc.py
index f0910c9e9c1..85fa85df187 100644
--- a/source4/dsdb/tests/python/rodc_rwdc.py
+++ b/source4/dsdb/tests/python/rodc_rwdc.py
@@ -561,7 +561,9 @@ class RodcRwdcTests(password_lockout_base.BasePasswordTestCase):
creds2 = make_creds(username, password)
self.try_ldap_logon(RWDC, creds2)
- self.try_ldap_logon(RODC, creds2, errno)
+ # We can forward WRONG_PASSWORD over NTLM.
+ # This SHOULD succeed.
+ self.try_ldap_logon(RODC, creds2)
def test_change_password_reveal_on_demand_ntlm(self):