From 44b0ebefb2546a81152b9f2a6d463d3949519c40 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Wed, 26 Apr 2017 13:41:03 +1200 Subject: tests/rodc: Test for NTLM wrong password forwarding Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett --- source4/dsdb/tests/python/rodc_rwdc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/dsdb/tests') 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): -- cgit v1.2.1