summaryrefslogtreecommitdiff
path: root/inc/auth
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-03-14 20:11:18 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-03-14 20:11:18 +0100
commitecd9af5a8cb603e0bf0cd5702686e38bd80c3c0d (patch)
tree347d61490f325741b16e1c879a9d833d8102f67f /inc/auth
parent231e27e360ea43287cc960866e00f6e2528158e7 (diff)
downloadrpg-ecd9af5a8cb603e0bf0cd5702686e38bd80c3c0d.tar.gz
rpg-ecd9af5a8cb603e0bf0cd5702686e38bd80c3c0d.tar.bz2
use 389 as standard port in ldap auth
darcs-hash:20060314191118-7ad00-371b7be42bd6abfcd7f0cdb97a19b02422b4a7b8.gz
Diffstat (limited to 'inc/auth')
-rw-r--r--inc/auth/ldap.class.php2
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);