[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapsearch fails with limit exceeded
- To: openldap-software@OpenLDAP.org
- Subject: ldapsearch fails with limit exceeded
- From: Norbert Wegener <nw@sbs.de>
- Date: Tue, 26 Sep 2006 17:10:41 +0200
- User-agent: Thunderbird 1.5.0.7 (X11/20060922)
ldapsearch returns max. 2000 items, hot honouring the
Size limit exceeded (4)
This problem and a possible solution have been proposed already some
years ago at:
http://www.openldap.org/lists/openldap-software/200310/msg00454.html
...
Is it possible to ask openldap get [0..500] then [501..600]... etc?
If you want to toy with paged results (elective) extension to LDAP,
you might try 2.2 (currently in beta).
....
My current ldapsearch :
ldapsearch: @(#) $OpenLDAP: ldapsearch 2.2.26 (Jun 26 2006 13:03:11) $
buildd@terranova:/build/buildd/openldap2.2-2.2.26/debian/build/clients/tools
(LDAP library: OpenLDAP 20226)
seems to contain some support for this:
root@de70171c:/home# type ldapsearch
ldapsearch is hashed (/usr/bin/ldapsearch)
root@de70171c:/home# strings /usr/bin/ldapsearch|grep paged
[!]pr=<size>[/prompt|noprompt] (paged results/prompt)
Invalid entries estimate in paged results response.
# with pagedResults %scontrol: size=%d
man ldapsearch does not mention anything about it, so does ldapsearch support this "paged results"? If so, how can I make use of it?
Thanks
Norbert Wegener