# 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:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![velumal](https://avatars.discourse-cdn.com/v4/letter/v/c67d28/32.png) [@velumal](https://forums.percona.com/u/velumal)\
**Post date:** [May 18, 2021, 4:59pm UTC](https://forums.percona.com/t/integerate-pmm-with-ldap-ad/10507/1 "2021-05-18T16:59:30Z")

</div>

We are doing a POC in PMM and would like to integerate the server with LDAP/AD for single sign on.  
how do we do that ?  
Can somebody share the instructions to achieve this ?

Regards,  
Vinoth

---

<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.

---

<div class="post-metadata">

**Author:** ![velumal](https://avatars.discourse-cdn.com/v4/letter/v/c67d28/32.png) [@velumal](https://forums.percona.com/u/velumal)\
**Post date:** [May 19, 2021, 3:58pm UTC](https://forums.percona.com/t/integerate-pmm-with-ldap-ad/10507/3 "2021-05-19T15:58:30Z")

</div>

Thank you @mateo_fleitas. I was able to complete the integration successfully.  
Appreciate your guidance on this.
