mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
issue: ldap creates new user instead of signing in to existing #4311
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Bytoft2 on GitHub (Mar 7, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.5.20
Ollama Version (if applicable)
No response
Operating System
Debian 12 (bookworm)
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When upgrading from v0.5.14 to v0.5.20 users should be able to log in to their existing users with ldap instead of having a new user created.
Actual Behavior
After upgrading from v0.5.14 to v0.5.20, when authenticating using ldap a new user was created instead of logging into the existing user (that was also created using ldap).
Steps to Reproduce
Install version 0.5.14 using ghcp in docker.
Log in using ldap
Do something that should be saved to volume (chat, create model, upload to knowledge)
Upgrade to version 0.5.20 by rerunning the docker container with the new version number
Log in using ldap
User should be a new user instead of the existing.
Logs & Screenshots
N/A
Additional Information
All chats, models and users still existed in the volume, users was just not mapped correctly when logging in. Reverting to the previous version fixed the problem, which could indicate that the logic for matching ldap users to internal users has changed
@tjbck commented on GitHub (Mar 7, 2025):
Related: https://github.com/open-webui/open-webui/issues/11207
Migration PR welcome!