diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-04-25 13:14:01 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-10-26 10:28:11 -0400 |
commit | e725104545cc1d852eea80000276ad53e3749887 (patch) | |
tree | 2c00871ea59d348d23690d8faeb9d29bbd4d2336 /src/providers/ldap/sdap_async_connection.c | |
parent | bc7775f49d5a99d52ed19977684283018c922e68 (diff) | |
download | sssd-e725104545cc1d852eea80000276ad53e3749887.tar.gz sssd-e725104545cc1d852eea80000276ad53e3749887.tar.xz sssd-e725104545cc1d852eea80000276ad53e3749887.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.c | 4 |
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) { |