# Integerate PMM with LDAP/AD

**URL:** <https://forums.percona.com/t/integerate-pmm-with-ldap-ad/10507>\
**Category:** Database Monitoring and Management\
**Created:** [May 18, 2021, 4:59pm UTC](https://forums.percona.com/t/integerate-pmm-with-ldap-ad/10507 "2021-05-18T16:59:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mateo\_fleitas](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mateo_fleitas/32/198_2.png) [@mateo\_fleitas](https://forums.percona.com/u/mateo_fleitas)\
**Post date:** [May 18, 2021, 11:42pm UTC](https://forums.percona.com/t/integerate-pmm-with-ldap-ad/10507/2 "2021-05-18T23:42:10Z")

</div>

Hi Velumal  
Using the latest version of PMM2 you’ll only have to enable LDAP by running the following commands:  
`sudo docker exec -it pmm-server /bin/bash`  
Edit the `/etc/grafana/grafana.ini` file, uncomment the variable enabled and set it to true:

```
[auth.ldap]
enabled = true

```

Restart grafana:  
`supervisorctl restart grafana`

Then, in the PMM/Server Admin option, you’ll find the LDAP tab where you can set the LDAP server information.

Here is a blogpost with a nice walkthrough the above.

> **[Enable LDAP on Percona Monitoring and Management (PMM) - Percona Database...](https://www.percona.com/blog/2020/01/08/enable-ldap-on-percona-monitoring-and-management-pmm/)**
>
> Support for LDAP arrived at PMM version 2 thanks to the new version of Grafana, and here's how to configure it.

---

_[View the full topic](https://forums.percona.com/t/integerate-pmm-with-ldap-ad/10507)._
