# Ldap group mapping doesnot show ldap groups

**URL:** <https://community.graylog.org/t/ldap-group-mapping-doesnot-show-ldap-groups/9827>\
**Category:** Graylog Add-ons\
**Created:** [April 5, 2019, 10:55am UTC](https://community.graylog.org/t/ldap-group-mapping-doesnot-show-ldap-groups/9827 "2019-04-05T10:55:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ismail.ekiz](https://avatars.discourse-cdn.com/v4/letter/i/b2d939/32.png) [@ismail.ekiz](https://community.graylog.org/u/ismail.ekiz)\
**Post date:** [April 5, 2019, 10:55am UTC](https://community.graylog.org/t/ldap-group-mapping-doesnot-show-ldap-groups/9827/1 "2019-04-05T10:55:40Z")

</div>

group mapping list is not shown although the ldap server connection is useful. i want to get multiple ldap groups from active directory and assign them with the roles i have created. however ldap group mapping page doesnot list my active directory groups. any help would be great for me.

---

<div class="post-metadata">

**Author:** ![benvanstaveren](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/benvanstaveren/32/3398_2.png) [@benvanstaveren](https://community.graylog.org/u/benvanstaveren)\
**Post date:** [April 5, 2019, 1:45pm UTC](https://community.graylog.org/t/ldap-group-mapping-doesnot-show-ldap-groups/9827/2 "2019-04-05T13:45:38Z")

</div>

Did you check to see if the group filter query is correct? We use OpenLDAP and that works fine, I know Active Directory requires a few changes to the configuration for it to pick up groups properly but I have no experience with it.

I do recall someone else asked here recently so try a forum search, see what comes up 🙂

---

<div class="post-metadata">

**Author:** ![lindonm](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@lindonm](https://community.graylog.org/u/lindonm)\
**Post date:** [April 9, 2019, 1:04am UTC](https://community.graylog.org/t/ldap-group-mapping-doesnot-show-ldap-groups/9827/3 "2019-04-09T01:04:12Z")

</div>

I initially had some trouble with groups, turns out I wasn’t being patient enough (we have a very large AD).

Make sure your Group Mapping base DN is correct, and that you have some groups ready matching your search pattern. We use

```auto
(&(objectClass=group)(cn=gs-graylog-*))

```

And we have a number of groups such as “gs-graylog-dashboard-all” etc.

Then on the group mappings page, load it and wait - There is no feedback, but after a while, a number of groups will show up and you can then map them to roles that you have defined.

---

<div class="post-metadata">

**Author:** ![benvanstaveren](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/benvanstaveren/32/3398_2.png) [@benvanstaveren](https://community.graylog.org/u/benvanstaveren)\
**Post date:** [April 9, 2019, 8:00am UTC](https://community.graylog.org/t/ldap-group-mapping-doesnot-show-ldap-groups/9827/4 "2019-04-09T08:00:37Z")

</div>

Awesome 🙂 I guess I didn’t think of that, we only have about 10 groups under the group search dn for Graylog so it’s near instant to load… didn’t consider that if you have a larger setup that it may just take longer for things to show up 😃

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [April 23, 2019, 8:07am UTC](https://community.graylog.org/t/ldap-group-mapping-doesnot-show-ldap-groups/9827/5 "2019-04-23T08:07:24Z")

</div>

Closed on April 23, 2019, 8:07am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
