Re: LDAP module patch (adding new functionality).
| From: | Sara Golemon | Date: | Tue, 11 Oct 2005 23:36:15 +0000 |
| Subject: | Re: LDAP module patch (adding new functionality). | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19572@lists.php.net to get a copy of this message | ||
Attachments have a habbit of getting filtered out (as they did this time),
can you post them online somewhere with a link? Changing the file ext to
.txt usually works too...
-Sara
----- Original Message -----
From: "Ignacio Arenaza" <iarenuno@eteo.mondragon.edu>
Newsgroups: php.internals
To: "Stig Venaas" <venaas@php.net>
Cc: <internals@lists.php.net>; <iarenaza@escomposlinux.org>
Sent: Tuesday, October 11, 2005 2:47 PM
Subject: LDAP module patch (adding new functionality).
>
> Hi,
>
> I have modified the ldap module to be able to use Paged Results (see
> RFC 2696).
>
> In order to do that, I have modified ldap_parse_result to provide the
> server controls to the user. This is where paged results control
> returned from the server are, specifically the cookie value. Without
> this value you can't do paged results at all.
>
> The values returned in this extension control are BER-encoded (see
> ITU's X.690 recommendation) so I have created two new functions that
> wrap around ber_printf() and ber_scanf(), to allow for the
> encodig/decoding of these values.
>
> I have tested these modifications with W2003 AD and OpenLDAP 2.1.x
> servers, using a linux PHP client linked with OpenLDAP libraries (I
> don't have access to neither Netscape's nor Oracle's libraries to test
> them).
>
> I have made diffs against current CVS versions (as of today,
> 2005.10.11, 23:15 CET DST) for PHP_4_4, PHP_5_0 and PHP_5_1
> branches. I'm sending them attached (they are really small).
>
> I hope this could be added to the standard version of PHP in the near
> future.
>
> Thanks in advance for your time.
>
> Saludos. Iñaki.
>
> --
> School of Management
> Mondragon University
> 20560 Oñati - Spain
> +34 943 718009 (ext. 225)
>
> GPG Key available at public keyservers
>
>