Back to Lldap

Open-WebUI LDAP configuration

example_configs/open-webui.md

0.6.31.8 KB
Original Source

Open-WebUI LDAP configuration

For the GUI settings (recommended) go to: Admin Panel > General. There you find the LDAP config.

For the initial activation, restart OpenWebUI to load the LDAP module.

The following configurations have to be provided. The user binduser has to be member of lldap_strict_readonly.

environment variableGUI variableexample valueelaboration
ENABLE_LDAPLDAPtrueToggle
LDAP_SERVER_LABELLabelany (lldap)name
LDAP_SERVER_HOSTHostldap.example.orgIP/domain without scheme or port
LDAP_SERVER_PORTPort6360When starting Open-WebUI sometimes it only accepts the default LDAP or LDAPS port (only ENV configuration)
LDAP_ATTRIBUTE_FOR_MAILAttribute for Mailmaildefault
LDAP_ATTRIBUTE_FOR_USERNAMEAttribute for Usernameuiddefault
LDAP_APP_DNApplication DNuid=binduser,ou=people,dc=example,dc=orgHovering shows: Bind user-dn
LDAP_APP_PASSWORDApplication DN Password<binduser-pw>-
LDAP_SEARCH_BASESearch Baseou=people,dc=example,dc=orgWho should get access from your instance.
LDAP_SEARCH_FILTERSearch Filter(objectClass=person) or (|(objectClass=person)(memberOf=cn=webui-members,ou=groups,dc=example,dc=org))Query for Open WebUI account names.
LDAP_USE_TLSTLStrueShould be true for LDAPS, false for plain LDAP
LDAP_CA_CERT_FILECertificate Path/ca-chain.pemrequired when TLS activated
LDAP_VALIDATE_CERTValidate CertificatetrueSet to false for self-signed certificates
LDAP_CIPHERSCiphersALLdefault

Tested on Open WebUI

v0.6.26 via podman 5.4.2