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

Stephen Gallagher sgallagh at redhat.com
Wed Mar 21 18:50:22 UTC 2012


On Wed, 2012-03-21 at 14:26 -0400, Simo Sorce wrote:
> 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.
> 

Pushed to master and sssd-1-8.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120321/2c8682a6/attachment.sig>


More information about the sssd-devel mailing list