From af4780e15dd0d18d4591a103a08bd4f5f7d4cd10 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 4 May 2015 19:13:21 +0200 Subject: Another fix for AD SSL support --- inc/configmodule/adauth.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc') diff --git a/inc/configmodule/adauth.inc.php b/inc/configmodule/adauth.inc.php index 998dcea1..64937aa8 100644 --- a/inc/configmodule/adauth.inc.php +++ b/inc/configmodule/adauth.inc.php @@ -20,6 +20,10 @@ class ConfigModule_AdAuth extends ConfigModule { Trigger::ldadp($this->id(), $parent); $config = $this->moduleData; + if (preg_match('/^([^\:]+)\:(\d+)$/', $config['server'], $out)) { + $config['server'] = $out[1]; + $config['adport'] = $out[2]; + } $config['parentTask'] = $parent; $config['failOnParentFail'] = false; $config['proxyip'] = Property::getServerIp(); -- cgit v1.2.3-55-g7522