From: Garming Sam Date: Wed, 26 Apr 2017 01:41:03 +0000 (+1200) Subject: tests/rodc: Test for NTLM wrong password forwarding X-Git-Tag: ldb-1.1.30~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b0ebefb2546a81152b9f2a6d463d3949519c40;p=thirdparty%2Fsamba.git tests/rodc: Test for NTLM wrong password forwarding Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett --- diff --git a/selftest/knownfail b/selftest/knownfail index c6047c85445..76578c9517a 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -335,3 +335,4 @@ # 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 +^samba4.ldap.rodc_rwdc.python.*.__main__.RodcRwdcTests.test_change_password_reveal_on_demand_ntlm 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):