> For the complete documentation index, see [llms.txt](https://doc.engenius.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.engenius.ai/home-cloud-user-manual/configuring-networks/configuring-access-points/configuring-ssids/ldap-server.md).

# LDAP server

Captive Portal supports the way to authenticate with an externally hosted LDAP server. The option is available at **Configure > SSID > Captive Portal > my LDAP server**&#x20;

![](/files/6m4CXAjhN8VJ5vKIT7Cg)

Follow the steps below to configure the LDAP service:

&#x20;1\. Click **Add a server** to add a new LDAP server.

&#x20;2\. Enter the IP address or domain name of your LDAP server in the **Host** field and the LDAP listening port in the **Port** field.

3\. For LDAP admin, enter the distinguished name of the administrative account to bind your LDAP server, for example,  **cn=admin,dc=example,dc=com**, and the password.

![](/files/Cdk71uCIkcjVNMhZrtlJ)

4\. Click **OK** and then click **Apply** button.&#x20;

## Base DN and Login Attribute

**Base DN**: When you configure the LDAP server, you can set a Base DN. For example, If your domain name is example.com, you can use the Base DN **dc=example,dc=com.**&#x20;

**Login Attribute:** &#x20;

1. UID: (default ) use unique ID as the login attribute for user authentication
2. Email: use email format
3. Other text: Use user-defined string


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://doc.engenius.ai/home-cloud-user-manual/configuring-networks/configuring-access-points/configuring-ssids/ldap-server.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.
