Edit report at https://bugs.php.net/bug.php?id=47222&edit=1
ID: 47222
Comment by: andreas at heigl dot org
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:
This issue is addressed by https://github.com/php/php-src/pull/1261.
After that PR is merged you can use the solution provided by Johnny Willer in http://stackoverflow.com/questions/28765077/get-number-of-ad-errors-with-ldap-and-php-ldap-function-return-unprecise-error/28816473#28816473
without having to define the constant as it is already defined.
You will then be able to retrieve extended error messages using
ldap_get_option($conn, LDAP_OPT_DIAGNOSTIC_MESSAGE, $extended_error);
Previous Comments:
------------------------------------------------------------------------
[2015-03-03 13:44:15] johnnywiller10 at gmail dot com
kkkk, eu não sabia uai.. Pode deixar, abraço!
------------------------------------------------------------------------
[2015-03-03 13:25:46] daniellucenag at gmail dot com
Porra mano, me fazendo arranhar o inglês aqui hahahhaha... Quando resolver subir a serra é
só falar! Abraço!
------------------------------------------------------------------------
[2015-03-03 13:20:39] johnnywiller10 at gmail dot com
Pão de queijo mineirinho, delicia! Eu moro em Santa Catarina, mas pretendo visitar MG, assim que
for lhe aviso, vou cobrar hein! heheeh
------------------------------------------------------------------------
[2015-03-03 13:17:00] daniellucenag at gmail dot com
Thank you johnnywiller10, you solution works perfect! when you came to Brazilian > Minas Gerais
> Belo Horizonte, i will pay you a coffe with a 'pão de queijo'/bread of cheese!
contact me if this day come!
------------------------------------------------------------------------
[2015-03-03 12:40:42] johnnywiller10 at gmail dot com
Hehe, ok... :)
------------------------------------------------------------------------
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