diff options
author | Andrew Bartlett <abartlet@samba.org> | 2017-07-18 09:03:17 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-07-25 03:21:19 +0200 |
commit | a420b1bdccbba72faf1108f7fae8b8202075db97 (patch) | |
tree | 00f57c32134a49670f6b40428048e1caf7e869fa | |
parent | 427a11b812d1872879658c998ef0328dd7c2a53a (diff) | |
download | samba-a420b1bdccbba72faf1108f7fae8b8202075db97.tar.gz |
selftest: Use NETLOGON_NEG_STRONG_KEYS constant in AuthLogTestsNetLogonBadCreds
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul 25 03:21:19 CEST 2017 on sn-devel-144
-rw-r--r-- | python/samba/tests/auth_log_netlogon_bad_creds.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/tests/auth_log_netlogon_bad_creds.py b/python/samba/tests/auth_log_netlogon_bad_creds.py index fedd8a1d412..2bae02e21ba 100644 --- a/python/samba/tests/auth_log_netlogon_bad_creds.py +++ b/python/samba/tests/auth_log_netlogon_bad_creds.py @@ -36,7 +36,7 @@ from samba.auth import system_session from samba.tests import delete_force from samba.dsdb import UF_WORKSTATION_TRUST_ACCOUNT, UF_PASSWD_NOTREQD from samba.dcerpc.misc import SEC_CHAN_WKSTA - +from samba.dcerpc.netlogon import NETLOGON_NEG_STRONG_KEYS class AuthLogTestsNetLogonBadCreds(samba.tests.auth_log_base.AuthLogTestBase): @@ -172,7 +172,7 @@ class AuthLogTestsNetLogonBadCreds(samba.tests.auth_log_base.AuthLogTestBase): SEC_CHAN_WKSTA, self.netbios_name, creds, - 0x00004000) + NETLOGON_NEG_STRONG_KEYS) except NTSTATUSError: pass self.waitForMessages(isLastExpectedMessage) |