Merge pull request #52257 from nextcloud/fix/noid/ensure-userid-attr-present

fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list
This commit is contained in:
Côme Chilliet 2025-04-22 09:24:50 +02:00 committed by GitHub
commit 98e3afce9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,6 +109,7 @@ class Manager {
$baseAttributes = array_merge(Access::UUID_ATTRIBUTES, ['dn', 'uid', 'samaccountname', 'memberof']);
$attributes = [
$this->access->getConnection()->ldapExpertUUIDUserAttr,
$this->access->getConnection()->ldapExpertUsernameAttr,
$this->access->getConnection()->ldapQuotaAttribute,
$this->access->getConnection()->ldapEmailAttribute,
$this->access->getConnection()->ldapUserDisplayName,