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.