diff --git a/phpgwapi/inc/class.ldap.inc.php b/phpgwapi/inc/class.ldap.inc.php index dab357f2db..d3b76ccbcc 100644 --- a/phpgwapi/inc/class.ldap.inc.php +++ b/phpgwapi/inc/class.ldap.inc.php @@ -114,7 +114,7 @@ } // connects to ldap server - if(!$this->ds = ldap_connect("ldap://$host", 389)) + if(!$this->ds = ldap_connect($host)) { /* log does not exist in setup(, yet) */ if(is_object($GLOBALS['egw']->log))