# LDAP connector and auth failure

**URL:** <https://community.auth0.com/t/ldap-connector-and-auth-failure/66677>\
**Category:** Get Help\
**Tags:** ad-ldap-connector\
**Created:** [July 23, 2021, 3:28pm UTC](https://community.auth0.com/t/ldap-connector-and-auth-failure/66677 "2021-07-23T15:28:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![toms130](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/toms130/32/30700_2.png) [@toms130](https://community.auth0.com/u/toms130)\
**Post date:** [July 23, 2021, 3:28pm UTC](https://community.auth0.com/t/ldap-connector-and-auth-failure/66677/1 "2021-07-23T15:28:23Z")

</div>

Hi there,

I 'm disccovering auth0, and I’m trying to do openldap integration with LDAP connector.

I’ve setup connector, troubleshooting is fine (I can find LDAP users with search tool of admin connector page), connector is online in my auth0 account, but when I try to use the login box test, I’ve a bad credentials error.

Am I missing something ?  
I’ve seen limitation message in entreprise connexion about my current plan (developper, just doing POC for now before eventually upgrading), is there the failure cause ? (there is no clear message about that when testing login)

thanks

---

<div class="post-metadata">

**Author:** ![thameera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thameera/32/13430_2.png) [@thameera](https://community.auth0.com/u/thameera)\
**Post date:** [July 26, 2021, 2:27am UTC](https://community.auth0.com/t/ldap-connector-and-auth-failure/66677/2 "2021-07-26T02:27:10Z")

</div>

Hi @toms130 , one potential issue that trips people initially is having multiple connections enabled in the application, not just LDAP. If that is the case Auth0 may try to validate the credentials in a DB connection instead, causing this error. Can you make sure that only the LDAP connection is enabled for the application?

If it fails afterwards as well, you can check the Connector’s logs to see if the request is arriving in Connector from Auth0. This will help you confirm if the LDAP server is throwing the credentials error, or something else is going wrong.

---

<div class="post-metadata">

**Author:** ![toms130](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/toms130/32/30700_2.png) [@toms130](https://community.auth0.com/u/toms130)\
**Post date:** [July 27, 2021, 7:00am UTC](https://community.auth0.com/t/ldap-connector-and-auth-failure/66677/3 "2021-07-27T07:00:09Z")

</div>

Hi @thameera , default Username-Password-Authentication was indeed activated, now it works correctly, and I can see JSON application receives.

Thanks for advice !

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 27, 2021, 9:32am UTC](https://community.auth0.com/t/ldap-connector-and-auth-failure/66677/4 "2021-07-27T09:32:57Z")

</div>

Perfect! Glad that it’s working now and thanks for helping on this one @thameera !

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 29, 2021, 10:03am UTC](https://community.auth0.com/t/ldap-connector-and-auth-failure/66677/5 "2021-07-29T10:03:39Z")

</div>


