#42247 [Opn->Csd]: missing ldap_parse_result
| From: | jani@php.net | Date: | Fri, 10 Aug 2007 13:02:23 +0000 |
| Subject: | #42247 [Opn->Csd]: missing ldap_parse_result | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115939@lists.php.net to get a copy of this message | ||
ID: 42247
Updated by: jani@php.net
Reported By: comet at ourplanet dot at
-Status: Open
+Status: Closed
Bug Type: LDAP related
Operating System: Windows XP
PHP Version: 5.2.4 dev by 9th August 07
New Comment:
There is no 7th parameter in this function:
http://www.php.net/ldap_parse_result
And don't use same report for different bugs. The function does exist
now. If you have other complaints, open separate report.
Previous Comments:
------------------------------------------------------------------------
[2007-08-09 15:29:13] comet at ourplanet dot at
version updated from 5.2.4RC1 to current dev
------------------------------------------------------------------------
[2007-08-09 15:27:34] comet at ourplanet dot at
Hi, sorry but now i get the following message:
Warning: Wrong parameter count for ldap_parse_result()
I am using the following parameters:
ldap_parse_result( $connection, $search, &$errcode, &$matcheddn,
&$errmsg, &$referrals, &$serverctrls );
Is there a way to get this 7th parameter working, without this
parameter the function makes no sense ?
Thanks a lot
------------------------------------------------------------------------
[2007-08-09 08:43:19] jani@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2007-08-08 13:05:47] comet at ourplanet dot at
Description:
------------
I am wondering where the function ldap_parse_result is gone ?!
All functions within ldap are working fine but ldap_parse_result is
unknown.
Anyone an idea why this function is not longer implemented and why this
fact is not documentated ?!
Why i need this function ? : I need the ServerControls from an result
to implement paging for Active Directory queries( active directory
returns only 1000 entries by default ). ( ldap_get_option( $connection,
LDAP_OPT_SERVER_CONTROLS, $returnValue ) -> does not work too ).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42247&edit=1