PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #34492 ldap_parse_result() doesn't provide serverctrls value
Submitted:13 Sep 2005 5:57pm UTC Modified: 13 Sep 2005 11:13pm UTC
From:iarenaza at escomposlinux dot org Assigned to:
Status:Open Category:Feature/Change Request
Version:4CVS-2005-09-13 (snap) OS:*
Votes:56 Avg. Score:4.8 ± 0.4 Reproduced:51 of 51 (100.0%)
Same Version:21 (41.2%) Same OS:35 (68.6%)
View/Vote Add Comment Developer Edit Submission

Have you experienced this issue?
Rate the importance of this bug to you:

[13 Sep 2005 5:57pm UTC] 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).

[13 Sep 2005 11:35pm UTC] martin at catalyst dot net dot nz
This is really needed to fetch large resultsets from LDAP without being
memory-bound.
[25 Sep 2009 12:03pm UTC] 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.
[27 Oct 2009 10:10pm UTC] 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.

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC