# Configuring mongodb LDAP enabled on ubuntu22.04

**URL:** https://forums.percona.com/t/configuring-mongodb-ldap-enabled-on-ubuntu22-04/28016
**Category:** Percona Server for MongoDB
**Created:** [January 25, 2024, 7:36am UTC](https://forums.percona.com/t/configuring-mongodb-ldap-enabled-on-ubuntu22-04/28016 "2024-01-25T07:36:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sannithi1106](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@sannithi1106](https://forums.percona.com/u/sannithi1106)
#### Post date: [January 25, 2024, 7:36am UTC](https://forums.percona.com/t/configuring-mongodb-ldap-enabled-on-ubuntu22-04/28016/1 "2024-01-25T07:36:38Z")

</div>

Followed percona server for mongodb documentation and started mongod with LDAP enabled. Succuessfully test LDAP connection using testsaslauthd. Getting authentication failed error when trying to connect mongo shell using user created on external database. Any help, much appreciated.

---

<div class="post-metadata">

### Author: ![Iliterallyneedhelp](https://avatars.discourse-cdn.com/v4/letter/i/9d8465/32.png) [@Iliterallyneedhelp](https://forums.percona.com/u/Iliterallyneedhelp)
#### Post date: [January 29, 2024, 2:17pm UTC](https://forums.percona.com/t/configuring-mongodb-ldap-enabled-on-ubuntu22-04/28016/2 "2024-01-29T14:17:34Z")

</div>

Check one of my previous post about this topic. I’ve been struggling about it for a while as well

---

<div class="post-metadata">

### Author: ![radoslaw.szulgo](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/radoslaw.szulgo/32/17315_2.png) [@radoslaw.szulgo](https://forums.percona.com/u/radoslaw.szulgo)
#### Post date: [July 22, 2024, 10:58am UTC](https://forums.percona.com/t/configuring-mongodb-ldap-enabled-on-ubuntu22-04/28016/3 "2024-07-22T10:58:55Z")

</div>

@Iliterallyneedhelp this one: [LDAP Configuration issue inside container - #2 by Iliterallyneedhelp](https://forums.percona.com/t/ldap-configuration-issue-inside-container/27291/2) ?
