# returning message too big,
msg = messages[0]
self.assertEqual("Authentication", msg["type"])
- self.assertEqual("NT_STATUS_OK", msg["Authentication"]["status"])
+ self.assertEqual("NT_STATUS_PROTOCOL_UNREACHABLE", # RESPONSE_TOO_BIG
+ msg["Authentication"]["status"])
self.assertEqual("Kerberos KDC",
msg["Authentication"]["serviceDescription"])
self.assertEqual(authTypes[1],
msg["Authentication"]["authDescription"])
self.assertEqual(
- EVT_ID_SUCCESSFUL_LOGON, msg["Authentication"]["eventId"])
+ EVT_ID_UNSUCCESSFUL_LOGON, msg["Authentication"]["eventId"])
self.assertEqual(
EVT_LOGON_NETWORK, msg["Authentication"]["logonType"])
# Check the second message it should be an Authentication
msg = messages[1]
self.assertEqual("Authentication", msg["type"])
- self.assertEqual("NT_STATUS_OK", msg["Authentication"]["status"])
+ self.assertEqual("NT_STATUS_PROTOCOL_UNREACHABLE", # RESPONSE_TOO_BIG
+ msg["Authentication"]["status"])
self.assertEqual("Kerberos KDC",
msg["Authentication"]["serviceDescription"])
self.assertEqual(authTypes[2],
msg["Authentication"]["authDescription"])
self.assertEqual(
- EVT_ID_SUCCESSFUL_LOGON, msg["Authentication"]["eventId"])
+ EVT_ID_UNSUCCESSFUL_LOGON, msg["Authentication"]["eventId"])
self.assertEqual(
EVT_LOGON_NETWORK, msg["Authentication"]["logonType"])
# Check the first message it should be an Authentication
msg = messages[0]
self.assertEqual("Authentication", msg["type"])
- self.assertEqual("NT_STATUS_OK", msg["Authentication"]["status"])
+ self.assertEqual("NT_STATUS_PROTOCOL_UNREACHABLE", # RESPONSE_TOO_BIG
+ msg["Authentication"]["status"])
self.assertEqual("Kerberos KDC",
msg["Authentication"]["serviceDescription"])
self.assertEqual("ENC-TS Pre-authentication",
msg["Authentication"]["authDescription"])
self.assertTrue(msg["Authentication"]["duration"] > 0)
self.assertEqual(
- EVT_ID_SUCCESSFUL_LOGON, msg["Authentication"]["eventId"])
+ EVT_ID_UNSUCCESSFUL_LOGON, msg["Authentication"]["eventId"])
self.assertEqual(
EVT_LOGON_NETWORK, msg["Authentication"]["logonType"])
# Check the first message it should be an Authentication
msg = messages[0]
self.assertEqual("Authentication", msg["type"])
- self.assertEqual("NT_STATUS_OK", msg["Authentication"]["status"])
+ self.assertEqual("NT_STATUS_PROTOCOL_UNREACHABLE", # RESPONSE_TOO_BIG
+ msg["Authentication"]["status"])
self.assertEqual("Kerberos KDC",
msg["Authentication"]["serviceDescription"])
self.assertEqual("ENC-TS Pre-authentication",
msg["Authentication"]["authDescription"])
- self.assertEqual(EVT_ID_SUCCESSFUL_LOGON,
+ self.assertEqual(EVT_ID_UNSUCCESSFUL_LOGON,
msg["Authentication"]["eventId"])
self.assertEqual(EVT_LOGON_NETWORK,
msg["Authentication"]["logonType"])
^samba.tests.krb5.authn_policy_tests.samba.tests.krb5.authn_policy_tests.AuthnPolicyTests.test_samlogon_allowed_to_no_owner.ad_dc
^samba.tests.krb5.authn_policy_tests.samba.tests.krb5.authn_policy_tests.AuthnPolicyTests.test_samlogon_allowed_to_service_deny.ad_dc
^samba.tests.krb5.authn_policy_tests.samba.tests.krb5.authn_policy_tests.AuthnPolicyTests.test_samlogon_allowed_to_service_deny_to_self.ad_dc
+#
+# Authentication logging tests
+#
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_ldap.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_ldap.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_ip_tcp_krb5_dns.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_ip_tcp_krb5_dns.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_ip_tcp_krb5_dns_connect.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_ip_tcp_krb5_dns_connect.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_ip_tcp_krb5_dns_seal.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_ip_tcp_krb5_dns_seal.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_ip_tcp_krb5_dns_sign.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_ip_tcp_krb5_dns_sign.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_dns.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_dns.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_dns_sign.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_dns_sign.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_dns_smb2.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_dns_smb2.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_srv.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_srv.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_srv_sign.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_rpc_ncacn_np_krb_srv_sign.ad_dc_smb1:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_smb.ad_dc_ntvfs:local
+^samba.tests.auth_log.samba.tests.auth_log.AuthLogTests.test_smb.ad_dc_smb1:local