# LDAP

System Settings >> Authentication >> LDAP

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

{% hint style="danger" %}
Se habilitar essa funçāo, verifique a documentaçāo System Settings -> Components -> [Public key](/product-guide/configuracoes/pam/system-settings/components.md#public-key)
{% endhint %}

```
{
  "username": "samAccountName",
  "name": "displayName",
  "email": "mail",
  "groups": "memberof"
}
```

{% hint style="success" %}
LDAPS: Para configurar certificados LDAP TLS, será necessário carregar o certificado "ldap\_ca.pem, ldap\_cert.pem, ldap\_cert.key" na appliance e reiniciar o serviço\\

\\\\\[]0
{% endhint %}

## Exemplos

### Importar usuários membros de um grupo, importar apenas os usuários e nāo os grupos que ele faz parte.

> Caso de uso: Para ter acesso ao PAM, incluirá os usuários no grupo XPTO no AD e as permissoes de acesso serao atribuidas apenas dentro do PAM. Tráz os logins do AD, cria as permissoes no PAM.

```
{
  "name": "cn",
  "email": "mail",
  "username": "sAMAccountName"
}
```


---

# 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://wiki.datadike.com/product-guide/configuracoes/pam/system-settings/authentication/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.
