summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_connection.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-04-25 14:17:45 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-04-27 11:47:24 -0400
commitb35da26911249aa48052655eef02f16e12930cf9 (patch)
tree88ed5da63497f980468dbffcad3a7db54382eec0 /src/providers/ldap/sdap_async_connection.c
parent5ed0e9f015a9948530292918dce7b8d46dcd0d6b (diff)
downloadsssd-b35da26911249aa48052655eef02f16e12930cf9.tar.gz
sssd-b35da26911249aa48052655eef02f16e12930cf9.tar.xz
sssd-b35da26911249aa48052655eef02f16e12930cf9.zip
Add ldap_page_size configuration option
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 500e5f886..40ed585c6 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) {