# LDAPサーバー

キャプティブポータルは、外部でホストされるLDAPサーバーを利用した認証に対応しています。このオプションは「**設定**」＞「**アクセスポイント**」＞「**SSID**」＞「**キャプティブポータル**」＞「**LDAPサーバー**」で設定可能です。&#x20;

<figure><img src="/files/AjwpRhWr5UgisU9j316G" alt=""><figcaption></figcaption></figure>

以下の手順に従って、LDAPサービスを設定してください：

* 「**サーバーの追加**」をクリックして新しいLDAPサーバーを追加します。
* サーバーの追加ダイアログで設定を入力します。
  * **ホスト**：LDAPサーバーのIPアドレスまたはドメイン名
  * **ポート**：LDAPサーバーのリスニングポート
  * **管理者**：LDAPサーバーをバインドするための管理アカウント識別名（例：cn=admin,dc=example,dc=com）
  * **パスワード**：LDAP管理者パスワード

{% hint style="info" %}
LDAP管理アカウントは、全てのLDAPサーバーで管理者権限を持つ必要があります。これは、認証前にユーザーアカウントがロックされているかどうかを確認するために使用されます。
{% endhint %}

<figure><img src="/files/q2gyXlnNNjHCml0lhoo9" alt="" width="477"><figcaption></figcaption></figure>

* **ベースDN**（オプション）：LDAPサーバーを設定する際に、ユーザーの検索を開始するベースDNを指定できます。例えば、ドメイン名が `example.com` の場合、ベースDNとして `dc=example,dc=com` を使用できます。
* ログイン属性：
  * **UID**：ユーザー認証のログイン属性として一意のIDを使用（デフォルト）
  * **メール**：メールアドレス形式を使用
  * **その他のテキスト**：ユーザー定義の文字列を使用
* 「**OK**」をクリックし、「**適用する**」ボタンをクリックします。

{% hint style="warning" %}
キャプティブポータルの認証方式として、MAC認証には対応していません。
{% endhint %}


---

# 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.lan.kokomocloud.com/configuring-networks/configuring-access-points/configuring-ssids/captive-portal/ldap.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.
