# LDAP / Active Directory Integration

## **OVERVIEW**

**LDAP / AD integration** allows users to log in to Oobeya with their LDAP / AD credentials.&#x20;

When a user logs in to Oobeya via LDAP connection, the account of the user is created on Oobeya with the **least privilege**. Then you need to define the required permissions for the users.

You can also **import users from LDAP / AD**. [*See the documentation*](/administration/user-management-single-sign-on-auth-settings/importing-a-new-user-from-ldap-ad.md) for detailed information.

You can deactivate user accounts that you do not want to log in to the Oobeya. Click [here ](/administration/user-management-single-sign-on-auth-settings/deactivating-a-user.md)to learn how to deactivate a user account.

## **1. ENABLING LDAP AUTHENTICATION**

1\. Navigate to *Administration Panel > Admin Settings*.

2\. Open ***General Settings > LDAP Settings**.*

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FDa4ol0C1eo55KexQJfIg%2Ffile.png?alt=media)

3\. Click the switch to enable LDAP authentication.

## **2. CONFIGURING LDAP**

1\. After enabling LDAP authentication, fill in the form with your own LDAP configuration.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2F7amKVKT1ucohK7KBGdXf%2Ffile.png?alt=media)

2\. Click the **"Save"** button.

* **Hostname:** Hostname or IP address of the server running LDAP. *(Example: ldap.mydomain.com)*
* **Port:** Port of the server running LDAP.
* **User DN:** *Bind DN*, A read only user that can perform LDAP searches. *(Example: cn=user,dc=domain,dc=name)*
* **Password:** Password of the bind user.
* **Base DN:** Root LDAP node from which to search for users and groups. *(Example: cn=users,dc=mydomain,dc=com)*

## WHAT'S NEXT? :dart:&#x20;

* [Importing a new user from LDAP / AD](/administration/user-management-single-sign-on-auth-settings/importing-a-new-user-from-ldap-ad.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oobeya.io/administration/user-management-single-sign-on-auth-settings/configuring-ldap-active-directory.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
