Skip to main content

LDAP authentication

Authenticate users against an LDAP / Active Directory directory.

TypeldapAuth
CategoryAccess

Fields

FieldTypeRequiredDefaultDescription
urltextyese.g. ldap://ldap.example.com:389.
baseDNtextyese.g. ou=users,dc=example,dc=com.
bindDNtextyesDN used to bind for user lookups.
bindPasstextyesBind password. Secret — encrypted at rest, never returned by the API.
userFiltertextyese.g. (uid=%s).
realmtextnoShown by the browser's auth prompt.
forwardUsernametrue/falsenoForward username to backend.
startTLStrue/falsenoUpgrade the connection to TLS.
insecureSkipVerifytrue/falsenoSkip TLS verification.
connPoolgroupnoReuse LDAP connections for bind lookups.

connPool

Reuse LDAP connections for bind lookups.

FieldTypeRequiredDefaultDescription
sizenumbernoMax pooled connections.
burstnumbernoExtra connections allowed in a spike.
ttlduration (e.g. 10m)noHow long a pooled connection lives, e.g. 30s.
Secret fields

Fields marked secret are encrypted at rest and never returned by the API. Editing the middleware leaves a stored secret in place unless you type a new value — an empty box means "keep what is stored", not "clear it".