|
For the latest version, please use Certificate Lifecycle Manager 6.18.0! |
Active Directory Integration
This section describes the process of integrating MTG CLM with Active Directory.
Selecting the MTG-ERS Realm
-
From the top-left corner, select the
MTG-ERSrealm.
Accessing User Federation
-
Navigate to the left sidebar menu and select
User Federationas shown below:
Enabling the LDAP Provider
-
Click on the existing LDAP provider.
-
Enable it by clicking the
Enabled buttonin the top-right corner, as shown below:
Configuring LDAP Settings
-
Configure the fields with the appropriate information corresponding to your Active Directory.
-
Navigate to the Connection and Authentication Settings section.
Configuring Bind Type, DN and Credentials
Use a dedicated Active Directory account without administrative privileges for the Keycloak LDAP bind. The account needs read access to the users, groups and attributes that Keycloak imports from Active Directory.
-
Set
Bind typetosimpleover the LDAPS connection configured above. -
For
Bind DN, enter the dedicated account’sdistinguishedName. -
For
Bind credentials, enter the password for that same account.
Proceeding to the LDAP Searching and Updating Section
-
Keep the Edit Mode set to
UNSYNCED. -
Set
Users DNto the distinguished name of the organizational unit or container where Keycloak should search for users. For example, useOU=CLM Users,DC=example,DC=comif that organizational unit contains the users you want to import.
|
The Edit Mode option must always be set to |
Role Mapping Overview
-
This procedure synchronizes Active Directory groups into Keycloak. Synchronizing groups back to Active Directory requires write access to the affected groups.
-
Roles can be assigned to users and permissions can be granted to roles for better access control.
-
Preconfigured templates are available in the Mappers section for facilitating role mapping between AD and Keycloak.
Configuring LDAP Groups in Keycloak
-
Paste the copied distinguished name into the
LDAP Groups DNfield in Keycloak.
Setting Member-Of Attribute
-
Ensure the
Member-Of LDAP Attributeis set tomemberOf. -
This ensures the mapping applies to all members of the specified group.
Assigning Roles to Groups
-
Navigate to the Groups section in Keycloak.
-
Select the group to which you want to assign a role.
-
Go to the Role Mapping tab.