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

Re: API: Getting paged results

On Sat, 2006-01-07 at 14:59 +0100, Hans Leidekker wrote:
> On Saturday 07 January 2006 09:25, Pierangelo Masarati wrote:
> > admin limits (like AD, for example)?  The answer is: yes.  But OpenLDAP
> > dos not provide any C API calls to encode/parse pagedResults
> > requests/responses, you'll need to code them yourself maybe following
> > the ldapsearch.c implementation as a guideline.
> I have implemented ldap_create_page_control and ldap_parse_page_control
> myself as part of my implementation of wldap32.dll for Wine. But I was
> wondering, would the OpenLDAP project accept patches that add those to
> the C API?
> I know that paged results are an optional part of the specification and
> that the vlv control subsumes the page control, but still, the server
> does implement the page control. And it would certainly ease the porting
> of software to OpenLDAP if there was corresponding support in the C API.

I think any patch is welcome and will be integrated in OpenLDAP,
provided it complies with the OpenLDAP license and based on time and
resources by team members.

Feel free to submit it via the ITS, and make sure you comply with
indications at <http://www.openldap.org/devel/contributing.html> to
speed up integration process.  Of course, patches should be made for the
most recent HEAD code.


Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it