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

2009-12-03 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/02/2009 03:55 PM, Simo Sorce wrote: 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

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

2009-12-02 Thread Sumit Bose
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

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

2009-12-02 Thread Simo Sorce
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