From 7d0548ebaa706d1900e01bcdbc487ffff54c4e64 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 18 Oct 2003 16:45:15 +0000 Subject: [PATCH] do not show errors on connect (removes Michael's change) --- lam/lib/ldap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/ldap.inc b/lam/lib/ldap.inc index e18f4d08..fdfa5abe 100644 --- a/lam/lib/ldap.inc +++ b/lam/lib/ldap.inc @@ -192,7 +192,7 @@ class Ldap{ } // save password und username encrypted $this->encrypt($user, $passwd); - $this->server = ldap_connect($this->conf->get_ServerURL()); + $this->server = @ldap_connect($this->conf->get_ServerURL()); if ($this->server) { // use LDAPv3 ldap_set_option($this->server, LDAP_OPT_PROTOCOL_VERSION, 3);