diff options
author | Garming Sam <garming@catalyst.net.nz> | 2017-04-26 13:41:03 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-05-30 08:06:06 +0200 |
commit | 44b0ebefb2546a81152b9f2a6d463d3949519c40 (patch) | |
tree | 4bc6688038360a45ddcd940df399a618f89a68e6 | |
parent | b50a147a7e40e17d0e280b4c705ac25cea78c869 (diff) | |
download | samba-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>
-rw-r--r-- | selftest/knownfail | 1 | ||||
-rw-r--r-- | source4/dsdb/tests/python/rodc_rwdc.py | 4 |
2 files changed, 4 insertions, 1 deletions
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): |