#34492 [Com]: ldap_parse_result() doesn't provide serverctrls value

From: Date: Fri, 25 Sep 2009 12:04:02 +0000
Subject: #34492 [Com]: ldap_parse_result() doesn't provide serverctrls value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142861@lists.php.net to get a copy of this message
ID: 34492 Comment by: gehrig at ishd dot de Reported By: iarenaza at escomposlinux dot org Status: Open Bug Type: Feature/Change Request Operating System: * PHP Version: 4CVS-2005-09-13 (snap) New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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/?id=34492&edit=1

« previous php.bugs (#142861) next »