[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: retrieve all entries of a search



Francois Beretti <francois.beretti@enatel.com> writes:

> Hello,
>
> due to search results limits (in size and operation time), a call to
> ldap_search_ext_s() won't allways retrieve all the entries matching
> the search. What is the best way to achieve this goal ?
> I don't want answers like "log as rootdn" please :-)
>
> is it possible to do several searches ?
> I know that paged searches are not yet implemented in OpenLDAP.
>
> The only way I found is to make a first search, then build a huge
> filter excluding the previous results, and do it until there is no
> more result. Completly stupid :)

 Extended Control paged results is supported by OpenLDAP
ldapsearch -Epr=<n> 

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:01443B53