]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: samba_kdc_add_compounded_auth() should add Compounded_Authentication again...
authorStefan Metzmacher <metze@samba.org>
Wed, 12 Mar 2025 15:17:58 +0000 (16:17 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 3 Apr 2025 09:36:31 +0000 (09:36 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source4/kdc/pac-glue.c

index 6b80b0461f6afce4ed23c097fd3bcb965a0cdd3d..e8b881cd33be87033fb8a928e33c500ba7e94bf8 100644 (file)
@@ -843,7 +843,11 @@ NTSTATUS samba_kdc_add_fresh_public_key_identity(struct auth_user_info_dc *user_
 
 static NTSTATUS samba_kdc_add_compounded_auth(struct auth_user_info_dc *user_info_dc)
 {
-       return add_sid_to_array_attrs_unique(
+       /*
+        * Windows 2025 adds it even if it's
+        * already there, so we do...
+        */
+       return add_sid_to_array_attrs(
                user_info_dc,
                &global_sid_Compounded_Authentication,
                SE_GROUP_DEFAULT_FLAGS,