summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-03 08:02:12 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-03 08:02:12 +0000
commitd40dd8eed2e09c83c92be8428b3d3db7901f1979 (patch)
tree4f4783a9621917d9e15ad5e2fb60ffafbbf69147 /roundcubemail/program/include/rcube_ldap.php
parentd6d8a0feaca6c856d4ae549c9f0770aa5de9edcb (diff)
- Support dynamic hostname (%d/%n) variables in configuration options (#1485438)
git-svn-id: https://svn.roundcube.net/trunk@3701 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_ldap.php')
-rw-r--r--roundcubemail/program/include/rcube_ldap.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php
index 307e43ee2..63c193ff6 100644
--- a/roundcubemail/program/include/rcube_ldap.php
+++ b/roundcubemail/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']))