Connect your target LDAP system
The steps you’re to take to connect the target system are similar to what you did with the HR source system.
Use the guide on connecting a resource to midPoint to help you with the configuration.
|
If you use the MID-301 First Steps Training Docker images, you can create the LDAP resource as a copy of the template that is prepared there. Alternatively, you can configure the resource from scratch, i.e., without using the template. If you use your own LDAP or Active Directory server and are unsure how to fill in the connection details in midPoint, ask your server admins for help. The MID-301 training uses an LDAP server as an Active Directory server simulation. |
-
Create a resource from scratch.
-
Use Copy From Template if you wish to use the template in MID-301 container.
-
-
Use the LDAP connector.
-
Name the resource descriptively, such as LDAP with users.
-
Configure connection to the LDAP server.
-
The connector configuration is more complex. If you’re unsure, your LDAP server admins can help you fill in the right values. The LDAP resource examples may also help.
-
-
Create the resource in the Proposed lifecycle state.
The LDAP connection details for the MID-301 training Docker images:
-
Host:
ad -
Port:
389 -
Bind DN:
cn=idm,ou=Administrators,dc=example,dc=com -
Bind password:
secret -
The rest of the required settings is pre-configured in the template
Configure the LDAP resource object type
Similarly to the HR system, the LDAP needs a resource object type for the accounts stored on it as well.
Both object types are preconfigured in the MID-301 training LDAP template.
Use this guide for instructions on object type configuration.
-
Name the object type NormalAccount, for example.
-
Make the object type of the Account kind, default (or empty) intent, and with the Default attribute set to True.
-
Set object class to inetOrgPerson.
-
On the data specification screen, set Type to User and leave the Archetype empty.
Since there are also groups on LDAP servers, you need an object type for them as well.
-
Name the object type AD Group, for example.
-
Make the object type of the Entitlement kind, adGroup intent, and with the Default attribute set to True.
-
You can name the intent as fits your needs.
-
-
Set object class to groupOfNames.
-
On the data specification screen, leave Type and Archetype Undefined and empty.
After you save your object type, you can preview the resource data to see what you’re getting from the resource.