#34492 [Com]: ldap_parse_result() doesn't provide serverctrls value
| From: | martin at catalyst dot net dot nz | Date: | Tue, 13 Sep 2005 21:35:12 +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-85002@lists.php.net to get a copy of this message | ||
ID: 34492
Comment by: martin at catalyst dot net dot nz
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:
This is really needed to fetch large resultsets from LDAP without being
memory-bound.
Previous Comments:
------------------------------------------------------------------------
[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