Database Backends
Backends validate credentials. In config v2 they live under auth.backends.
Main Structure
auth:
backends:
order:
- cache
- ldap
- lua
Important:
cacheshould remain first- LDAP config lives under
auth.backends.ldap - Lua backend config lives under
auth.backends.lua.backend - Lua policy scripts live under
auth.policy.attribute_sources.luaandauth.policy.obligation_targets.lua; hooks live underauth.controls.lua.hooks
Topics
Named Backends
Named LDAP pools and named Lua backends are still supported through the order list:
auth:
backends:
order:
- cache
- ldap(pool1)
- lua(reporting)
ldap(pool1)refers toauth.backends.ldap.pools.pool1lua(reporting)refers toauth.backends.lua.backend.named_backends.reporting