diff options
-rw-r--r-- | inc/auth/ldap.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth/ldap.class.php b/inc/auth/ldap.class.php index f30606379..dd328d4d4 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); |