Only W&B Admin roles can enable and configure LDAP authentication.
Configure LDAP connection
Choose one of the following methods to configure the LDAP connection. Use the W&B App tab to configure LDAP through the system settings UI, or use the Environment variable tab to configure LDAP at deployment time.- W&B App
- Environment variable
To configure LDAP through the W&B App:
- Go to the W&B App.
- Select your profile icon, then select System Settings.
- Toggle Configure LDAP Client.
- Add the details in the form. For more information about each input, see Configuration parameters.
- Click Update Settings to test your settings. This step establishes a test client or connection with W&B Server.
- If your connection is verified, toggle Enable LDAP Authentication and select Update Settings.
Configuration parameters
The following table lists and describes required and optional LDAP configurations.| Environment variable | Definition | Required |
|---|---|---|
ADDRESS | The address of your LDAP server within the VPC that hosts W&B Server. | Yes |
BASE_DN | The root path that searches start from, required for any queries into this directory. | Yes |
BIND_DN | Path of the administrative user registered in the LDAP server. Required if the LDAP server doesn’t support unauthenticated binding. If specified, W&B Server connects to the LDAP server as this user. Otherwise, W&B Server connects with anonymous binding. | No |
BIND_PW | The password for the administrative user, used to authenticate the binding. If left blank, W&B Server connects with anonymous binding. | No |
ATTRIBUTES | Provide email and group ID attribute names as comma-separated string values. | Yes |
TLS_ENABLE | Enable TLS. | No |
GROUP_ALLOW_LIST | Group allowlist. | No |
LOGIN | Instructs W&B Server to use LDAP to authenticate. Set to either True or False. Optionally set this to False to test the LDAP configuration. Set this to True to start LDAP authentication. | No |