[Freeipa-devel] [PATCH 0142] Improve LDAP error logging

Petr Spacek pspacek at redhat.com
Tue Apr 9 13:27:28 UTC 2013


Hello,

Improve LDAP error logging.

Diagnostic error message is logged when it is available.


Plugin with this patch produces messages like:

LDAP error: Server is unwilling to perform: Minimum SSF not met.: bind to LDAP 
server failed

intead of

bind to LDAP server failed: Server is unwilling to perform


Second example is:

LDAP error: Object class violation: attribute "mgrecord" not allowed
: while modifying(add) entry 'idnsName=pspacek, 
idnsname=example.com,cn=dns,dc=e,dc=test'

instead of

""

:-D

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0142-Improve-LDAP-error-logging.patch
Type: text/x-patch
Size: 4023 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130409/24282ea6/attachment.bin>


More information about the Freeipa-devel mailing list