summaryrefslogtreecommitdiff
path: root/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-03 08:02:12 +0000
committeralecpl <alec@alec.pl>2010-06-03 08:02:12 +0000
commitbb8721aaeb4961f0dee8ca250749906e01a8f6a8 (patch)
tree743b5444c38d9903331079e95bf99b42c83ba3b0 /program/include/rcube_ldap.php
parent05a631a43c1950fc99f817cb50e4184dc0696663 (diff)
- Support dynamic hostname (%d/%n) variables in configuration options (#1485438)
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r--program/include/rcube_ldap.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 307e43ee2..63c193ff6 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -99,6 +99,7 @@ class rcube_ldap extends rcube_addressbook
foreach ($this->prop['hosts'] as $host)
{
+ $host = rcube_parse_host($host);
$this->_debug("C: Connect [$host".($this->prop['port'] ? ':'.$this->prop['port'] : '')."]");
if ($lc = @ldap_connect($host, $this->prop['port']))