mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
* ActiveDirectory: fix not working ldaps connection on a non-standard port
This commit is contained in:
parent
556117f14a
commit
6d453f6e0d
@ -83,7 +83,7 @@ class ServerInfo
|
|||||||
*/
|
*/
|
||||||
function __construct($host)
|
function __construct($host)
|
||||||
{
|
{
|
||||||
$this->host = $host;
|
$this->host = preg_match('#^ldaps?//([^:]+)#', $host, $matches) ? $matches[1] : $host;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user