merge users (same sAMAccountName) - ldap / keycloak
Steps to reproduce
- Use KeyCloak for auth
- Trying login via Kerberos
- Get another user
Expected behaviour
Although this is a different authorization method, the user must be defined as existing.
Actual behaviour
New user created with the same username and full name
Server configuration
Operating system: RHEL
Web server: Apache
Database: MySQL
PHP version: 8
Nextcloud version: (see Nextcloud admin page) 23.0
for example pin message:

How to enable or define the user mapping feature. The same samaccountname are defined as different users. We want to map already existing users to those who log in using kerberos authorization.
We tried using social-login and OpenID Connect user backend and preferred_username.
Thanks for any help!
user id received from the IdP has to match with the user id in nextcloud, also case sensitively.