[keycloak-user] How to retrieve Organiational Unit from LDAP?

Celso Agra celso.agra at gmail.com
Thu Mar 30 14:20:09 EDT 2017


Hi all,

I'd like to retrieve the organizational unit (ou) from LDAP Mapper and set
this in the User Attributes.

When I get a user from LDAP, it set an attribute called LDAP_ENTRY_DN, with
value : "uid=xxxxxx,ou=group,dc=dom3,dc=dom2,dc=dom1"

So, I'd like to retrieve just the ou info "group", and set this to the user
attribute.
Would be possible to do that? Is there some mapper type just to retrieve
this information?

Best Regards,

-- 
---
*Celso Agra*


More information about the keycloak-user mailing list