allow to use an url (eg. "ldaps://domain.com") instead just a domain name

This commit is contained in:
Ralf Becker 2006-06-16 04:54:55 +00:00
parent 5acd64e429
commit ae661608ab

View File

@ -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))