Connect to LDAP via Broker
Getting started
From the main menu, select Directory Integrations on the left.
On the Directory Integrations page, click Add new directory.
Select LDAP from the menu.
Enter a name to use for this connection, and click Setup Directory.
Step 1: Download and install the Linux broker
Click the Download Now link to download the broker. The downloaded archive must be copied to and installed on a Linux server that is part of your Active Directory domain.
Step 2: Connection information
Under Connection Information, enter the connection details:
Server protocol type — select LDAP or LDAPS
Server URL — your LDAP server URL
Server Port — your LDAP server port
Base Domain — your LDAP base domain
Under Service Account Information, enter the details for your LDAP service account:
Service account username — the LDAP service account
Service account read-only — enable this if you only wish to read from this directory (cannot create new users)
Authentication method — select SIMPLE
Filter — enter a directory term to filter for, such as
userLDAP Query Filter (optional) — enter an LDAP query to filter results (see below)
Click Connect to save your settings and enable the directory.
LDAP query filter
LDAP query filters use a regular expression to keep only the desired directory parameters and discard the rest. Administrators can use them to control which users can authenticate to 1Kosmos — for example, allowing only active accounts. The field is optional and can be left blank.
Example:
Step 3: Map attributes
Click Add new mapping, then add each directory attribute and its corresponding 1Kosmos attribute:
uid
uid
uid
username
mobile
phone
givenname
firstname
sn
lastname
For example, to add the uid attribute:
Click Add attribute mapping.
Enter
uidin the Directory attribute box.Select
uidfrom the 1Kosmos attribute drop-down.Click Create.
Repeat for all attributes above. When finished, click Next, then click Complete to finish setting up your LDAP Broker user directory in AdminX.
Install and run the broker
Install and run the broker on Windows
Copy the broker you downloaded in Step 1 to your Windows server and unzip it.
Open a PowerShell terminal, change to the directory where you unzipped the broker, and start it:
If the script fails with a PSSecurityException error, run:
Follow the on-screen instructions to configure and start the broker service. Enter E to edit the existing configuration. An example session:
Broker logs. After the service starts, a new logs folder is created in the same directory from which the broker was started.
Removing the broker service. Stop the broker service first, then run the removal script from the unzipped directory:
If the script fails with a PSSecurityException error, run:
Install and run the broker on Linux
Copy the broker you downloaded in Step 1 to your Linux server and unzip it.
Open your command terminal, change to the directory where you unzipped the broker, and start it:
Follow the on-screen instructions to configure and start the broker service. Enter E to edit the existing configuration. An example session:
After saving your changes, the broker service starts.
Broker logs. After the service starts, a new logs folder is created in the same directory from which the broker was started.
Stopping the broker service. To stop the broker, run:
Last updated
Was this helpful?

