Governance
Logo
LDAP Configuration

LDAP Configuration

LDAP SSO Configuration Guide

UnifyApps · Identity Provider Configuration & Automation

1. Open Directory Settings in UnifyApps

Follow the steps below to establish a secure directory integration using Lightweight Directory Access Protocol (LDAP).

  • STEP 1: Open Security Settings - Navigate to your environment in UnifyApps and go to: Settings › Security › New Identity Provider.


    Screenshot_2026-09-02_at_12.56.09_PM_1.png
    Screenshot_2026-09-02_at_12.56.09_PM_1.png

STEP 2 · Select LDAP

Select LDAP as the provider type to open the configuration form.

2. Configure Directory Connection & Select Auth Type

Enter the details of your directory server, then choose how UnifyApps checks each user.

STEP 3 · Provide Server Connection Details

Fill out the network path to your directory server:

  • LDAP Server URL: Enter the address of your directory server.

  • LDAP Server Port: Enter the port your directory listens on (commonly 389 for LDAP and 636 for LDAPS).

  • Do you wish to use SSL for LDAP connection?: Select Yes or No. The default is Yes, and SSL (LDAPS) is recommended.

STEP 4 · Choose Your Authentication Type

Select Search or Direct Bind in LDAP Authentication Type, then complete the fields for that option.

Use this option if users are scattered across different organizational units (OUs), or you look them up by an attribute. UnifyApps first signs in with a service account, searches for the user's entry, and then signs in as that entry with the password the user typed.

  • Admin Distinguished Name: Enter the full DN of your service account (e.g., cn=unify_svc,ou=ServiceAccounts,dc=company,dc=com).

  • Admin Password: Enter the password of the service account.

  • Search Filter: Enter the filter used to find the user's entry. It must contain %s, which UnifyApps replaces with the username (e.g., sAMAccountName=%s or uid=%s). A filter without %s finds no one.

  • Search Base: Enter the node in the directory tree where the search runs (e.g., ou=Employees,dc=company,dc=com).

  • Search Scope: Enter a number for the depth of the search: 0 for Base, 1 for One Level, or 2 for Subtree.

  • Base Distinguished Name: Enter the root DN of your directory tree (e.g., dc=company,dc=com).

  • User Identifier Attribute: Enter the attribute that holds the login name (e.g., uid, cn or sAMAccountName).

Option B: Direct Bind

Use this option if every user's entry sits directly under one container. UnifyApps builds the user's DN as <User Identifier Attribute>=<username>,<Base Distinguished Name> and signs in with the password the user typed. No service account is needed.

  • Base Distinguished Name: Enter the exact container that holds your user accounts (e.g., ou=Users,dc=company,dc=com).

  • User Identifier Attribute: Enter the attribute that names the user's entry (e.g., uid or cn).

3. Configure Fallback Auth & Finalize

Choose what happens when the directory does not accept a sign-in, then save.

STEP 5 · Set Alternative Authentication

Use the last setting on the form:

  • Do you wish to use UnifyApps password store as an alternative authentication?: Select Yes (the default) to let users who fail the directory check sign in with their UnifyApps password instead. Select No if the directory should be the only way in. With Yes, a mistake in the LDAP setup can go unnoticed because users can still sign in with their UnifyApps password.

STEP 6 · Save and Test

Click Save. Make sure the new LDAP identity provider is turned on, then sign in with a directory user's username and password to check the setup. The user needs an account in UnifyApps, unless JIT Provisioning is turned on for the provider.

FAQs

How do I troubleshoot a failed LDAP sign-in?

Check the message shown on the sign-in page.

  • Invalid username or password: the directory rejected the credentials (and the UnifyApps password store, if turned on, did not accept them either), or the user has no UnifyApps account. Create the user, or turn on JIT Provisioning for the provider.

  • Admin bind failed: you use the Search type and the Admin Distinguished Name or Admin Password is wrong. The directory's result code is shown after the message.

  • User not found: you use the Search type and the filter matched no entry. Check that Search Filter contains %s, and check Search Base and Search Scope.

  • Direct Bind fails for every user: check that Base Distinguished Name is the exact container that holds the users, and that User Identifier Attribute is the attribute their entries are named by.

  • No connection at all: check LDAP Server URL, LDAP Server Port and the SSL option. For example, a secure LDAPS port needs SSL set to Yes.

  • User is temporarily locked: too many failed attempts. The account unlocks after the configured lockout time.