diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2022-01-26 15:53:45 +1300 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2022-01-26 11:44:32 +0000 |
commit | f37682747898591b37405f9e96a8135c15638637 (patch) | |
tree | ee543f948b12c2265e659637485d4f7d078a0f4f /python | |
parent | 891201f154a2ca05b7fc8ec78492a79ee0bddafe (diff) | |
download | samba-f37682747898591b37405f9e96a8135c15638637.tar.gz |
pytest:auth_log: expect TLS connections when using ldaps
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/tests/auth_log.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/samba/tests/auth_log.py b/python/samba/tests/auth_log.py index d1e102bdcab..9949b0abe4d 100644 --- a/python/samba/tests/auth_log.py +++ b/python/samba/tests/auth_log.py @@ -565,7 +565,7 @@ class AuthLogTests(samba.tests.auth_log_base.AuthLogTestBase): self.assertEqual("NT_STATUS_OK", msg["Authentication"]["status"]) self.assertEqual("LDAP", msg["Authentication"]["serviceDescription"]) - self.assertEqual("simple bind", + self.assertEqual("simple bind/TLS", msg["Authentication"]["authDescription"]) self.assertEqual( EVT_ID_SUCCESSFUL_LOGON, msg["Authentication"]["eventId"]) @@ -579,7 +579,7 @@ class AuthLogTests(samba.tests.auth_log_base.AuthLogTestBase): (msg["Authentication"]["status"] == "NT_STATUS_WRONG_PASSWORD") and (msg["Authentication"]["authDescription"] == - "simple bind") and + "simple bind/TLS") and (msg["Authentication"]["eventId"] == EVT_ID_UNSUCCESSFUL_LOGON) and (msg["Authentication"]["logonType"] == @@ -611,7 +611,7 @@ class AuthLogTests(samba.tests.auth_log_base.AuthLogTestBase): (msg["Authentication"]["status"] == "NT_STATUS_NO_SUCH_USER") and (msg["Authentication"]["authDescription"] == - "simple bind") and + "simple bind/TLS") and (msg["Authentication"]["eventId"] == EVT_ID_UNSUCCESSFUL_LOGON) and (msg["Authentication"]["logonType"] == @@ -641,7 +641,7 @@ class AuthLogTests(samba.tests.auth_log_base.AuthLogTestBase): (msg["Authentication"]["status"] == "NT_STATUS_NO_SUCH_USER") and (msg["Authentication"]["authDescription"] == - "simple bind") and + "simple bind/TLS") and (msg["Authentication"]["eventId"] == EVT_ID_UNSUCCESSFUL_LOGON) and (msg["Authentication"]["logonType"] == |