user_saml icon indicating copy to clipboard operation
user_saml copied to clipboard

merge users (same sAMAccountName) - ldap / keycloak

Open andys448 opened this issue 3 years ago • 1 comments

Steps to reproduce

  1. Use KeyCloak for auth
  2. Trying login via Kerberos
  3. 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:

image

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!

andys448 avatar May 27 '22 08:05 andys448

user id received from the IdP has to match with the user id in nextcloud, also case sensitively.

blizzz avatar Jun 02 '22 21:06 blizzz