Blame SOURCES/0037-IPA-Allow-paging-when-fetching-external-groups.patch

5fca41
From 0ca64be4d6d3080e0c344f5ad61545339f64a2aa Mon Sep 17 00:00:00 2001
5fca41
From: Jakub Hrozek <jhrozek@redhat.com>
5fca41
Date: Fri, 5 Jul 2019 10:09:15 +0200
5fca41
Subject: [PATCH] IPA: Allow paging when fetching external groups
5fca41
5fca41
For some reason (I guess a mistake during refactoring..) the LDAP search
5fca41
request that fetches the external groups does not enable the paging
5fca41
control. This means that the number of external groups that SSSD can
5fca41
fetch is limited to 2000.
5fca41
5fca41
Resolves: https://pagure.io/SSSD/sssd/issue/4058
5fca41
5fca41
Reviewed-by: Sumit Bose <sbose@redhat.com>
5fca41
(cherry picked from commit c2e24df4320d46577aca8d1268f0336af443d541)
5fca41
---
5fca41
 src/providers/ipa/ipa_subdomains_ext_groups.c | 2 +-
5fca41
 1 file changed, 1 insertion(+), 1 deletion(-)
5fca41
5fca41
diff --git a/src/providers/ipa/ipa_subdomains_ext_groups.c b/src/providers/ipa/ipa_subdomains_ext_groups.c
5fca41
index 63ff7c7d7..75963bef1 100644
5fca41
--- a/src/providers/ipa/ipa_subdomains_ext_groups.c
5fca41
+++ b/src/providers/ipa/ipa_subdomains_ext_groups.c
5fca41
@@ -541,7 +541,7 @@ static void ipa_get_ad_memberships_connect_done(struct tevent_req *subreq)
5fca41
     subreq = sdap_search_bases_send(state, state->ev, state->sdap_id_ctx->opts,
5fca41
                             sdap_id_op_handle(state->sdap_op),
5fca41
                             state->sdap_id_ctx->opts->sdom->group_search_bases,
5fca41
-                            NULL, false,
5fca41
+                            NULL, true,
5fca41
                             dp_opt_get_int(state->sdap_id_ctx->opts->basic,
5fca41
                                             SDAP_ENUM_SEARCH_TIMEOUT),
5fca41
                             IPA_EXT_GROUPS_FILTER,
5fca41
-- 
5fca41
2.20.1
5fca41