LDAP Integration
The Steadybit Platform supports integration with Lightweight Directory Access Protocol (LDAP) servers for centralized user management. This integration enables LDAP-based authentication and automatic team membership assignment based on LDAP group memberships.
Activation
To enable LDAP integration, set the following environment variable:
STEADYBIT_AUTH_PROVIDER=LDAPAuthentication
The Steadybit Platform supports LDAP-based user authentication with the following behavior:
The platform accesses the LDAP server anonymously by default. To use authenticated access, configure both STEADYBIT_AUTH_LDAP_MANAGER_DN and STEADYBIT_AUTH_LDAP_MANAGER_PASSWORD environment variables.
Users are authenticated using LDAP bind operations with their credentials. To use password comparison instead, set STEADYBIT_AUTH_LDAP_METHOD to password-compare.
For detailed LDAP authentication configuration parameters, refer to LDAP-Authentication.
Synchronization
When LDAP-based user synchronization is enabled, manual user management and team assignment operations are disabled.
The Steadybit Platform can synchronize users and team associations from LDAP at regular intervals. The synchronization process consists of three phases:
1. User Synchronization
The platform queries the configured LDAP groups and synchronizes user accounts based on group membership:
Administrator Users: Retrieved from the LDAP group specified in
STEADYBIT_AUTH_LDAP_SYNC_ADMIN_GROUP_DNRegular Users: Retrieved from the LDAP group specified in
STEADYBIT_AUTH_LDAP_SYNC_USER_GROUP_DN
LDAP groups must contain uniqueMember or member attributes that reference user entries. Users are created or updated in the Steadybit Platform based on LDAP data.
Note: Users removed in LDAP are not automatically removed from the platform.
2. Team Synchronization
Teams are identified using the LDAP search filter defined in STEADYBIT_AUTH_LDAP_SYNC_TEAM_SEARCH_FILTER. Teams that do not exist in the Steadybit Platform are created automatically. Teams that no longer exist in LDAP are automatically deleted from the platform, provided they were originally created by LDAP synchronization.
3. Team Member Synchronization
Users referenced in LDAP teams are assigned to the corresponding Steadybit teams with the member role. LDAP-managed members that are no longer referenced in the LDAP group are removed from the team. Manually added members on an LDAP-managed team are preserved and not affected by the synchronization.
Only users that exist in the Steadybit Platform (from User Synchronization) can be assigned to teams.
Managed by LDAP
Teams and memberships created through LDAP synchronization are marked as managed by LDAP. This has the following effects:
Team name and key of LDAP-managed teams cannot be edited by platform admins. They are controlled by LDAP.
LDAP-managed members cannot be removed from teams via the UI or API by platform admins. Membership changes must be made in LDAP.
Manually added members on an LDAP-managed team are preserved and can be managed normally.
Other team properties (description, allowed environments, allowed actions) remain editable by admins.
For additional synchronization configuration parameters, refer to LDAP-Authentication.
Troubleshooting
LDAP Connection Closed Errors
If the platform encounters LDAP connection has been closed errors, configure LDAP connection pooling by setting the JAVA_OPTS environment variable for the platform process:
Last updated
Was this helpful?
