From ecd9af5a8cb603e0bf0cd5702686e38bd80c3c0d Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Tue, 14 Mar 2006 20:11:18 +0100 Subject: [PATCH] use 389 as standard port in ldap auth darcs-hash:20060314191118-7ad00-371b7be42bd6abfcd7f0cdb97a19b02422b4a7b8.gz --- inc/auth/ldap.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- GitLab