Skip to content

Commit 98e3afc

Browse files
authored
Merge pull request #52257 from nextcloud/fix/noid/ensure-userid-attr-present
fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list
2 parents cb4fcd0 + 1eb9000 commit 98e3afc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/user_ldap/lib/User/Manager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public function getAttributes($minimal = false) {
109109
$baseAttributes = array_merge(Access::UUID_ATTRIBUTES, ['dn', 'uid', 'samaccountname', 'memberof']);
110110
$attributes = [
111111
$this->access->getConnection()->ldapExpertUUIDUserAttr,
112+
$this->access->getConnection()->ldapExpertUsernameAttr,
112113
$this->access->getConnection()->ldapQuotaAttribute,
113114
$this->access->getConnection()->ldapEmailAttribute,
114115
$this->access->getConnection()->ldapUserDisplayName,

0 commit comments

Comments
 (0)