mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #20240] LDAP Authentication Failed (HTTP 400) despite valid config & successful ldap3 connection test #34665
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 @AgatheBauer on GitHub (Dec 29, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20240
Check Existing Issues
Installation Method
Docker
Open WebUI Version
main / latest (ghcr.io/open-webui/open-webui:main)
Ollama Version (if applicable)
N/A
Operating System
Linux (Docker environment)
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Successful LDAP authentication and login.
Actual Behavior
LDAP authentication consistently fails with "LDAP authentication failed" (HTTP 400) in the Containerized version, even when the exact same credentials and parameters work successfully using a Python ldap3 script running inside the same container. This behavior is reproduced on both Samba Active Directory and standard Windows Server Active Directory.
Steps to Reproduce
Logs & Screenshots
Reproduction evidence:
I executed this script inside the container and it works perfectly:
@owui-terminator[bot] commented on GitHub (Dec 29, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#19878 issue: LDAP authentication error for users with multiple LDAP uid's
by Mikikrus • Dec 11, 2025 •
bug#19792 issue: OAuth Login redirects to https://openwebui.domain.org/oauth/oidc/openwebui.domain.org after succesful login
by StNiosem • Dec 06, 2025 •
bug#19813 issue: Failed to connect to MCP server, while the connection test works fine
by spi-dlp • Dec 08, 2025 •
bug#14721 issue: Cannot login when enable LDAP and disable TLS
by xiajianlin • Jun 06, 2025 •
bug#15971 issue: 0.6.18 username/password authentication failing
by GanizaniSitara • Jul 23, 2025 •
bugShow 5 more related issues
#16172 issue: Unable to login to Open WebUI using Authentik (OIDC)
by navilg • Jul 31, 2025 •
bug#15082 issue: Authentication issue with openwebui and Keycloak
by infra823 • Jun 17, 2025 •
bug#12371 issue: Web UI hangs when trying to authenticate via LDAP
by andresmorago • Apr 03, 2025 •
bug#17786 issue: LDAP connections are not closed
by NegaScout • Sep 26, 2025 •
bug#14613 422: Open WebUI: Server Connection Error
by Hekas1 • Jun 02, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.