Skip to content
Snippets Groups Projects
Commit ecd9af5a authored by Andreas Gohr's avatar Andreas Gohr
Browse files

use 389 as standard port in ldap auth

darcs-hash:20060314191118-7ad00-371b7be42bd6abfcd7f0cdb97a19b02422b4a7b8.gz
parent 231e27e3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment