# AD-LDAP and Auth0 managed database

**URL:** <https://community.auth0.com/t/ad-ldap-and-auth0-managed-database/95304>\
**Category:** Get Help\
**Tags:** ad-ldap-enterprise-connection, connections\
**Created:** [November 29, 2022, 3:08pm UTC](https://community.auth0.com/t/ad-ldap-and-auth0-managed-database/95304 "2022-11-29T15:08:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bram.dejong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bram.dejong/32/41578_2.png) [@bram.dejong](https://community.auth0.com/u/bram.dejong)\
**Post date:** [November 29, 2022, 3:08pm UTC](https://community.auth0.com/t/ad-ldap-and-auth0-managed-database/95304/1 "2022-11-29T15:08:53Z")

</div>

Hi all,

we have an LDAP filled DB and a separate DB for our website (managed by Auth0)… How can we authenticate people through both databases (with a certain order)?

greetings,

Bram

---

<div class="post-metadata">

**Author:** ![david\_wisecarver](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david_wisecarver/32/37472_2.png) [@david\_wisecarver](https://community.auth0.com/u/david_wisecarver)\
**Post date:** [December 6, 2022, 11:25pm UTC](https://community.auth0.com/t/ad-ldap-and-auth0-managed-database/95304/2 "2022-12-06T23:25:18Z")

</div>

Hi bram.dejong,

If you are wanting to have both an AD/LDAP enterprise connection and an Auth0 database connection enabled for the same application, unfortunately the only way to “select” between these two options would be to include the intended connection’s name as a parameter in the `/authorize` request. By default, only one Database or AD/LDAP connection is used on the login page if you do not specify with the `connection` parameter. [Authentication API Explorer](https://auth0.com/docs/api/authentication#database-ad-ldap-passive-)

Thanks,  
Dave

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 10, 2023, 12:13pm UTC](https://community.auth0.com/t/ad-ldap-and-auth0-managed-database/95304/3 "2023-01-10T12:13:28Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
