From: Todd C. Miller Date: Sun, 27 Mar 2005 02:34:25 +0000 (+0000) Subject: Removed duplicate call to ldap_unbind_s introduced along with sudo_ldap_close. X-Git-Tag: SUDO_1_7_0~665 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3c99d9c841eda7bac4cdeb525870d6cb6ee889a;p=sudo Removed duplicate call to ldap_unbind_s introduced along with sudo_ldap_close. --- diff --git a/ldap.c b/ldap.c index 9b8ec1fb5..0a1c9114b 100644 --- a/ldap.c +++ b/ldap.c @@ -946,10 +946,6 @@ sudo_ldap_check(v, pwflag) result = NULL; } - /* shut down connection */ - if (ld) - ldap_unbind_s(ld); - if (ldap_conf.debug) printf("user_matches=%d\n", ldap_user_matches); if (ldap_conf.debug)