From e964ff2fc25583392e3fccbec5884958515148eb Mon Sep 17 00:00:00 2001 From: nuxsmin Date: Tue, 11 Feb 2014 18:24:17 +0100 Subject: [PATCH] Fix LDAP unbind before searching groups --- inc/auth.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/auth.class.php b/inc/auth.class.php index eae436d0..eb4d2bb1 100644 --- a/inc/auth.class.php +++ b/inc/auth.class.php @@ -69,7 +69,7 @@ class SP_Auth { // Realizamos la conexión con el usuario real y obtenemos los atributos try { SP_LDAP::ldapBind($userDN, $userPass); - SP_LDAP::unbind(); + //SP_LDAP::unbind(); $attribs = SP_LDAP::getLDAPAttr($attribsMap); } catch (Exception $e) { return ldap_errno(SP_LDAP::getConn());