# Having difficulty getting LDAP authentication to work

**URL:** <https://forum.ansible.com/t/having-difficulty-getting-ldap-authentication-to-work/27654>\
**Category:** Ansible Project\
**Tags:** awx\
**Created:** [May 29, 2018, 2:50pm UTC](https://forum.ansible.com/t/having-difficulty-getting-ldap-authentication-to-work/27654 "2018-05-29T14:50:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://forum.ansible.com/u/Dennis)\
**Post date:** [May 29, 2018, 2:50pm UTC](https://forum.ansible.com/t/having-difficulty-getting-ldap-authentication-to-work/27654/1 "2018-05-29T14:50:59Z")

</div>

I’m new to Ansible and looking for some help setting up LDAP authentication for Ansible Tower. I am using Ansible **AWX** - is it okay to ask support questions here?

If so: I’ve not been able to sign into Ansible Tower AWX using Domain Credentials. How can I troubleshoot this? Are there Ansible log files somewhere that might be helpful?

Below is a screenshot of my Ansible AWX LDAP setup, Can anyone spot where I am going wrong?

[![](https://lh3.googleusercontent.com/-BuLGPjNIryQ/Ww1meFYj8pI/AAAAAAAAAE8/swP0pswg0Kc77M2hw9EVUk8Pfs_wuEkQQCLcBGAs/s1600/AWX-ldap-config.jpg)](https://lh3.googleusercontent.com/-BuLGPjNIryQ/Ww1meFYj8pI/AAAAAAAAAE8/swP0pswg0Kc77M2hw9EVUk8Pfs_wuEkQQCLcBGAs/s1600/AWX-ldap-config.jpg)

Note: on this machine I have a command called “ldapsearch” which can be used to query ldap. My queries are successful like this:

[root@ansible-awx tmp]# ldapsearch -x -H ldap://ad01.dpptoronto.com -D “CN=ldapuser,CN=Users,DC=toronto,DC=com” -W ldapuser

So why isn’t Ansible Tower AWX able to use LDAP? When you sign into Tower is it in the form username/domain , or do you just use username? I’ve tried both. How do I troubleshoot?

Any help would be greatly appreciated!!

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [May 29, 2018, 3:02pm UTC](https://forum.ansible.com/t/having-difficulty-getting-ldap-authentication-to-work/27654/2 "2018-05-29T15:02:54Z")

</div>

This is the list for Ansible, AWX has it's own list, search and I'll find it.

---

<div class="post-metadata">

**Author:** ![Tchia04](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@Tchia04](https://forum.ansible.com/u/Tchia04)\
**Post date:** [May 29, 2018, 6:04pm UTC](https://forum.ansible.com/t/having-difficulty-getting-ldap-authentication-to-work/27654/3 "2018-05-29T18:04:22Z")

</div>

AWX project list is located at [https://groups.google.com/forum/#!forum/awx-project](https://groups.google.com/forum/#!forum/awx-project)
