]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: Pass AUTH_EXCLUDE_RESOURCE_GROUPS into samba_kdc_obtain_user_info_dc()
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 4 Oct 2023 03:23:12 +0000 (16:23 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Oct 2023 23:13:32 +0000 (23:13 +0000)
As the ‘group_inclusion’ parameter has an effect only if the
‘resource_groups_out’ parameter is non‐NULL, this does not result in a
change in behaviour.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/pac-glue.c

index 9a0d4ac33d35675a3e7cbe448adc6c48a0ecf012..40d4099633c0878b4d6234b65e5bd9cb7a386a89 100644 (file)
@@ -2592,7 +2592,7 @@ krb5_error_code samba_kdc_update_pac(TALLOC_CTX *mem_ctx,
                        code = samba_kdc_obtain_user_info_dc(tmp_ctx,
                                                             context,
                                                             samdb,
-                                                            AUTH_INCLUDE_RESOURCE_GROUPS,
+                                                            AUTH_EXCLUDE_RESOURCE_GROUPS,
                                                             delegated_proxy,
                                                             &auth_user_info_dc,
                                                             NULL);