On 7/10/07, Ignacio Arenaza <iarenuno@eteo.mondragon.edu> wrote:
>
> Hi,
>
> now that there seems to be a maintainer of the LDAP extension (I've
> cc'ed this message to him), I thought I could try to push this patch
> again :-)
>
> Instead of trying to push my own (limited) patch which only supports
> pagedResults control extension, I've taken Pierangelo Masarati's
> patches (PAT18 and PAT19) and have updated them to apply to 5.2.3
> cleanly (as of today) and fixed a memory leak.
>
> In addition to it, I've added 4 test scripts based on the examples
> from Pierangelo, with a few modifications by me.
>
> I have tested this patch by building PHP with OpenLDAP 2.2.23
> libraries (under Debian Sarge) and run the test scripts against both
> OpenLDAP 2.2.23 slapd server and MS Active Directory (runnning under
> W2K3 in W2K3 functional mode). OpenLDAP passes all the tests except
> passwordPolicy control extension (because it doesn't support it) and
> MS Active Directory passes only the pagedResult test (because it
> doesn't support the rest of the implemented controls for which tests
> exist).
>
> The patch is available at:
>
> http://www.eteo.mondragon.edu/descargas/php-ldap/php-ext-ldap-5.2.3.diff.txt.gz
>
> Could you please add this to the next stable PHP release? I badly need
> pagedResults control extension support in PHP :-)
I would suggest to open a new "bug" here:
http://bugs.php.net
and add the link + explanation in it.
It is easier for all of us to track feature requrets or bugs there.
Thanks for your work,
--Pierre