Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Atlas CLI
Created by Guest
Created on May 17, 2021

Support setting userToDNMapping in LDAP config

There are flags to save other LDAP configuration settings but none for this portion. I would imagine it to be three flags with two being mutually exclusive (per docs at https://docs.mongodb.com/manual/reference/configuration-options/#security.ldap.userToDNMapping): [ --mappingMatch { --mappingLdapQuery | --mappingSubstitution } ]
  • ADMIN RESPONSE
    Oct 18, 2025
    Added in MongoDB CLI v1.16 https://docs.mongodb.com/mongocli/stable/release-notes/
  • Guest
    Jul 20, 2021
    Added in MongoDB CLI v1.16 https://docs.mongodb.com/mongocli/stable/release-notes/