- Technology stack
- Architecture of the Solution
- Installing and Configuring MULTIDIRECTORY
- Configuring Kerberos in the MULTIDIRECTORY Web Interface
- Configuring DNS in the MULTIDIRECTORY Web Interface
- DHCP Configuration
- Domain Trust Configuration
- Group Policy
- Connecting MULTIFACTOR Self-Service Portal to MULTIDIRECTORY
- User, Group, and Resource Management
- Connecting to MULTIFACTOR
- Access Policies
- LDAP Schema
- LDAP Logging Configuration
- Password Policies
- Role and Permission Configuration
- LDAP Authentication in Ansible AWX
- LDAP Authentication in ArgoCD
- LDAP Authentication in GitLab
- LDAP Authentication in GitFlic
- LDAP Authentication in Jenkins
- LDAP Authentication in Harbor
- LDAP Authentication in Nexus
- LDAP Authentication in PostgreSQL
- LDAP Authentication in Rancher
- LDAP Authentication in Proxmox VE
- LDAP Authentication in SpaceVM
- LDAP Authentication in Tantor
- LDAP Authentication in Shturval
- LDAP Authentication in zVirt
- LDAP Authentication in GLPI
LDAP Authentication Setup Guide for Ansible AWX
Overview
This article describes how to configure LDAP authentication in Ansible AWX, using MULTIDIRECTORY as the identity provider.
Prerequisites
- A running MULTIDIRECTORY instance.
- A pre-installed Ansible AWX environment.
Preparation
- Create a dedicated service account in
MULTIDIRECTORYwith read-only permissions to the directory. AWX will use this account to bind and query user data. - Create access groups in
MULTIDIRECTORYforAnsible AWXusers to enable role-based access control.
Configuring Ansible AWX for Integration with MULTIDIRECTORY
To set up LDAP authentication log in to the AWX web UI as an administrator. In the left-hand navigation menu, scroll all the way to the bottom and click «Settings».

- In the opened menu, under «Authentication», select «LDAP Settings».

- Click the «Edit» button to enable editing, then fill in the fields as shown in the example below:

LDAP User Search
This setting defines how AWX locates users in the LDAP directory. It typically includes:
- The Base DN for user searches
- The search scope (e.g., sub, onelevel)
- An LDAP filter to match users by username or other attributes
Example Configuration:
[ "DC=md,DC=loc", "SCOPE_SUBTREE", "(cn=%(user)s)" ]
Example: [«DC=example,DC=com», «SCOPE_SUBTREE», «(sAMAccountName=%(user)s)»]
- DC=example,DC=com — The Base DN where user accounts are located.
- SCOPE_SUBTREE — Search scope that includes the base DN and all its sub-containers (recursive search).
- (sAMAccountName=%(user)s)— LDAP filter that matches users by their sAMAccountName attribute (commonly used in Active Directory–compatible systems like MULTIDIRECTORY).
Note: If your environment uses cn instead of sAMAccountName, the filter would be (cn=%(user)s).
LDAP Group Search
This setting defines how AWX locates groups in the LDAP directory. It includes:
- An LDAP filter to identify group membership
- The Base DN for group searches
- The search scope
Example Configuration:
[ "OU=users,DC=md,DC=loc", "SCOPE_SUBTREE", "(objectClass=*)" ]
Example: [«CN=ldap-users,OU=Groups,DC=example,DC=com», «SCOPE_SUBTREE», «(objectClass=*)»]
CN=awx-users,OU=Groups,DC=example,DC=com — The Base DN where AWX should search for groups.SCOPE_SUBTREE — Search scope that includes the specified base DN and all nested sub-containers.(objectClass=*) — LDAP filter that matches any object with an objectClass attribute