[SSSD] [PATCH] LDAP: Add better error logging when ldap_result() fails

Simo Sorce simo at redhat.com
Wed Mar 21 18:26:07 UTC 2012


On Wed, 2012-03-21 at 14:04 -0400, Stephen Gallagher wrote:
> This should help us diagnose issues with ldap_result() returning -1.
> 
> The only catch is that it relies on the openldap libraries setting the
> error code properly, which they do not always do.*
> 
> 
> * As part of my tests, I reverted the openldap libraries to the 2.4.29
> release that was broken with SSSD, causing ldap_result to return -1 all
> the time. The LDAP_OPT_RESULT_CODE in that case was LDAP_SUCCESS.

ACK,
Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the sssd-devel mailing list