Nextcloud version (eg, 18.0.2): 19.0.1
Operating system and version (eg, Ubuntu 20.04): CentOS 8
Apache or nginx version (eg, Apache 2.4.25): nginx
PHP version (eg, 7.1): 7.4.9
LDAP server: MS Server 2019 Active Directory
The issue you are facing:
When going in NC to user search button on main page (top right, next to user icon) all LDAP users from MS Active Directory are listed by user ID (UID) instead of by display name (displayName).
The expected behaviour is to see users listed by display name (AD field displayName) and not by the NC internal name.
To use UID from LDAP as internal user name for NC is intentional. When going to the menu “users” all LDAP users are listed correctly with both UID as user name and display name as it should be.
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- LDAP setting - expert - internal user name: empty (to use UIL as internal name for NC)
- LDAP settings - advanced - folder settings - field for display name of user: displayName
- go to user search button