]> granicus.if.org Git - sudo/commitdiff
Removed duplicate call to ldap_unbind_s introduced along with sudo_ldap_close.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 27 Mar 2005 02:34:25 +0000 (02:34 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 27 Mar 2005 02:34:25 +0000 (02:34 +0000)
ldap.c

diff --git a/ldap.c b/ldap.c
index 9b8ec1fb5ac959dedd148d5764a6f9288684475d..0a1c9114b3e48d8e3d50a92a59b0c1aebdac6628 100644 (file)
--- 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)