Edit report at https://bugs.php.net/bug.php?id=47222&edit=1
ID: 47222
Comment by: post at rolandgruber dot de
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:
Here is a workaround:
$ldapMsg = null;
ldap_get_option($server, LDAP_OPT_ERROR_STRING, $ldapMsg);
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2015-03-02 14:37:04] daniellucenag at gmail dot com
I need to change a password of a user in AD, but the error code is very much generic! this request
is perfect for my problem! please solve this!
------------------------------------------------------------------------
[2015-03-02 14:12:22] johnnywiller10 at gmail dot com
Anyone has an workaround to this?
------------------------------------------------------------------------
[2015-03-02 14:12:21] johnnywiller10 at gmail dot com
Anyone has an workaround to this?
------------------------------------------------------------------------
[2015-03-02 14:12:19] johnnywiller10 at gmail dot com
Anyone has an workaround to this?
------------------------------------------------------------------------
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