Cleanup ldap_bind_sasl.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jul 2008 05:08:57 +0000 (15:08 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jul 2008 05:08:57 +0000 (15:08 +1000)
commitab00b65dde3fad666425cd9b4b6e45dabc33b279
treeace6c609f92f1369cddc1dcd6b3a17a3f5a6fe01
parent532899386b229fc4e72303d18e951686634c8757
Cleanup ldap_bind_sasl.

With these changes, we don't leak the LDAP socket, and don't reset all
credentials feature flags, just the ones we are actually incompatible
with.

Andrew Bartlett
(This used to be commit 72e52a301102941c41ab423e0212fe9a1aed0405)
source4/libcli/ldap/ldap_bind.c