[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Retrieving more results after LDAP_SIZELIMIT_EXCEEDED
- To: <OpenLDAP-software@OpenLDAP.org>
- Subject: Retrieving more results after LDAP_SIZELIMIT_EXCEEDED
- From: "Jiang, David" <David_Jiang@inter-tel.com>
- Date: Fri, 2 Jul 2004 14:09:48 -0700
- Content-class: urn:content-classes:message
- Thread-index: AcRgeOMsy2KRoigbT8W0jYkUrmwA+g==
- Thread-topic: Retrieving more results after LDAP_SIZELIMIT_EXCEEDED
Title: Message
Hi,
We are trying
to optimize the performance of our slapd server and client. During
the course of profiling, we noticed that changing the sizelimit
parameter in the slapd.conf file increases the performance considerably on the
server. However, this results in receiving an error code of
LDAP_SIZELIMIT_EXCEEDED when a query returns more results than the sizelimit. Is
it possible to retrieve more results after receiving an LDAP_SIZELIMIT_EXCEEDED?
We have yet to find sample code that does this. Or would it be better to
keep a higher sizelimit parameter in the slapd.conf file but specify a sizelimit
of 1 as a parameter to ldap_search_s when it is known that only 1
entry should be returned? Thanks,
David