Edit report at https://bugs.php.net/bug.php?id=47222&edit=1
ID: 47222
Comment by: daniellucenag at gmail dot com
Reported by: webe4703 at uni-trier dot de
Summary: Ldap error messages are very unprecise
Status: Open
Type: Feature/Change Request
Package: LDAP related
Operating System: Linux (Ubuntu)
PHP Version: 5.2.8
Block user comment: N
Private report: N
New Comment:
Oh.. sorry this solution is not yours... http://tools.lsc-project.org/attachments/508/ssp.patch
haha...
Previous Comments:
------------------------------------------------------------------------
[2015-03-03 12:32:26] johnnywiller10 at gmail dot com
Sorry daniellucenag, where did you see that variable? I don't see any $ad_mode
------------------------------------------------------------------------
[2015-03-03 12:18:14] daniellucenag at gmail dot com
hi johnnywiller10, thanks!! i'm implement your solution, but what is this $ad_mode variable?
thanks!
------------------------------------------------------------------------
[2015-03-02 20:46:27] johnnywiller10 at gmail dot com
rolandgruber, this way don't works, does not show the extended error string.
This way you show, is equals to ldap_error($link_identifier).
------------------------------------------------------------------------
[2015-03-02 20:25:47] post at rolandgruber dot de
Here is a workaround:
$ldapMsg = null;
ldap_get_option($server, LDAP_OPT_ERROR_STRING, $ldapMsg);
------------------------------------------------------------------------
[2015-03-02 18:12:48] johnnywiller10 at gmail dot com
See my answer in SO to solve the problem
http://stackoverflow.com/questions/28765077/get-number-of-ad-errors-with-ldap-and-php-ldap-function-return-unprecise-error/28816473#28816473
------------------------------------------------------------------------
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=47222
--
Edit this bug report at https://bugs.php.net/bug.php?id=47222&edit=1