# \[Galaxy-NG\] Not able to authenticate via LDAP

**URL:** <https://forum.ansible.com/t/galaxy-ng-not-able-to-authenticate-via-ldap/4421>\
**Category:** Get Help\
**Tags:** galaxy-ng\
**Created:** [March 18, 2024, 9:18am UTC](https://forum.ansible.com/t/galaxy-ng-not-able-to-authenticate-via-ldap/4421 "2024-03-18T09:18:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparsh](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sparsh/32/2610_2.png) [@sparsh](https://forum.ansible.com/u/sparsh)\
**Post date:** [March 18, 2024, 9:18am UTC](https://forum.ansible.com/t/galaxy-ng-not-able-to-authenticate-via-ldap/4421/1 "2024-03-18T09:18:31Z")

</div>

Hello, I have tried setting LDAP authentication by following this documentation over galaxy.

[https://ansible.readthedocs.io/projects/galaxy-ng/en/latest/integration/ldap/](https://ansible.readthedocs.io/projects/galaxy-ng/en/latest/integration/ldap/)

```
PULP_AUTHENTICATION_BACKEND_PRESET: ldap
PULP_AUTH_LDAP_SERVER_URI: "ldap://<url>"
PULP_AUTH_LDAP_BIND_DN: "<bind_dn>"
PULP_AUTH_LDAP_BIND_PASSWORD: "<password>"
PULP_AUTH_LDAP_USER_SEARCH_BASE_DN: "<value>"
PULP_AUTH_LDAP_USER_SEARCH_SCOPE: "SUBTREE"
PULP_AUTH_LDAP_USER_SEARCH_SCOPE: "(sAMAccountName=%(user)s)"
PULP_AUTH_LDAP_USER_ATTR_MAP: {first_name="givenName", last_name="sn", email="mail"}
PULP_AUTH_LDAP_GROUP_SEARCH_BASE_DN: "value"
PULP_AUTH_LDAP_GROUP_SEARCH_SCOPE: "SCOPE_SUBTREE"
PULP_AUTH_LDAP_GROUP_SEARCH_FILTER: "(objectclass=group)"
PULP_AUTH_LDAP_GROUP_TYPE_CLASS: "django_auth_ldap.config:GroupOfNamesType"
PULP_AUTH_LDAP_START_TLS: false

```

Added these on top of the existing installation of galaxy.

But I am not able to get the ldap users to authenticate on Galaxy Server.

Can someone help check on what could be the issue?

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [March 18, 2024, 12:46pm UTC](https://forum.ansible.com/t/galaxy-ng-not-able-to-authenticate-via-ldap/4421/2 "2024-03-18T12:46:42Z")

</div>

Hi, we need a little more information to understand your situation.  
Could you please provide information about your setup?  
How did you add those configuration? Also have you checked the logs from web container?
