# Enabling LDAP for Your Organization

The **LDAP Directory Service** lets applications and devices that sign people in over LDAP, such as mail servers, spam filters, firewalls, VPNs, printers and older business software, use ID Everywhere usernames and passwords.

## Requirements

- Your plan includes the LDAP Directory. If it doesn't, the settings page says **Not Included in Plan**.
- Your organization has a **verified primary domain**. See [Adding Your First Domain](https://help.ideverywhere.com/books/getting-started/page/adding-your-first-domain).
- You're a Domain Administrator.

## Turn it on

1. Click your name at the top right and choose **Settings**.
2. Under **Integrations › LDAP Directory Service**, tick **Enable LDAP**.
3. Click **Save LDAP Preferences**.

Your active users are added to your organization's directory automatically, and kept up to date as you add, change and disable people.

## Your connection details

Once LDAP is on, the same section shows what to enter in your applications:

<table id="bkmrk-setting-value-server"><thead><tr><th>Setting</th><th>Value</th></tr></thead><tbody><tr><td>**Server**</td><td>Shown in the portal.</td></tr><tr><td>**Connection**</td><td>LDAPS (TLS) on port 636. Always use the encrypted connection.</td></tr><tr><td>**User Search Base**</td><td>Your organization's own users container, shown in the portal.</td></tr><tr><td>**Username Attribute**</td><td>`uid`</td></tr><tr><td>**User Search Filter**</td><td>`(uid={username})`</td></tr></tbody></table>

## Read-only service account

Some applications need to *search* the directory before checking a password. For those, use the **Read-only LDAP Service Account** shown under the connection details:

- **Bind DN:** shown in the portal.
- **Service Account Password:** click **Reveal** or **Copy**. You'll be asked to verify with two-factor authentication.
- **Regenerate Password** creates a new one. Applications using the old password stop connecting until you update them.

The service account can only read your organization's directory. It can't change anything or see other organizations.

## What the statuses mean

<table id="bkmrk-status-meaning-disab"><thead><tr><th>Status</th><th>Meaning</th></tr></thead><tbody><tr><td>**Disabled by Tenant**</td><td>LDAP is available but turned off. Tick Enable LDAP to use it.</td></tr><tr><td>**Not Included in Plan**</td><td>Upgrade your plan under **Subscription**.</td></tr><tr><td>**LDAP Access Disabled**</td><td>Turned off by ID Everywhere. Contact support.</td></tr></tbody></table>

## Next

- [Connecting an Application to LDAP](https://help.ideverywhere.com/books/ldap-integration/page/connecting-an-application-to-ldap)
- [Which Username Should I Use for LDAP?](https://help.ideverywhere.com/books/ldap-integration/page/which-username-should-i-use-for-ldap)