[389-devel] Please review: [Bug 646381] Faulty password for nsmultiplexorcredentials does not give any error message in logs

Noriko Hosoi nhosoi at redhat.com
Wed Jan 26 00:51:54 UTC 2011


https://bugzilla.redhat.com/show_bug.cgi?id=646381

https://bugzilla.redhat.com/attachment.cgi?id=475308&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=475308&action=edit

Description: Chaning db plugin was terse not to reveal the config
error to end users as well as to prevent error log overflow by
every single error possibly caused by end users.
This patch returns this generic error text to end users:
   ldap_add: Operations error (1)
   additional info: database configuration error - \
   please contact the system administrator
And more detailed messages are logged in the errors log.  E.g.,
   chaining database - Internal credentials decoding error;
   password storage schemes do not match or encrypted password
   is corrupted.
   chaining database - cb_get_connection failed (49) Invalid credentials
Note: the messages are logged just once in the errors log.



More information about the 389-devel mailing list