Edit report at http://bugs.php.net/bug.php?id=34492&edit=1
ID: 34492 Comment by: thomas dot matthews at gmail dot com Reported by: iarenaza at escomposlinux dot org Summary: ldap_parse_result() doesn't provide serverctrls value Status: Open Type: Feature/Change Request Package: Feature/Change Request Operating System: * PHP Version: 4CVS-2005-09-13 (snap) Block user comment: N New Comment: I've been watching this request for a few years and recently have come across a requirement to use this feature. Thought I would add a comment in hopes to bring exposure to this change request. Previous Comments: ------------------------------------------------------------------------ [2010-08-05 00:59:22] qmt9z3 at yahoo dot com Iñaki Arenaza who opened this request for feature is also willing to provide the patch. This of value to anyone dealing with huge search results and intend to go thru a pagination process. Is there a reason why this is not pursued? I don't believe there is anything additional needed to be done other than applying patches and testing. What does it take to have the patch walked into the future releases? ------------------------------------------------------------------------ [2009-10-27 22:10:39] clem dot oudot at gmail dot com Hello, I develop a simple LDAP password tool (http://ltb-project.org/wiki/documentation/self-service-password) and need to use the LDAP ppolicy control. I face the same issue because I need to recover the control in the response. So this issue concerns all LDAP controls that are sent by the client and got a server control response. Thanks for your help. ------------------------------------------------------------------------ [2009-09-25 12:03:58] gehrig at ishd dot de Anything new on this one? This is still not fixed neither in PHP 5.2.x nor in 5.3.x nor in PHP 6 and a patch would be the only way to handle large Active Directory result sets. ------------------------------------------------------------------------ [2005-09-13 23:35:09] martin at catalyst dot net dot nz This is really needed to fetch large resultsets from LDAP without being memory-bound. ------------------------------------------------------------------------ [2005-09-13 17:57:08] iarenaza at escomposlinux dot org Description: ------------ In order to use LDAP Paged Results Control Extension (see RFC 2692), we need to be able to access this value through OpenLDAP's ldap_parse_results()'s serverctrls parameter. Unfortunately, this isn't available in PHP's ldap_parse_result(). I have developed (and tested) a patch against php4-STABLE-200509131447 (should be easily applyable to php5-cvs) to provide this functionality. I can provide the patch on request (it 82 lines long, so I won't post it here as recommended). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=34492&edit=1