mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-06 10:12:46 +02:00
allow to use an url (eg. "ldaps://domain.com") instead just a domain name
This commit is contained in:
parent
5acd64e429
commit
ae661608ab
@ -114,7 +114,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// connects to ldap server
|
// 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) */
|
/* log does not exist in setup(, yet) */
|
||||||
if(is_object($GLOBALS['egw']->log))
|
if(is_object($GLOBALS['egw']->log))
|
||||||
|
Loading…
Reference in New Issue
Block a user