php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42247 missing ldap_parse_result
Submitted: 2007-08-08 13:05 UTC Modified: 2007-08-10 13:02 UTC
Votes:5
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:5 (100.0%)
Same OS:5 (100.0%)
From: comet at ourplanet dot at Assigned:
Status: Closed Package: LDAP related
PHP Version: 5.2.4RC1 OS: Windows XP
Private report: No CVE-ID:
 [2007-08-08 13:05 UTC] 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 ). 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-09 08:43 UTC] 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-09 15:27 UTC] 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-10 13:02 UTC] jani@php.net
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.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 23 07:02:14 2014 UTC