Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge users (same sAMAccountName) - ldap / keycloak #622

Open
andys448 opened this issue May 27, 2022 · 1 comment
Open

merge users (same sAMAccountName) - ldap / keycloak #622

andys448 opened this issue May 27, 2022 · 1 comment

Comments

@andys448
Copy link

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!

@blizzz
Copy link
Member

blizzz commented Jun 2, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants