precaution: lowercase string for comparison

This commit is contained in:
Arthur Schiwon 2014-04-01 12:30:31 +02:00
parent e07ebdd7d0
commit 11f7823e1b
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class Manager {
return $this->users['byUid'][$id];
}
if(strpos($id, 'dc=') === false) {
if(strpos(mb_strtolower($id, 'UTF-8'), 'dc=') === false) {
//most likely a uid
$dn = $this->access->username2dn($id);
if($dn !== false) {