diff --git a/inc/auth/ldap.class.php b/inc/auth/ldap.class.php
index a0252ca2cbc02428e30fcbd27bb693b863e65275..23c2c281c99d6563e6a7239498560bbbb826157c 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;
             }