> For the complete documentation index, see [llms.txt](https://docs.forestall.io/fsprotect/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.forestall.io/fsprotect/configuration-center/ldap.md).

# LDAP

You can integrate `Forestall ISPM` with your `Active Directory` or other `LDAP` server to make the authentication process easier.

The `LDAP Authentication Configuration` consists of two configuration requirements ;

* **LDAP Connection Configuration**
* **Access Control Settings**

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-ef65144d41a28939e22910eb58c9d5aeb862110a%2Fsettings-ldap-image-1.png?alt=media" alt=""><figcaption><p>LDAP Authentication Settings</p></figcaption></figure>

## **Configuring the LDAP Connection**

You need to configure an LDAP connection with the parameters below.

**Status:** Status of the LDAP connection setting.

**Protocol:** LDAP protocol type, `LDAP` or `LDAPS`.

**Domain Controller IP Address:** IP Address of Domain Controller or LDAP server.

**Port:** Port number of the LDAP protocol, `389` or `636` by default.

**Search Base:** Distinguished name of the base container object, `Domain`, `Organizational Unit` or `Container`.

**User Name:** Netbios formatted Username field to test LDAP connection.

**Password:** Password field to test LDAP connection.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-86dd1ddd1e4f0ecc892ef251363784267434294f%2Fsettings-ldap-image-2.png?alt=media" alt=""><figcaption><p>Configuring the LDAP Connection</p></figcaption></figure>

## **Configuring Access Control Settings**

After successfully establishing the LDAP connection, you should define the `Users` and `Groups` that can log in to Forestall with LDAP.

You can create Access Control entries with the parameters below.

**Account Type:** Type of account can log in to Forestall, `User` or `Group`. If the Group option is selected, recursive members of this group can log in to Forestall.

**Distinguished Name:** Distinguished Name of the account.

**Security Identifier:** Security Identifier (SID / objectSid) of the account.

**Privilege:** Privilege level of the account, `User (Read-Only)` or `Admin`.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-73e250edee023ff484f45adefff9f4166eb3d617%2Fsettings-ldap-image-3.png?alt=media" alt=""><figcaption><p>Configuring the Access Control Settings</p></figcaption></figure>

After these configurations, you can log in to Forestall with Netbios formatted username and password.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-21dc370b18d9a0478888cdfd03056db7bb3847b4%2Fsettings-ldap-image-4.png?alt=media" alt=""><figcaption><p>Logging in with LDAP</p></figcaption></figure>
