[Date Prev][Date Next] [Chronological] [Thread] [Top]

bind fallback


If I call ldap_sasl_interactive_bind_s and it fails (e.g. because of a
bug [1]) and then call ldap_simple_bind_s as a fallback it hangs. If I
ldap_init again before calling ldap_simple_bind_s the fallback works. Is
this expected behavior or is the bind state not being reset properly? I'm
using 2.2.29 on Fedora Core 3.

Also, should I deinitialize the LDAP object? I see nothing in the
documentation about an ldap_deinit or similar. If not, how is that not
a resource leak?


[1] http://www.openldap.org/lists/openldap-bugs/200602/msg00045.html