Skip to content
Snippets Groups Projects
Commit 35effbcd authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

LDAP: convert all DNs to lowercase so to make comparisons and everything work

parent 568b6a7f
No related branches found
No related tags found
No related merge requests found
......@@ -524,6 +524,9 @@ class OC_LDAP {
//OID sometimes gives back DNs with whitespace after the comma a la "uid=foo, cn=bar, dn=..." We need to tackle this!
$dn = preg_replace('/,\s+/',',',$dn);
//make comparisons and everything work
$dn = strtolower($dn);
return $dn;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment