Unable to log in with LDAP user on Ansible Automation Platform 2.x, getting `django_auth_ldap Authentication failed for user1: failed to map the username to a DN.` in tower.log

Solution Verified - Updated -

Issue

  • Unable to log in with LDAP user on Ansible Automation Platform 2.x, getting django_auth_ldap Authentication failed for user1: failed to map the username to a DN. in tower.log

    tower.log:2022-03-22 19:41:07,065 DEBUG    [b5a170c7cdea4d759564d8fa03a7ba30] django_auth_ldap Authentication failed for user1: failed to map the username to a DN.
    tower.log:2022-03-22 19:41:07,156 WARNING  [b5a170c7cdea4d759564d8fa03a7ba30] awx.api.generics Login failed for user user1 from 10.240.0.100
    

Environment

  • Red Hat® Ansible Automation Platform 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content