summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-10-20 13:58:26 +0200
committerAleksander Machniak <machniak@kolabsys.com>2015-10-20 13:58:26 +0200
commit8eff748533a7b47d1d8156bbb3212647ca0f5d1f (patch)
tree68f748d0c3b3500ddc3ff4440b0d30709e3c9cf0 /lib
parent14c47f4d8506334bff1137d0190c82917d471a31 (diff)
downloadwebadmin-8eff748533a7b47d1d8156bbb3212647ca0f5d1f.tar.gz
Fix bug in creating DN string from domain name for %(base_dn)s resolving
Diffstat (limited to 'lib')
-rw-r--r--lib/kolab_api_service.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_api_service.php b/lib/kolab_api_service.php
index 1c8480f..670aaaf 100644
--- a/lib/kolab_api_service.php
+++ b/lib/kolab_api_service.php
@@ -715,7 +715,7 @@ abstract class kolab_api_service
$dba = 'inetdomainbasedn';
if (empty($domain_info[$dba])) {
- $this->base_dn = 'dc=' . implode('dc=,', explode('.', $domain));
+ $this->base_dn = 'dc=' . implode(',dc=', explode('.', $domain));
} else {
$this->base_dn = $domain_info[$dba];
}