mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
fix(user_ldap): Lowercase value for all attributes in configuration
Avoid surprises by making sure these are lowercased apart from documented special case user displayname. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
fffba1c6af
commit
eb27243056
1 changed files with 21 additions and 0 deletions
|
|
@ -294,6 +294,27 @@ class Configuration {
|
|||
break;
|
||||
case 'ldapUserDisplayName2':
|
||||
case 'ldapGroupDisplayName':
|
||||
case 'ldapGidNumber':
|
||||
case 'ldapGroupMemberAssocAttr':
|
||||
case 'ldapQuotaAttribute':
|
||||
case 'ldapEmailAttribute':
|
||||
case 'ldapUuidUserAttribute':
|
||||
case 'ldapUuidGroupAttribute':
|
||||
case 'ldapExpertUsernameAttr':
|
||||
case 'ldapExpertUUIDUserAttr':
|
||||
case 'ldapExpertUUIDGroupAttr':
|
||||
case 'ldapExtStorageHomeAttribute':
|
||||
case 'ldapAttributePhone':
|
||||
case 'ldapAttributeWebsite':
|
||||
case 'ldapAttributeAddress':
|
||||
case 'ldapAttributeTwitter':
|
||||
case 'ldapAttributeFediverse':
|
||||
case 'ldapAttributeOrganisation':
|
||||
case 'ldapAttributeRole':
|
||||
case 'ldapAttributeHeadline':
|
||||
case 'ldapAttributeBiography':
|
||||
case 'ldapAttributeBirthDate':
|
||||
case 'ldapAttributeAnniversaryDate':
|
||||
$readMethod = 'getLcValue';
|
||||
break;
|
||||
case 'ldapUserDisplayName':
|
||||
|
|
|
|||
Loading…
Reference in a new issue