# Mapping of group roles from LDAP to Keycloak

**URL:** <https://forum.keycloak.org/t/mapping-of-group-roles-from-ldap-to-keycloak/17036>\
**Category:** Miscellanaeous\
**Created:** [August 23, 2022, 7:17am UTC](https://forum.keycloak.org/t/mapping-of-group-roles-from-ldap-to-keycloak/17036 "2022-08-23T07:17:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hzerbes](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hzerbes](https://forum.keycloak.org/u/Hzerbes)\
**Post date:** [August 23, 2022, 7:17am UTC](https://forum.keycloak.org/t/mapping-of-group-roles-from-ldap-to-keycloak/17036/1 "2022-08-23T07:17:04Z")

</div>

Hi all together!  
I’m using Keycloak together with LDAP/Active Directory and have roles in LDAP (modeled as groups) which are associated to users and to groups, thus all members of these groups should get those roles during import/synchronization. Unfortnately those roles are imported but the membership to the groups not. It works fine for the users having those roles, thus I would say that my configuration in Keycloak must be probably correct.  
Is this a known bug or/missing feature or am I doing something wrong?  
I would appreciate your help very much because this quite urgent for me.

Thank you in advance!
