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

RE: Simple Paging in OpenLdap 2.2.5

These pages are useful if you are trying to use it from Java:



I believe you also may need the JNDI/LDAP Booster Pack from Sun:


The only other gotcha we ran into is that you have to ask for the paged result control cookie AFTER you iterate over the first group of results.  If you ask for it before you iterate over the results, it doesn't work.


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org [mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Pierangelo Masarati
Sent: Tuesday, February 17, 2004 9:50 AM
To: jon@illumining.com
Cc: OpenLDAP-software@OpenLDAP.org
Subject: Re: Simple Paging in OpenLdap 2.2.5

> Hi there,
> Could anyone give me an example of how to use paging with a set of
> results from OpenLdap? Version 2.2.5 is supposed to support paging
> according to the roadmap and I cant seem to get it working at all. If
> this is not the correct list to post such questions- please could you
> direct me to a more
> appropriate list.
> Any client code (in any langauge) that showed connecting to OpenLdap and
> paging through a set of results would be useful. I've already tried it
> with JNDI to no avail.

look at clients/tools/ldpasearch; you'll see hoe the control
is set, with its parameters; you can also try it out of the box.


Pierangelo Masarati