# Problem with LDAP-Authentication

**URL:** <https://community.datagerry.com/t/problem-with-ldap-authentication/626>\
**Category:** Community Support\
**Created:** [July 11, 2024, 2:25pm UTC](https://community.datagerry.com/t/problem-with-ldap-authentication/626 "2024-07-11T14:25:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarvinM](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@MarvinM](https://community.datagerry.com/u/MarvinM)\
**Post date:** [July 11, 2024, 2:25pm UTC](https://community.datagerry.com/t/problem-with-ldap-authentication/626/1 "2024-07-11T14:25:48Z")

</div>

Hello everybody,

I need help with my LDAP-Authentication. I use active directory for user authentication and I have Datagerry version 2.2.0.

My Problem is Groups Mapping. I can`t login with an User which is a member from a group (see Picture 5). I added the group path under LDAP DN and assigned a Datagerry group. I adapted the searchfilter from (memberUid=%username%) to (memberOf=%username%).

The other settings (see Picture 1-4) should be correct, because If I activate the assignment for default group (see picture 1), I can login with an User about LDAP and it gets assign the default group. But then I can login with all users within my base dn (see picture 4).

Did I configure it false? Is this an Datagerry Issue?

I hope anybody can help me.

 ![picture1-5](https://europe1.discourse-cdn.com/flex013/uploads/datagerry/original/1X/35e1ce63a488b808a5026f3174bee034c85e18e7.jpeg)

---

<div class="post-metadata">

**Author:** ![marcinw](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@marcinw](https://community.datagerry.com/u/marcinw)\
**Post date:** [July 12, 2024, 9:25am UTC](https://community.datagerry.com/t/problem-with-ldap-authentication/626/2 "2024-07-12T09:25:56Z")

</div>

Hey,  
i hope the documentation will help you:  
[https://datagerry.readthedocs.io/en/latest/admin\_guide/authentication.html](https://datagerry.readthedocs.io/en/latest/admin_guide/authentication.html)

### 8.2.1. LDAP group mapping

---

<div class="post-metadata">

**Author:** ![MarvinM](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@MarvinM](https://community.datagerry.com/u/MarvinM)\
**Post date:** [July 12, 2024, 2:17pm UTC](https://community.datagerry.com/t/problem-with-ldap-authentication/626/3 "2024-07-12T14:17:49Z")

</div>

Hey,  
thank you for your answer!  
I already read the documantion, but it did not help me.
