summaryrefslogtreecommitdiffstats
path: root/lib/User.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-03-06 03:46:20 -0500
committerAleksander Machniak <machniak@kolabsys.com>2015-03-06 03:46:20 -0500
commit8d180afa12bc87be916f96a13c2cdd6bde673242 (patch)
tree3313f7785225ed1c42eeaf5d9a8bb64865594e19 /lib/User.php
parent56a0b8eb70e4567ca7f973409321a031297f96a6 (diff)
downloadwebadmin-8d180afa12bc87be916f96a13c2cdd6bde673242.tar.gz
Fix issues related to "cn=Directory Manager" login case-insensitivity (#4804)
Diffstat (limited to 'lib/User.php')
-rw-r--r--lib/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/User.php b/lib/User.php
index a248e57..97b1e78 100644
--- a/lib/User.php
+++ b/lib/User.php
@@ -54,7 +54,7 @@ class User
$this->domain = empty($domain) ? $this->auth->domain : $domain;
// set unique attribute value as userid
- if ($this->userid != 'cn=Directory Manager') {
+ if (strtolower($this->userid) != 'cn=directory manager') {
$unique_attr = kolab_api_service::unique_attribute();
if ($attributes && $attributes[$unique_attr]) {