# LDAP login not working (AWX 15.0.1)

**URL:** <https://forum.ansible.com/t/ldap-login-not-working-awx-15-0-1/35020>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [April 21, 2021, 5:31am UTC](https://forum.ansible.com/t/ldap-login-not-working-awx-15-0-1/35020 "2021-04-21T05:31:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saurabh\_Bajaj](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@Saurabh\_Bajaj](https://forum.ansible.com/u/Saurabh_Bajaj)\
**Post date:** [April 21, 2021, 5:31am UTC](https://forum.ansible.com/t/ldap-login-not-working-awx-15-0-1/35020/1 "2021-04-21T05:31:58Z")

</div>

Hello,

Really hoping someone can help me diagnose and fix this issue. I have configured LDAP login on my AWX server 15.0.1, but it does not let an LDAP account login to the server. After entering the credentials and pressing the submit button, it takes about 30 secs for the error message “Invalid username and/or password. Please try again.” to load.

Here are the logs I see in the “awx\_web” container:

Note: _ **{username}** _ and _ **{ommitted}** _ below replace actual values for privacy.

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [April 21, 2021, 5:33am UTC](https://forum.ansible.com/t/ldap-login-not-working-awx-15-0-1/35020/2 "2021-04-21T05:33:21Z")

</div>

This is your Answer  
user does not satisfy AUTH\_LDAP\_REQUIRE\_GROUP

User does not belong to the group you specified

---

<div class="post-metadata">

**Author:** ![Saurabh\_Bajaj](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@Saurabh\_Bajaj](https://forum.ansible.com/u/Saurabh_Bajaj)\
**Post date:** [April 21, 2021, 5:40am UTC](https://forum.ansible.com/t/ldap-login-not-working-awx-15-0-1/35020/3 "2021-04-21T05:40:03Z")

</div>

Please see the log lines below that line where the user is found in the next LDAP MT group, and AWX attempts to create and populate a user.

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [April 21, 2021, 5:45am UTC](https://forum.ansible.com/t/ldap-login-not-working-awx-15-0-1/35020/4 "2021-04-21T05:45:04Z")

</div>

2021-04-20 02:54:17,533 DEBUG django\_auth\_ldap Authentication failed for _{username}_ : user does not satisfy AUTH\_LDAP\_REQUIRE\_GROUP

Perhaps that message fits… Your authentication is not right or not mapped correctly.

---

<div class="post-metadata">

**Author:** ![Saurabh\_Bajaj](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@Saurabh\_Bajaj](https://forum.ansible.com/u/Saurabh_Bajaj)\
**Post date:** [April 21, 2021, 5:49am UTC](https://forum.ansible.com/t/ldap-login-not-working-awx-15-0-1/35020/5 "2021-04-21T05:49:31Z")

</div>

I don’t think you have read the entire log or my message carefully. Please do so before replying.

Can anyone else help?
