# How can Integrate Ansible Tower with Active Directory

**URL:** <https://forum.ansible.com/t/how-can-integrate-ansible-tower-with-active-directory/25550>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [September 21, 2017, 7:02am UTC](https://forum.ansible.com/t/how-can-integrate-ansible-tower-with-active-directory/25550 "2017-09-21T07:02:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nuwan\_Vithanage](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Nuwan\_Vithanage](https://forum.ansible.com/u/Nuwan_Vithanage)\
**Post date:** [September 21, 2017, 7:02am UTC](https://forum.ansible.com/t/how-can-integrate-ansible-tower-with-active-directory/25550/1 "2017-09-21T07:02:17Z")

</div>

Hi Soniya ,

Thank you for the information I have followed the same link but still struck with it

---

<div class="post-metadata">

**Author:** ![Soniya\_panwar](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Soniya\_panwar](https://forum.ansible.com/u/Soniya_panwar)\
**Post date:** [September 21, 2017, 9:56am UTC](https://forum.ansible.com/t/how-can-integrate-ansible-tower-with-active-directory/25550/2 "2017-09-21T09:56:53Z")

</div>

can you please share what exactly error you are getting and where you got stuck?

Thanks

---

<div class="post-metadata">

**Author:** ![Nuwan\_Vithanage](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Nuwan\_Vithanage](https://forum.ansible.com/u/Nuwan_Vithanage)\
**Post date:** [September 21, 2017, 10:34am UTC](https://forum.ansible.com/t/how-can-integrate-ansible-tower-with-active-directory/25550/3 "2017-09-21T10:34:33Z")

</div>

Hi Soniya ,

Now I need to setup Ldap authentication via Active Directory

Requirement: allow CN=adm\_at,OU=Services Accounts,DC=peaktrav,DC=com group users to authenticate ansible tower login and perform some task above mention users group

Steps I have done

Test successful queries to the LDAP server - OK

Configured LDAP as attached picture but still I unable to log using Active Directory user name and password.

> **(attachments)**
>
> ![Screen Shot 2017-09-21 at 11.16.48 AM.png](https://us1.discourse-cdn.com/ansible/original/2X/2/2f8bc32162afafcf09d672773245f596d4495f8a.png)

---

<div class="post-metadata">

**Author:** ![Nuwan\_Vithanage](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Nuwan\_Vithanage](https://forum.ansible.com/u/Nuwan_Vithanage)\
**Post date:** [September 22, 2017, 12:59pm UTC](https://forum.ansible.com/t/how-can-integrate-ansible-tower-with-active-directory/25550/4 "2017-09-22T12:59:44Z")

</div>

Hi Soniya,

I need you advice to accomplish Active Directory Integration to Ansible Tower.

Below Task I have done

1. Installed Ansible Tower

2. Created User in Active directory hat has access to read the entire AD structure. 

3. Configure openladap config file like below

[root@AT tower]# cat /etc/openldap/ldap.conf

> **(attachments)**
>
> ![Screen Shot 2017-09-22 at 6.22.40 PM.png](https://us1.discourse-cdn.com/ansible/original/2X/a/af56a0b47ed767f336d3ae7115747395b8553ae4.png)
