summaryrefslogtreecommitdiff
path: root/plugins/kolab_auth
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-01-24 12:44:04 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-01-24 12:44:04 (GMT)
commitd7a607e1b167ca2433661a17846ad59913a3170f (patch)
tree9cb56f7ba90fb0d37ba73d0ca5f61c090fdbe61c /plugins/kolab_auth
parent3a9e25e05644dc656db9a8275124e457902c0618 (diff)
downloadroundcubemail-plugins-kolab-d7a607e1b167ca2433661a17846ad59913a3170f.tar.gz
Fix missing resolving of %dn in kolab_auth_role_settings
Diffstat (limited to 'plugins/kolab_auth')
-rw-r--r--plugins/kolab_auth/kolab_auth.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php
index ad38022..a4d15e6 100644
--- a/plugins/kolab_auth/kolab_auth.php
+++ b/plugins/kolab_auth/kolab_auth.php
@@ -169,8 +169,9 @@ class kolab_auth extends rcube_plugin
if (!empty($role_settings)) {
foreach ($role_settings as $role_dn => $settings) {
+ $role_dn = self::parse_ldap_vars($role_dn);
if (!empty($role_settings[$role_dn])) {
- $role_settings[$role_dn] = array_merge((array)$role_settings[$role_dn], $settings);
+ $role_settings[$role_dn] = array_merge((array)$role_settings[$role_dn], $settings);
} else {
$role_settings[$role_dn] = $settings;
}