From: iarenuno at eteo dot mondragon dot edu Operating system: Any PHP version: 5.2.3 PHP Bug Type: LDAP related Bug description: [PATCH] Add pagedResults support and more (PAT18 and PAT19 updated for 5.2.3)
Description: ------------ 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 :-) Saludos. IƱaki. -- Edit bug report at http://bugs.php.net/?id=42060&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42060&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42060&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42060&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42060&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42060&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42060&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42060&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42060&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42060&r=support Expected behavior: http://bugs.php.net/fix.php?id=42060&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42060&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42060&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42060&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42060&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42060&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42060&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42060&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42060&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42060&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42060&r=mysqlcfg
