#34492 [Com]: ldap_parse_result() doesn't provide serverctrls value
| From: | clem dot oudot at gmail dot com | Date: | Tue, 27 Oct 2009 22:10:42 +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-144032@lists.php.net to get a copy of this message | ||
ID: 34492
Comment by: clem dot oudot at gmail dot com
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:
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.
Previous Comments:
------------------------------------------------------------------------
[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/?id=34492&edit=1