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

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