diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-21 21:03:26 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-24 09:59:42 -0500 |
commit | 2f3ee3f49019f5b60adbe073070f31e6e2d7c7ab (patch) | |
tree | 2242d20771f8aa6e687a0fca5ee6e9b7614e8ebe /src/providers/ldap/sdap_sudo.c | |
parent | 7f5de490e24f1389501b939b742a9e5675f1c41d (diff) | |
download | sssd-2f3ee3f49019f5b60adbe073070f31e6e2d7c7ab.tar.gz sssd-2f3ee3f49019f5b60adbe073070f31e6e2d7c7ab.tar.xz sssd-2f3ee3f49019f5b60adbe073070f31e6e2d7c7ab.zip |
LDAP: Only use paging control on requests for multiple entries
The paging control can cause issues on servers that put limits on
how many paging controls can be active at one time (on some
servers, it is limited to one per connection). We need to reduce
our usage so that we only activate the paging control when making
a request that may return an arbitrary number of results.
https://fedorahosted.org/sssd/ticket/1202 phase one
Diffstat (limited to 'src/providers/ldap/sdap_sudo.c')
-rw-r--r-- | src/providers/ldap/sdap_sudo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c index 4aaf04ced..02d4f17bc 100644 --- a/src/providers/ldap/sdap_sudo.c +++ b/src/providers/ldap/sdap_sudo.c @@ -514,7 +514,8 @@ static errno_t sdap_sudo_load_sudoers_next_base(struct tevent_req *req) state->attrs, state->opts->sudorule_map, SDAP_OPTS_SUDO, - state->timeout); + state->timeout, + true); if (subreq == NULL) { return ENOMEM; } |