Skip to content
Snippets Groups Projects
Commit 79a108c1 authored by Philippe Jung's avatar Philippe Jung
Browse files

[Issue #9559] identifiers uid=xxx must be considered as user DN and not as owncloud users

parent 77792b5b
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,8 @@ class Manager {
return $this->users['byUid'][$id];
}
if(strpos(mb_strtolower($id, 'UTF-8'), 'dc=') === false) {
if(strpos(mb_strtolower($id, 'UTF-8'), 'dc=') === false
&& strpos(mb_strtolower($id, 'UTF-8'), 'uid=') === false ) {
//most likely a uid
$dn = $this->access->username2dn($id);
if($dn !== false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment