Removed duplicate call to ldap_unbind_s introduced along with sudo_ldap_close.

This commit is contained in:
Todd C. Miller
2005-03-27 02:34:25 +00:00
parent 61413ca509
commit e3c99d9c84

4
ldap.c
View File

@@ -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)