summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2012-07-11 15:53:49 +0200
committerAndreas Gohr <gohr@cosmocode.de>2012-07-11 15:53:49 +0200
commitc28bd545c49f47ef788a97cd7218701fca4d8681 (patch)
tree76615141a106beda088da1219de4a6b284c6dfd2
parentc4aa63b177ceac04e6e95ad285646a591f42b48b (diff)
downloadrpg-c28bd545c49f47ef788a97cd7218701fca4d8681.tar.gz
rpg-c28bd545c49f47ef788a97cd7218701fca4d8681.tar.bz2
supress errors from LDAP bind
-rw-r--r--inc/auth/ldap.class.php2
1 files changed, 1 insertions, 1 deletions
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;
}