-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[LDAP] Username changing #9390
Comments
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
still valid |
Hello,
Gitea Version: 1.13.2
LDAP settings
|
Hi, |
I'm having the same problem. Looking through the code, it looks like Gitea isn't storing the user's DN anywhere when an LDAP user logs in for the first time. If the username changes, there's no way it can figure out that it's still the same user, so it will try to create a new local user (which will fail unless the user also changed the email). One solution I can think of is to add a field to the |
[x]
):Description
Changing username in LDAP does not change the username in gitea.
If I change the username in LDAP the user also cannot login anymore because the mail address needs to be unique.
The text was updated successfully, but these errors were encountered: