do not show errors on connect (removes Michael's change)
This commit is contained in:
parent
5e2127f65b
commit
7d0548ebaa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue