Vincent MATHIEU vincent.mathieu@univ-nancy2.fr writes:
I try to do a search in an openldap server. This search can return a large number of entries (> 30 000) ; the sizelimit parameter in slapd.conf is set to 2100.
I use Net::LDAP perl module, LDAP_CONTROL_PAGED control and a code like the example in paged.pm (http://search.cpan.org/~gbarr/perl-ldap/lib/Net/LDAP/Control/Paged.pm). I set size parameter of Net::LDAP::Control::Paged to 1000.
openldap return's 1000 entries with 2 first search call, but an error code 4 (Sizelimit exceeded) occurs in third search call :
[...]
Is it the normal behaviour ?
yes, as sizelimit is set to 2100, simple paged results does not override the configured sizelimit declaration.
How can I do to get all entries from ou people ?
set sizelimit to -1 in slapd.conf
-Dieter