tests/rodc: Test for NTLM wrong password forwarding
authorGarming Sam <garming@catalyst.net.nz>
Wed, 26 Apr 2017 01:41:03 +0000 (13:41 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 May 2017 06:06:06 +0000 (08:06 +0200)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/knownfail
source4/dsdb/tests/python/rodc_rwdc.py

index c6047c854455802db1e5110d7c0c49142d809345..76578c9517a1793b984767a48baa25ab16506d0b 100644 (file)
 # 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
index f0910c9e9c1cf1d793ad7406a2f6bf1930f29930..85fa85df187d07c7e94f7b54f6912cf395390d9b 100644 (file)
@@ -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):