---
title: Open distro LDAP
tags: Open distro
description: View the slide with "Slide Mode".
---
# Open distro LDAP
## Active Directory and LDAP
Active Directory and LDAP can be used for authentication and authorization and thus can be used both in the `authc` and `authz` sections of the configuration.
The <font color=blue>authc</font> section is used for configuring authentication, which means to<font color=blue> check if the user has entered the correct credentials.</font> The <font color=blue>authz</font> is used for authorization, which defines <font color=blue>how the roles</font> for an authenticated user are retrieved and mapped.
In most cases, you want to configure both authentication and authorization. You can also use authentication only and map the users retrieved from LDAP directly to Security plugin roles.