From ae661608abeb5034d955076d390d09614bfa14b2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 16 Jun 2006 04:54:55 +0000 Subject: [PATCH] allow to use an url (eg. "ldaps://domain.com") instead just a domain name --- phpgwapi/inc/class.ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))