summaryrefslogtreecommitdiffstats
path: root/lib/kolab_api_controller.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/kolab_api_controller.php
parent56a0b8eb70e4567ca7f973409321a031297f96a6 (diff)
downloadwebadmin-8d180afa12bc87be916f96a13c2cdd6bde673242.tar.gz
Fix issues related to "cn=Directory Manager" login case-insensitivity (#4804)
Diffstat (limited to 'lib/kolab_api_controller.php')
-rw-r--r--lib/kolab_api_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_api_controller.php b/lib/kolab_api_controller.php
index ed716cf..f3f20bb 100644
--- a/lib/kolab_api_controller.php
+++ b/lib/kolab_api_controller.php
@@ -321,7 +321,7 @@ class kolab_api_controller
}
// user info requested (it's not possible to get manager info)
- if ($postdata['info'] && ($username != 'cn=Directory Manager')) {
+ if ($postdata['info'] && (strtolower($username) != 'cn=directory manager')) {
$service = $this->get_service('user');
$attributes = $service->object_attributes('user');
}