URL: https://github.com/SSSD/sssd/pull/861
Author: jhrozek
 Title: #861: IPA: Allow paging when fetching external groups
Action: opened

PR body:
"""
For some reason (I guess a mistake during refactoring..) the LDAP search 
request that fetches the external groups does not enable the paging 
control. This means that the number of external groups that SSSD can fetch
is limited to 2000.

Resolves: https://pagure.io/SSSD/sssd/issue/4058
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/861/head:pr861
git checkout pr861
From 479c53d27f5b7cf09a171df74796949fd39c2cfd Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhro...@redhat.com>
Date: Fri, 5 Jul 2019 10:09:15 +0200
Subject: [PATCH] IPA: Allow paging when fetching external groups

For some reason (I guess a mistake during refactoring..) the LDAP search
request that fetches the external groups does not enable the paging
control. This means that the number of external groups that SSSD can
fetch is limited to 2000.

Resolves: https://pagure.io/SSSD/sssd/issue/4058
---
 src/providers/ipa/ipa_subdomains_ext_groups.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/providers/ipa/ipa_subdomains_ext_groups.c b/src/providers/ipa/ipa_subdomains_ext_groups.c
index bcf2d930e4..480c4ee9a3 100644
--- a/src/providers/ipa/ipa_subdomains_ext_groups.c
+++ b/src/providers/ipa/ipa_subdomains_ext_groups.c
@@ -541,7 +541,7 @@ static void ipa_get_ad_memberships_connect_done(struct tevent_req *subreq)
     subreq = sdap_search_bases_send(state, state->ev, state->sdap_id_ctx->opts,
                             sdap_id_op_handle(state->sdap_op),
                             state->sdap_id_ctx->opts->sdom->group_search_bases,
-                            NULL, false,
+                            NULL, true,
                             dp_opt_get_int(state->sdap_id_ctx->opts->basic,
                                             SDAP_ENUM_SEARCH_TIMEOUT),
                             IPA_EXT_GROUPS_FILTER,
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org

Reply via email to