# Auth with a LDAP specific group

**URL:** <https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58>\
**Category:** Pydio 8\
**Tags:** ldap\
**Created:** [November 9, 2017, 10:38am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58 "2017-11-09T10:38:53Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madpeky](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Madpeky](https://forum.pydio.com/u/Madpeky)\
**Post date:** [November 9, 2017, 10:38am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/1 "2017-11-09T10:38:53Z")

</div>

Hi all 🙂 (And sorry for my bad english)

I installed Pydio 8 on an VM (ubuntu server 16.04) and everything is working well. Here is my basic config, with that i can log via the AD with no problems.

> **[pydio ldap](https://ibb.co/zGH51tN)**
>
> Image pydio ldap hosted in ImgBB

(Yes sorry this is french, though easy to understand as this is the user auth window — btw WORKGROUP is the name of my domain, dont ask why 😆 ).

Now i want the authenticating to be done trough a specific group of the AD. The name of this group could simply be ‘Pydio’. I tried everything, but users in that group cant be found when i test the connection.

I added (memberOf=Pydio) in the user auth window, tried to config the group scheme, attribute mapping etc. Pydio still cant find the user.

Im pretty sure the solution is very simple, but i cant find it. Any help please ?

Thank you 😉

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [November 9, 2017, 10:43am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/2 "2017-11-09T10:43:08Z")

</div>

Hi! and welcome on the new forums 🙂  
Let’s ask @c12simple to help on that, he is our ldap-master!

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [November 9, 2017, 1:45pm UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/3 "2017-11-09T13:45:51Z")

</div>

Hi,

You can do by Filter LDAP. However, memberOf is specific attribute in ldap search string that you should use dN of group instead of group name:  
for example:

Filter LDAP: (&(objectClass=user)(memberOf=CN=pydio,DC=WORKGROUP))  
That means: get all users who is member of “pydio” group

---

<div class="post-metadata">

**Author:** ![Madpeky](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Madpeky](https://forum.pydio.com/u/Madpeky)\
**Post date:** [November 9, 2017, 3:32pm UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/4 "2017-11-09T15:32:18Z")

</div>

Thank you for your answer 😉

I tried that, but it still doesnt work ‘can connect but cant find the user’ (i checked again that the user was in the right group of course).

Tried two things:

![pydio2](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/1eff7ac661be8610cf8f277d6ab0793e88e21e13.png)

and also with user DN info (DC=WORKGROUP).

Thanks again 🙂

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [November 10, 2017, 8:53am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/5 "2017-11-10T08:53:15Z")

</div>

Hi,

You should specify the DN by clicking on +  
for example DC=WORKGROUP

---

<div class="post-metadata">

**Author:** ![Madpeky](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Madpeky](https://forum.pydio.com/u/Madpeky)\
**Post date:** [November 13, 2017, 10:21am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/6 "2017-11-13T10:21:37Z")

</div>

Thank you 🙂

Unfortunetaly i already tried that also, i dont understand whats going on.

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [November 15, 2017, 10:18am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/7 "2017-11-15T10:18:49Z")

</div>

Please post all config of this plugins

---

<div class="post-metadata">

**Author:** ![Madpeky](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Madpeky](https://forum.pydio.com/u/Madpeky)\
**Post date:** [November 20, 2017, 7:42am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/8 "2017-11-20T07:42:32Z")

</div>

Hello,

This is the only config done (second image in next post):

 ![pydio 7](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/36c8df77bc9af14f0aa451741949a6c8bb85657d.png)

Thank you again 😀

---

<div class="post-metadata">

**Author:** ![Madpeky](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Madpeky](https://forum.pydio.com/u/Madpeky)\
**Post date:** [November 20, 2017, 7:43am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/9 "2017-11-20T07:43:05Z")

</div>

![pydio 8](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/9d912f71b11223c1cebe22a8d45af07d62c11687.png)

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [November 20, 2017, 8:38am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/10 "2017-11-20T08:38:58Z")

</div>

Hello

DN des utilisateur : DC=WORKGROUP (not DN=WORKGROUP)

---

<div class="post-metadata">

**Author:** ![Madpeky](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Madpeky](https://forum.pydio.com/u/Madpeky)\
**Post date:** [November 20, 2017, 9:46am UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/11 "2017-11-20T09:46:08Z")

</div>

My bad i wanted to wrote DC=WORKGROUP, but it still not working.

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [November 20, 2017, 2:46pm UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/12 "2017-11-20T14:46:48Z")

</div>

Is bibi a memberof pydio group ?

---

<div class="post-metadata">

**Author:** ![Madpeky](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Madpeky](https://forum.pydio.com/u/Madpeky)\
**Post date:** [November 20, 2017, 3:56pm UTC](https://forum.pydio.com/t/auth-with-a-ldap-specific-group/58/13 "2017-11-20T15:56:09Z")

</div>

Yes he is, i checked that so many times…😀

I use the ‘public’ version of Pydio, not the enterprise one. Does it matter ?
