diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2015-12-01 13:48:59 +1300 |
---|---|---|
committer | Garming Sam <garming@samba.org> | 2015-12-15 03:17:52 +0100 |
commit | ab1ebb1d1c650396841e4ba4a18b3c08689d4f52 (patch) | |
tree | 9d22a8443bd259b2577f7fecb0533ae32ccd0b28 /source4/dsdb | |
parent | 795f4729ca94029fcee750fbebbe9bc3ea43a214 (diff) | |
download | samba-ab1ebb1d1c650396841e4ba4a18b3c08689d4f52.tar.gz |
password_lockout: test creds.get_kerberos_state()
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Tue Dec 15 03:17:52 CET 2015 on sn-devel-104
Diffstat (limited to 'source4/dsdb')
-rwxr-xr-x | source4/dsdb/tests/python/password_lockout.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/tests/python/password_lockout.py b/source4/dsdb/tests/python/password_lockout.py index e669532b512..e6badbce4e6 100755 --- a/source4/dsdb/tests/python/password_lockout.py +++ b/source4/dsdb/tests/python/password_lockout.py @@ -1657,6 +1657,7 @@ unicodePwd:: """ + base64.b64encode("\"thatsAcomplPASS2\"".encode('utf-16-le')) # and the workstation. creds2 = insta_creds() creds2.set_kerberos_state(use_kerberos) + self.assertEqual(creds2.get_kerberos_state(), use_kerberos) if use_kerberos == MUST_USE_KERBEROS: print "Testing multiple logon with Kerberos" |