LDAP: convert all DNs to lowercase so to make comparisons and everything work
This commit is contained in:
parent
568b6a7f56
commit
35effbcd3f
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue