#1937 [RFE] Improve LDAP error logging
Closed: Fixed None Opened 10 years ago by pspacek.

An user had hard time with debugging a problem, because the he saw the error message Server is unwilling to perform without any details:
https://www.redhat.com/archives/freeipa-users/2013-May/msg00161.html

You can use ldap_get_option(ld, LDAP_OPT_DIAGNOSTIC_MESSAGE, &diagmsg) to get verbose error message.

See https://git.fedorahosted.org/cgit/bind-dyndb-ldap.git/commit/?id=af83758cb3f91129399494c95a1847814b1d71a8 , specifically macro log_ldap_error.


Let me to add an example with the difference between old and new error messages:

Old message:

Server is unwilling to perform

New message:

Server is unwilling to perform: Minimum SSF not met.

Fields changed

keywords: => easyfix
milestone: NEEDS_TRIAGE => SSSD 1.13 beta
rhbz: => todo

Fields changed

changelog: =>
summary: Improve LDAP error logging => [RFE] Improve LDAP error logging

We already do this since 4a28fb1

mark: => 0
resolution: => fixed
sensitive: => 0
status: new => closed

Fields changed

rhbz: todo => 0

Metadata Update from @pspacek:
- Issue set to the milestone: SSSD 1.14 beta

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2979

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata