docs/sources/setup-grafana/configure-access/configure-authentication/ldap-ui/_index.md
This page explains how to configure LDAP authentication in Grafana using the Grafana user interface. For more detailed information about configuring LDAP authentication using the configuration file, refer to LDAP authentication.
Benefits of using the Grafana user interface to configure LDAP authentication include:
{{< admonition type="note" >}} Any configuration changes made through the Grafana user interface (UI) will take precedence over settings specified in the Grafana configuration file or through environment variables. If you modify any configuration settings in the UI, they will override any corresponding settings set via environment variables or defined in the configuration file. {{< /admonition >}}
To follow these instructions, you need:
settings:read and settings:write with settings:auth.ldap:* scope.ssoSettingsLDAP feature toggle enabled.Sign in to Grafana and navigate to Administration > Authentication > LDAP.
The mandatory fields have an asterisk (*) next to them. Complete the following fields:
Complete the optional fields as needed:
Click the Edit button in the Advanced settings section to configure the following settings:
Complementary settings for LDAP authentication.
Attributes used to map LDAP user assertion to Grafana user attributes.
Map LDAP groups to Grafana roles.
Skip organization role sync: This option avoids syncing organization roles. It is useful when you want to manage roles manually.
Group search filter: The LDAP search filter finds groups within the directory.
Group search base DNS: List of base DNS to specify the matching groups' locations.
Group name attribute: Identifies users within group entries.
Manage group mappings:
When managing group mappings, the following fields are available. To add a new group mapping, click the Add group mapping button.
Additional security settings options for LDAP authentication.
Once you have configured the LDAP settings, click Save to persist the configuration.
If you want to delete all the changes made through the UI and revert to the configuration file settings, click the three dots menu icon and click Reset to default values.