Edit report at https://bugs.php.net/bug.php?id=47786&edit=1
ID: 47786
Updated by: php-bugs@lists.php.net
Reported by: tedc21thc at hotmail dot com
Summary: ldap_list get "Decoding error" on some specific
searching attribute
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: LDAP related
Operating System: FreeBSD 7.1
PHP Version: 5.2.9
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2013-09-30 11:24:24] mike@php.net
There's no difference in what PHP does for ldap_search and ldap_list, except that ldap_lsit
uses LDAP_SCOPE_ONELEVEL.
------------------------------------------------------------------------
[2012-04-30 07:40:25] tedc21thc at hotmail dot com
please solve this problem for ldap_list(); ( see:#5433 for ldap_search(); )
------------------------------------------------------------------------
[2010-12-24 10:41:38] tedc21thc at hotmail dot com
It seems be #5433 only fixed "ldap_search()" function,but not also fix ldap_list()
function.
please check again.
The problem is, it will get Decoding error (-4) when querying some OU and have attributes.
When I get decoding error, and I use this function again with no argument 4(attributes), It will be
fine.
samples:
When
$sr= @ldap_list($this->conn,$dn,$this->filter,$this->attrs);
ldap_errno($this->conn) sometimes will be -4
gets Decoding error, query fails.
Try use
$sr= @ldap_list($this->conn,$dn,$this->filter);
ldap_errno($this->conn) will be 0
and the data entries will be fine
------------------------------------------------------------------------
[2010-12-24 10:31:38] tedc21thc at hotmail dot com
Hello there,
It seems be #5433 only fixed "ldap_search()" function,but not also fix ldap_list()
function.
please check again.
The problem is, it will get Decoding error (-4) when querying some OU and have attributes.
When I get decoding error, and I use this function again with no argument 4(attributes), It will be
fine.
samples:
When
$sr= @ldap_list($this->conn,$dn,$this->filter,$this->attrs);
ldap_errno($this->conn) sometimes will be -4
gets Decoding error, query fails.
Try use
$sr= @ldap_list($this->conn,$dn,$this->filter);
ldap_errno($this->conn) will be 0
and the data entries will be fine
------------------------------------------------------------------------
[2009-04-08 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=47786
--
Edit this bug report at https://bugs.php.net/bug.php?id=47786&edit=1