Add Group Mapper for LDAP Integration
While configuring an LDAP integration, you can add a mapper that will assign LDAP users to user groups in PoolParty.
The user groups you want to map to each other exist on both the PoolParty server and the LDAP server with the same name.
Note
Keep in mind that group names in PoolParty cannot contain any white space characters.
In Keycloak, open the LDAP user federation you configured for your LDAP server. For more information, refer to Configure LDAP Integration.
Go to the Mappers tab.
Click Add mapper.
The Add user federation mapper page opens.
Type in the mapper's name.
Select
group-ldap-mapper
as the mapper type.Configure the mapper. These are the most important fields:
LDAP Groups DN: must match the base DN for the groups in LDAP (in our case
ou=Groups, dc=semantic-web, dc=at
).Group Name LDAP Attribute: must match the group name attribute in LDAP (in our case
cn
).Group Object Classes: the object class for groups, usually is
groupOfNames
.Membership User LDAP Attribute: must match the LDAP attribute that maps the user's username (in our case
uid
).Mode: must be IMPORT.
Tip
For more information on how to fill in a certain field, hold your pointer over the Help icon in the Keycloak UI.
Confirm with Save.
After initial synchronization, the LDAP users get created in the PoolParty User Management with corresponding user groups coming from the LDAP server.