# LDAP Provisioning

LDAP, or Lightweight Directory Access Protocol, is a protocol for accessing and managing directory services over a network. It provides a centralized, hierarchical way to store and authenticate identity-related information like user accounts, groups, and organizational data. This document outlines the formal steps to configure a Simple LDAP application in Cymmetri used for LDAP Provisioning.

#### Prerequisites

Before beginning the configuration, ensure you have the following:

* **LDAP server login credentials**: Specifically, the Bind DN and password.
* **LDAP server access**: To configure and test connections.
* **SSL/TLS certificates**: Required for secure connections using LDAPS (LDAP over SSL). The LDAPS port (typically 636) must be enabled, and the CA certificate must be exported from the LDAP server and imported into the connector server.

### LDAP Essentials

Key information needed for the configuration includes:

* **Server Hostname and Port**: The address of the LDAP server and the port for communication (e.g., 636 for LDAPS).
* **Base DN (Distinguished Name)**: The starting point for all searches within the directory hierarchy (e.g., dc=example,dc=com).
* **OU (Organizational Unit) name**: The name of the specific organizational unit you are targeting.

### Step-by-Step Configuration

#### Step 1: Create a Simple LDAP Application

1. Navigate to Identity Hub → Application.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FL4GE4F4UMypbJlzD5DXA%2FScreenshot%202025-09-16%20155953.png?alt=media&#x26;token=cafe06af-9448-4b05-9a16-45d10c9f2eeb" alt=""><figcaption></figcaption></figure>

2. Click Create Application and search for "Simple LDAP."

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2F3oJH2FKpvNOCTeHTev5p%2Fimage32.png?alt=media&#x26;token=514ce6aa-0080-45e1-a6a4-ea43f30d7efe" alt=""><figcaption></figcaption></figure>

#### Step 2: Create Policy Map

The policy map defines which attributes are fetched from your LDAP directory.

1. Go to the Policy Attribute section. The table is pre-filled with common LDAP attributes, but you can add  new ones.
   * cn (Common Name): The full name of the user.
   * uid (User ID): A unique user identifier.
   * sn (Surname): The user’s last name.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2F1AEN2l12Zfw8JfgmZmxx%2Fimage15.png?alt=media&#x26;token=975c40f2-de11-47d3-9ff4-2db1728b0e87" alt=""><figcaption></figcaption></figure>

2. **Standard Attribute Mapping**:

The following mappings are typically used for provisioning:

* telephoneNumber → mobile
* cn → login
* givenName → firstName
* mail → email
* sn → lastName
* cn → firstName

3. Adding New Attributes:

* Click '**Add new**'.
* Enter the attribute name and description, then click Save.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FlyWkpafczRmf0bNfqzu4%2Fimage13.png?alt=media&#x26;token=e940d3de-c616-4724-ae85-a41c3b3b96fd" alt=""><figcaption></figcaption></figure>

* Toggle the Active switch to enable the new attribute.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2F4ppRPiWQIQ94Ms9ifhDV%2Fimage26.png?alt=media&#x26;token=21ca3096-c171-423b-b3d5-fa71f482d9c3" alt=""><figcaption></figcaption></figure>

#### Step 3: Map Your LDAP to Cymmetri

1. In the same window, go to the Policy Map option.
2. Map each LDAP attribute to its corresponding Cymmetri user attribute. By default, the mapping is set to false and needs to be manually configured.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2F9CgabdT29eL6efmHlNVa%2Fimage30.png?alt=media&#x26;token=0c97692a-fca1-4d14-96a3-29650a55adb5" alt=""><figcaption></figcaption></figure>

#### Step 4: Configure User Configuration

This section defines how Cymmetri searches for and interacts with user entries in LDAP.

1. Navigate to User Configuration.
2. Enter the Root Suffixes.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FQQmsGVH8HNbjDwQBpyFs%2Fimage29.png?alt=media&#x26;token=01184b76-f02d-4592-a0eb-598d13f317f6" alt=""><figcaption></figcaption></figure>

3. Provide the Principal Password.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FPGc03vtXT1dWa7c7lk7v%2Fimage21.png?alt=media&#x26;token=31191f16-4f74-4ae8-933b-9d301b57be67" alt=""><figcaption></figcaption></figure>

4. Enter the Base Contexts for group entry searches.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FrSmIEWeINa1eZ8T0cHaf%2Fimage9.png?alt=media&#x26;token=6878265e-56c7-45d7-b17b-32143123be78" alt=""><figcaption></figcaption></figure>

5. Enter the Server HostName.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2Fmx7xzgDQE8JdzUP9VJFs%2Fimage3.png?alt=media&#x26;token=c4eacb26-51b6-4cf8-a813-7df0f7b46e50" alt=""><figcaption></figcaption></figure>

6. Enter the Principal (the Bind DN)

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FG6ofNCJaCI7TbMsEPyQP%2Fimage19.png?alt=media&#x26;token=085b9403-1ded-4052-a1d8-e7a730577833" alt=""><figcaption></figcaption></figure>

7. Enter the User Entry Searches.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FeM5Iv2QCs5AFbOsm2H7l%2Fimage29.png?alt=media&#x26;token=8d6d8185-a5ce-40a4-a8b0-544c86d6a508" alt=""><figcaption></figcaption></figure>

8. Click Save Configuration and then Test Configuration to verify a successful connection.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FBFgze8Yfy8zNF5TFuOnp%2Fimage33.png?alt=media&#x26;token=aece7a5f-b25e-4682-9574-a7e66c687dfd" alt=""><figcaption></figcaption></figure>

#### Step 5: Configure Server Configuration

This section defines the connection parameters for the connector server.

1. Enter the Server Hostname.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FgmBkneqvzuL2dsUK5OVI%2Fimage23.png?alt=media&#x26;token=43cee51b-69d5-46db-8610-5d13979f50b0" alt=""><figcaption></figcaption></figure>

2. Enter the Server Password.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2F4ZgmEE1b0buZEua8qVp9%2Fimage20.png?alt=media&#x26;token=9a126aa8-d6d0-4562-9405-773b1165c67b" alt=""><figcaption></figcaption></figure>

3. Enter the Server Port.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FPiI0PnCQlYlFyu1eRZ0d%2Fimage25.png?alt=media&#x26;token=564a9d83-9774-41b4-8320-2a60113bacc6" alt=""><figcaption></figcaption></figure>

4. Enter the Server Connector Bundle Name.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FwKwSWv4eApqn68A8NVUy%2Fimage5.png?alt=media&#x26;token=e393b771-600a-4ede-b533-a20052c0a54c" alt=""><figcaption></figcaption></figure>

5. Enter the Server Connector Bundle Version.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2F2NoT30IvPTxLzSE36ecs%2Fimage17.png?alt=media&#x26;token=1a2ebecb-4fdb-4c82-9f6e-20934490c013" alt=""><figcaption></figcaption></figure>

6. Enter the Server Connector name.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FwHQNmWhYGQuuNuBV7dR0%2Fimage27.png?alt=media&#x26;token=0e710bf6-7b97-456d-afd6-048f2bb0c934" alt=""><figcaption></figcaption></figure>

7. Click Save Configuration and then Test Configuration.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FyIRVvVZDCemZoEKAAzaT%2Fimage33.png?alt=media&#x26;token=07e75c66-121d-4f13-964c-a1f3879daa59" alt=""><figcaption></figcaption></figure>

**Step 6: Execute Push Reconciliation on LDAP**

1. Click on Reconciliation, select push, and click on add new

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2F4IaJ0OkktTBxReQTGmoQ%2Fimage18.png?alt=media&#x26;token=e4a8a066-3b32-4e7d-b2bb-ea9c67758fc9" alt=""><figcaption></figcaption></figure>

2. Configure Push Recon Configuration

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FRh47zdFXYnMbyal5mRXh%2Fimage24.png?alt=media&#x26;token=7ac849aa-2606-4259-b50f-2dcf52add7a6" alt=""><figcaption></figcaption></figure>

3. Click On Run Recon and View in History

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FfkKFwHPwcGapYl47cvEP%2Fimage12.png?alt=media&#x26;token=027aa936-7a67-49d4-b66d-109b9a1083cb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FN7WuXtupFBGeNhnYYNR1%2Fimage22.png?alt=media&#x26;token=45cd2a05-2c62-4e06-84bf-5aa2e5defae0" alt=""><figcaption></figcaption></figure>

4. Click on the View Icon to see the Progress and the result of reconciliation

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FeNY9F4zDuFBJ51dix7N2%2Fimage6.png?alt=media&#x26;token=7a03b7f2-a683-47d4-b09a-2922775f2b82" alt=""><figcaption></figcaption></figure>

5. View in Reconciliation History

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2F9YuIiPedYieZPh0Jsge1%2Fimage4.png?alt=media&#x26;token=f740c50f-8bd5-4d8b-9c2d-e73f81d1b4de" alt=""><figcaption></figcaption></figure>

**Step 7: View Reconciliation Push User in the LDAP Target System**

1. Go to <http://10.0.6.17/phpldapadmin> and enter the required credentials.

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FePbAY71yC4ZrZtcs4qTa%2Fimage31.png?alt=media&#x26;token=f27f6cb8-1fe6-46f0-8010-b7ebfdccac86" alt=""><figcaption></figcaption></figure>

2. &#x20;Select the required server

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FYUDCNfXMF9tq3IuBmpno%2Fimage7.png?alt=media&#x26;token=1111a4df-23fe-4e13-87d7-214ca58d6599" alt=""><figcaption></figcaption></figure>

3. Click on search and verify in the search filter by entering its value

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2FBBagS38o9sIqrgEEaEpk%2Fimage11.png?alt=media&#x26;token=3fe3bbaf-33c6-4227-a99f-b29f57c0e886" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3609793515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOkb5tnBpg4wioRhBnTB%2Fuploads%2F5zJvlNEDEK0HrQiNEdMa%2Fimage28.png?alt=media&#x26;token=88fec5b6-95b9-4f91-ba85-8eacbf983db2" alt=""><figcaption></figcaption></figure>
