diff --git a/framework/Core/lib/Horde/Config.php b/framework/Core/lib/Horde/Config.php
index 2acc86d8eb1..475d749e7a1 100644
--- a/framework/Core/lib/Horde/Config.php
+++ b/framework/Core/lib/Horde/Config.php
@@ -767,10 +767,10 @@ protected function _configLDAP($ctx, $node = null,
'_type' => 'stringlist',
'required' => true,
'desc' => 'LDAP server(s)/hostname(s)',
- 'default' => $this->_default(
+ 'default' => implode(',', $this->_default(
$ctx . '|hostspec',
$node ? ($xpath->evaluate('string(configstring[@name="hostspec"])', $node) ?: '') : ''
- )
+ ))
),
'port' => array(
diff --git a/framework/Core/package.xml b/framework/Core/package.xml
index ec76294a439..ab085425867 100644
--- a/framework/Core/package.xml
+++ b/framework/Core/package.xml
@@ -39,7 +39,7 @@
LGPL-2.1
-*
+* [jan] Fix propagating the LDAP hostspec configuration field (Bug #13872).
@@ -3834,7 +3834,7 @@
2015-02-10
LGPL-2.1
-*
+* [jan] Fix propagating the LDAP hostspec configuration field (Bug #13872).