diff options
author | Simon Rettberg | 2015-05-04 19:13:21 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-05-04 19:13:21 +0200 |
commit | af4780e15dd0d18d4591a103a08bd4f5f7d4cd10 (patch) | |
tree | b737e4fc4ba4ab442297e80e3bd7bafd25685d90 /inc/configmodule | |
parent | fix AD SSL (diff) | |
download | slx-admin-af4780e15dd0d18d4591a103a08bd4f5f7d4cd10.tar.gz slx-admin-af4780e15dd0d18d4591a103a08bd4f5f7d4cd10.tar.xz slx-admin-af4780e15dd0d18d4591a103a08bd4f5f7d4cd10.zip |
Another fix for AD SSL support
Diffstat (limited to 'inc/configmodule')
-rw-r--r-- | inc/configmodule/adauth.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |