summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_connection.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-04-25 13:14:01 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-05-24 14:54:38 -0400
commitce9f6745de1d52ef1161d0d7b09ba039f383a093 (patch)
treee03d5b58523e420582ce6250845c158257e1a70f /src/providers/ldap/sdap_async_connection.c
parent6a21eb70c4d2b5b64aa52af9e8690eb68ccbdd76 (diff)
downloadsssd-ce9f6745de1d52ef1161d0d7b09ba039f383a093.tar.gz
sssd-ce9f6745de1d52ef1161d0d7b09ba039f383a093.tar.xz
sssd-ce9f6745de1d52ef1161d0d7b09ba039f383a093.zip
Enable paging support for LDAP
Diffstat (limited to 'src/providers/ldap/sdap_async_connection.c')
-rw-r--r--src/providers/ldap/sdap_async_connection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c
index 1a61f15fe..aa6725e83 100644
--- a/src/providers/ldap/sdap_async_connection.c
+++ b/src/providers/ldap/sdap_async_connection.c
@@ -108,6 +108,10 @@ struct tevent_req *sdap_connect_send(TALLOC_CTX *memctx,
talloc_zfree(req);
return NULL;
}
+
+ state->sh->page_size = dp_opt_get_int(state->opts->basic,
+ SDAP_PAGE_SIZE);
+
/* Initialize LDAP handler */
lret = ldap_initialize(&state->sh->ldap, uri);
if (lret != LDAP_SUCCESS) {