Sync people and groups from LDAP or Active Directory
Companies without a cloud identity provider, or with an on-premises Active Directory as the source of truth, don't have SCIM to push changes to Requestarium. LDAP sync pulls them instead: Requestarium binds to the directory with a read-only account on a schedule and keeps people, groups and home branches in line with it.
People still sign in with single sign-on or a password; LDAP sync handles membership, not sign-in.
Server settings
| Variable | Meaning |
|---|---|
TAIRI_LDAP_ENABLED=true | Offers LDAP sync in settings and runs the scheduler |
TAIRI_LDAP_ALLOW_PRIVATE_NETWORKS=true | Lets the sync reach a directory on a private address (the usual case on-premises) |
TAIRI_DATA_ENCRYPTION_KEY | Required: the bind password is stored encrypted with it |
Plain ldap:// without StartTLS is refused outside development servers.
Organization settings
Organization admins fill in:
- Server URL:
ldaps://dc1.corp.example.comorldap://…with StartTLS, plus a CA certificate if the directory's isn't publicly trusted; - Bind DN and password of a read-only account;
- Base DN;
- People filter (by default people with an email, covering
inetOrgPersonand ADuser); - Group filter (by default
groupOfNames,groupOfUniqueNamesand ADgroup); - Attributes for email, display name and members, and optionally a branch attribute such as AD's
department; - the interval, 15 minutes by default (5 to 1440).
The stored password is reused only while the URL and bind DN stay the same, so changing the server address can't send the old password somewhere else. It's never returned by the API.
Test before you turn it on
Test connection reads the directory and shows what a sync would do: who would be added, which groups would be created, who would be removed. Nothing changes. Run it after every filter change.
What a sync does
- People with an email on one of your verified SSO domains are added. New emails get an account; existing accounts join the organization with the SSO default role (never admin). If the plan's seats are full, the rest are skipped with a reason.
- Groups: each directory group becomes a Requestarium group with the synced people who are its direct members. It's renamed when the directory renames it, and deleted (with its workspace access) when it leaves the directory. LDAP groups can't be edited in the app.
- Home branch: the branch attribute's value names an existing branch, as a path (
Poland/Warsaw) or a name. Unknown values are reported and change nothing. - Leavers: people the sync added who are no longer in the directory are removed from the organization: memberships, roles and groups go, their API tokens for it are revoked, and the seat is freed. Their account remains.
Then share workspaces with groups, and access follows the directory: someone who joins the AD group gets the workspace at the next sync, and someone who leaves loses it.
Safety rules
- A sync that finds no people changes nothing and reports an error, so a wrong filter or base DN can't empty the organization.
- The organization's last admin is never removed.
- People who were in the organization before LDAP sync and aren't in the directory are left alone.
- Nested groups aren't expanded: only direct members count.
- SCIM and LDAP can't both manage an organization: LDAP sync stops while a SCIM token is active.