# AWX and LDAP

**URL:** <https://forum.ansible.com/t/awx-and-ldap/36629>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [May 15, 2022, 12:17pm UTC](https://forum.ansible.com/t/awx-and-ldap/36629 "2022-05-15T12:17:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathias\_Homann](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@Mathias\_Homann](https://forum.ansible.com/u/Mathias_Homann)\
**Post date:** [May 15, 2022, 12:17pm UTC](https://forum.ansible.com/t/awx-and-ldap/36629/1 "2022-05-15T12:17:33Z")

</div>

Hi guys,

I have a working AWX 17.1 in docker, and a working FreeIPA, also in docker.  
I've managed to get to the point that I can login to AWX with accounts from  
that IPA that have the right group, and if they're in the admin group they  
also get admin on AWX, but I can't get the organization and teams mapped  
automatically - anyone got any hints for me?

No, for various reasons I won't be able to upgrade to AWX 20 anytime soon.  
Not the hardware for it, and more important expenses coming than buying a  
cluster for AWX.

Cheers  
MH

---

<div class="post-metadata">

**Author:** ![jowestco](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jowestco](https://forum.ansible.com/u/jowestco)\
**Post date:** [May 15, 2022, 12:33pm UTC](https://forum.ansible.com/t/awx-and-ldap/36629/2 "2022-05-15T12:33:42Z")

</div>

Not sure if it’s helpful but there is a sample template for a stock OpenLDAP at [https://github.com/ansible/awx/blob/devel/tools/docker-compose/ansible/templates/ldap\_settings.json.j2](https://github.com/ansible/awx/blob/devel/tools/docker-compose/ansible/templates/ldap_settings.json.j2)

There are samples of the group/team/org maps in there.

Are you getting any messages in the logs if you enable debugging? [https://docs.ansible.com/ansible-tower/latest/html/administration/ldap\_auth.html](https://docs.ansible.com/ansible-tower/latest/html/administration/ldap_auth.html)

-John
