mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
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> (cherry picked from commit f37682747898591b37405f9e96a8135c15638637) BUG: https://bugzilla.samba.org/show_bug.cgi?id=14996
This commit is contained in:
parent
c2a3c17da9
commit
f656f6c917
@ -566,7 +566,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"])
|
||||
@ -580,7 +580,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"] ==
|
||||
@ -612,7 +612,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"] ==
|
||||
@ -642,7 +642,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"] ==
|
||||
|
4
selftest/knownfail.d/authlog
Normal file
4
selftest/knownfail.d/authlog
Normal file
@ -0,0 +1,4 @@
|
||||
samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_ldap_simple_bind
|
||||
samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_ldap_simple_bind_bad_password
|
||||
samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_ldap_simple_bind_bad_user
|
||||
samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_ldap_simple_bind_unparseable_user
|
Loading…
x
Reference in New Issue
Block a user