Keycloak - Users in Role missing after sync with LDAP

懵懂的女人 提交于 2019-12-24 07:57:38

问题


I configured LDAP as User Federation (with role-ldap-mapper) and successfully imported users with their roles to Keycloak. When I go to Users->{user}->Role Mappings I see every roles that are signed to a user (imported from LDAP), but when I go to Roles->{role}->Users In Role I see nothing.

Is it a bug or a feature? Or maybe I configure something wrong?

Users roles

Empty Users in Roles

LDPA Role mapper configuration


回答1:


Please create mapper of type msad-lds-user-account-control-mapper.

It works for me.



来源:https://stackoverflow.com/questions/47509352/keycloak-users-in-role-missing-after-sync-with-ldap

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!