From c28bd545c49f47ef788a97cd7218701fca4d8681 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <gohr@cosmocode.de> Date: Wed, 11 Jul 2012 15:53:49 +0200 Subject: [PATCH] supress errors from LDAP bind --- inc/auth/ldap.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/auth/ldap.class.php b/inc/auth/ldap.class.php index a0252ca2c..23c2c281c 100644 --- a/inc/auth/ldap.class.php +++ b/inc/auth/ldap.class.php @@ -444,7 +444,7 @@ class auth_ldap extends auth_basic { if (defined('LDAP_OPT_NETWORK_TIMEOUT')) { ldap_set_option($this->con, LDAP_OPT_NETWORK_TIMEOUT, 1); } - $bound = ldap_bind($this->con); + $bound = @ldap_bind($this->con); if ($bound) { break; } -- GitLab