errorcode - Administrative limit exceeded

[email protected]
Newsgroups gmane.comp.mozilla.devel.directory
Organization http://groups.google.com
Message-ID <[email protected]>
Hi,

I have created a test client program using LDAP C SDK 5.12, to
retrieve data from iPlanet Directory Server 5.1.

I am using asynchronous function call ldap_search_ext with NULL
timeout and 0 sizelimit. In continuation I am trying to get results
using ldap_result with LDAP_MSG_ALL keeping various values of timeout.
I was getting error "sizelimit exceeded" for search result more tan
2000. After setting nsslapd-sizelimit to a larger value I am able to
retrieve 5000 entries accompanied by error "Administrative limit
exceeded".

Please let me know underlying reason for it. If there is any
configuration parameter to be set to a higher value?

Also when I set timelimit to some finite value less than time required
to fetch all results for any query, what will be the response of
ldap_result with parameter LDAP_MSG_ALL?

Any suggestion in this regard will be highly appreciated.

Thanks
Bhawna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.