Can't login with local user after enabling LDAP

Greeting team,
We have configured LDAP and successfully authenticated with AD users. However, we have encountered a problem: we cannot authenticate with local user/passwords after enabling LDAP. How can we use both authentication methods simultaneously?

Thank you

Multiple authenticaionMethod need to be specified,

setParameter:
  authenticationMechanisms: SCRAM-SHA-256,PLAIN

As an Enterprise Advance customer you have access to support https://support.mongodb.com

1 Like

it works, thank you so much Chris