]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:auth: let check_sam_security() add NETLOGON_NTLMV2_ENABLED
authorStefan Metzmacher <metze@samba.org>
Wed, 15 Jan 2025 11:41:21 +0000 (12:41 +0100)
committerJule Anger <janger@samba.org>
Mon, 3 Feb 2025 14:53:10 +0000 (14:53 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15783

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 10f38aff7c23dc20bc98cf0e02a430f8b0d7b1ad)

source3/auth/check_samsec.c

index 1e55fedb6151012201ead2df53d84153d6dc9598..cfaf413eba0da5134363513232550e877d948ce5 100644 (file)
@@ -575,6 +575,8 @@ NTSTATUS check_sam_security(const DATA_BLOB *challenge,
                goto done;
        }
 
+       (*server_info)->info3->base.user_flags |= NETLOGON_NTLMV2_ENABLED;
+
        (*server_info)->session_key =
                data_blob_talloc(*server_info, user_sess_key.data,
                                 user_sess_key.length);