diff --git a/inc/auth/ldap.class.php b/inc/auth/ldap.class.php index f3060637960c3f50e30824bf61801a3e96872d91..dd328d4d457dda1bbdd0ce4ddfbf9cfaaaad392f 100644 --- a/inc/auth/ldap.class.php +++ b/inc/auth/ldap.class.php @@ -273,7 +273,7 @@ class auth_ldap extends auth_basic { function _openLDAP(){ if($this->con) return true; // connection already established - $port = ($this->cnf['port']) ? $this->cnf['port'] : 636; + $port = ($this->cnf['port']) ? $this->cnf['port'] : 389; $this->con = @ldap_connect($this->cnf['server'],$port); if(!$this->con){ msg("LDAP: couldn't connect to LDAP server",-1);