Removed duplicate call to ldap_unbind_s introduced along with sudo_ldap_close.
This commit is contained in:
4
ldap.c
4
ldap.c
@@ -946,10 +946,6 @@ sudo_ldap_check(v, pwflag)
|
|||||||
result = NULL;
|
result = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* shut down connection */
|
|
||||||
if (ld)
|
|
||||||
ldap_unbind_s(ld);
|
|
||||||
|
|
||||||
if (ldap_conf.debug)
|
if (ldap_conf.debug)
|
||||||
printf("user_matches=%d\n", ldap_user_matches);
|
printf("user_matches=%d\n", ldap_user_matches);
|
||||||
if (ldap_conf.debug)
|
if (ldap_conf.debug)
|
||||||
|
Reference in New Issue
Block a user