Set up LDAP / Active Directory authentication
Ticketra can authenticate system users against an LDAP or Active Directory directory, with optional just-in-time (JIT) provisioning and group-to-role mapping.
Before you start
You'll need:
- The directory host and whether it uses LDAPS/StartTLS (and a CA certificate if using a private CA).
- A bind DN and bind password for the service account that performs lookups.
- The base DN to search under.
- A search filter containing the
{{username}}placeholder (e.g.(sAMAccountName={{username}})).
Configure
- Sign in as a
SUPER_ADMIN. - Go to Admin → Configuration → LDAP.
- Enter the connection details:
- Directory type (
active_directoryor generic LDAP) - Host, bind DN, bind password, base DN, search filter
- CA certificate (paste PEM) if using LDAPS with a private CA
- Connect timeout (milliseconds)
- Directory type (
- Enable LDAP and save.
Use the configuration page's test action (or a single test login) to confirm bind and search succeed before disabling local accounts.
Group-to-role mapping
Map directory groups to Ticketra roles so access follows your existing group structure:
- In the LDAP config, define mappings from a group (e.g.
CN=SOC-Admins,...) to a Ticketra role. - Set a default role for matched users with no specific mapping.
- Choose an unmapped action: either assign the default role or deny access to users whose groups don't match any mapping.
Just-in-time (JIT) provisioning
With JIT enabled, a directory user who authenticates successfully and resolves to a role is created automatically on first login — no manual user creation required.
Fallback behavior
The fallback to local setting controls whether local password authentication is attempted if LDAP is unavailable. Choose this deliberately based on your availability vs. control requirements.
When LDAP is enabled, login requests for non-existent users may take noticeably longer than for known local users, because the unknown-user path attempts an LDAP lookup. If you operate in a hostile network, treat this as a username-enumeration consideration and keep the connect timeout low, alongside the built-in rate limiting and account lockout.
Scheduled sync
Ticketra can periodically sync directory users (for example to reflect role changes or deactivations) on a schedule, in addition to login-time JIT.