# PMM LDAP not consistent

**URL:** <https://forums.percona.com/t/pmm-ldap-not-consistent/31621>\
**Category:** PMM 2.x\
**Tags:** pmm\
**Created:** [July 15, 2024, 2:25pm UTC](https://forums.percona.com/t/pmm-ldap-not-consistent/31621 "2024-07-15T14:25:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://forums.percona.com/u/Dennis)\
**Post date:** [July 15, 2024, 2:25pm UTC](https://forums.percona.com/t/pmm-ldap-not-consistent/31621/1 "2024-07-15T14:25:47Z")

</div>

## Description:

I work with the default Percona PMM-server 2 docker image and try to get the grafana LDAP settings persistent. I am unable to mount alternative versions of grafana.ini and ldap.toml, i think because of the strict permissions of these files within the image.  
I use this in my container file:

```
    -v /home/xx/.config/containers/grafana.ini:/etc/grafana\grafana.ini \
    -v /home/xx/.config/containers/ldap.toml:/etc/grafana\ldap.toml \

```

Has any one else got this working?  
I use podman on a RHEL 9 server and run the container on systemd.  
Hope you can help me in the right direction.

---

<div class="post-metadata">

**Author:** ![nurlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nurlan/32/1523_2.png) [@nurlan](https://forums.percona.com/u/nurlan)\
**Post date:** [July 15, 2024, 6:49pm UTC](https://forums.percona.com/t/pmm-ldap-not-consistent/31621/2 "2024-07-15T18:49:27Z")

</div>

Hi,  
We do not recommend to make any changes in grafana.ini file, it can be harmful and lost during upgrades.  
Here is a good [article](https://www.dbi-services.com/blog/configure-ldap-authentication-for-percona-pmm/) how to run PMM with LDAP.

---

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://forums.percona.com/u/Dennis)\
**Post date:** [July 16, 2024, 6:08am UTC](https://forums.percona.com/t/pmm-ldap-not-consistent/31621/3 "2024-07-16T06:08:01Z")

</div>

Hi,  
Thank you very much, I will try this method.

---

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://forums.percona.com/u/Dennis)\
**Post date:** [July 16, 2024, 7:14am UTC](https://forums.percona.com/t/pmm-ldap-not-consistent/31621/4 "2024-07-16T07:14:30Z")

</div>

It works like a charm. Thank you very much.
