From: Stefan Metzmacher Date: Wed, 19 Jan 2022 16:25:00 +0000 (+0100) Subject: tests/auth_log: adjust expected authDescription for test_smb_bad_user X-Git-Tag: tdb-1.4.6~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52ccce259ddbebcedd5780ee683386d283aabda0;p=thirdparty%2Fsamba.git tests/auth_log: adjust expected authDescription for test_smb_bad_user With NO_SUCH_USER we don't know if any pre-authentication was requested, so with the new Heimdal code we now used use "AS-REQ" instead of assuming ENC-TS Pre-authentication. Signed-off-by: Stefan Metzmacher Reviewed-by: Joseph Sutton --- diff --git a/python/samba/tests/auth_log.py b/python/samba/tests/auth_log.py index d57d765a83a..d1e102bdcab 100644 --- a/python/samba/tests/auth_log.py +++ b/python/samba/tests/auth_log.py @@ -786,7 +786,7 @@ class AuthLogTests(samba.tests.auth_log_base.AuthLogTestBase): (msg["Authentication"]["status"] == "NT_STATUS_NO_SUCH_USER") and (msg["Authentication"]["authDescription"] == - "ENC-TS Pre-authentication") and + "AS-REQ") and (msg["Authentication"]["eventId"] == EVT_ID_UNSUCCESSFUL_LOGON) and (msg["Authentication"]["logonType"] ==