Re: openldap and LDAP_CONTROL_PAGED

2007-03-19 Thread Quanah Gibson-Mount
--On Monday, March 19, 2007 2:06 PM +0100 Vincent MATHIEU <[EMAIL PROTECTED]> wrote: I try to do a search with an openldap server. This search can return a very large number of entries (> 30 000) ; the sizelimit parameter in slapd.conf is set to 2100. I use a code like the example in paged.

RE: openldap and LDAP_CONTROL_PAGED

2007-03-19 Thread Don C. Miller
Vincent, I am not sure if anyone has responded to you yet but this *is* expected behavior. Even though you are paging the search you may still be hitting a limit on the search results. The search results should still contain the additional ~100 entries returned before you hit the limit. Don

openldap and LDAP_CONTROL_PAGED

2007-03-19 Thread Vincent MATHIEU
I try to do a search with an openldap server. This search can return a very large number of entries (> 30 000) ; the sizelimit parameter in slapd.conf is set to 2100. I use a code like the example in paged.pm (http://search.cpan.org/~gbarr/perl-ldap/lib/Net/LDAP/Control/Paged.pm). I set size