mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
Removed duplicate call to ldap_unbind_s introduced along with sudo_ldap_close.
This commit is contained in:
parent
61413ca509
commit
e3c99d9c84
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user