]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests/auth_log: adjust expected authDescription for test_smb_bad_user
authorStefan Metzmacher <metze@samba.org>
Wed, 19 Jan 2022 16:25:00 +0000 (17:25 +0100)
committerJoseph Sutton <jsutton@samba.org>
Wed, 19 Jan 2022 20:50:35 +0000 (20:50 +0000)
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 <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
python/samba/tests/auth_log.py

index d57d765a83a7551baac3014efe4f0a4cf90e002e..d1e102bdcabe8f31042ae751761b0e44f8886cc0 100644 (file)
@@ -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"] ==