[SSSD] [PATCH] Check LDAP structure before calling ldap_unbind_ext()

Simo Sorce ssorce at redhat.com
Wed Dec 2 20:55:37 UTC 2009


On Wed, 2009-12-02 at 21:34 +0100, Sumit Bose wrote:
> 
> Hi,
> 
> sdap_handle_release() runs through the existing operations before
> unbinding from the LDAP server. But some of the operations might have
> called sdap_handle_release(), too, and the LDAP structure is not valid
> anymore. To avoid an error in the LDAP libraries we check the
> structure
> before calling ldap_unbind_ext().

obviously good and correct.

Ack!

Simo.

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




More information about the sssd-devel mailing list