Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion source/core/security-ldap-external.txt
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,13 @@ with LDAP authentication and authorization:

.. code-block:: shell

mongo --username [email protected] --password "secret123" --authenticationDatabase "$external" --authenticationMechanism "PLAIN" --host "mongodb.example.com" --port 27017
mongo --username [email protected] --password "secret123" --authenticationDatabase '$external' --authenticationMechanism "PLAIN" --host "mongodb.example.com" --port 27017

.. important::

The ``$external`` argument must be placed in single quotes, not
double quotes, to prevent the shell from interpreting ``$external``
as a variable.

.. _security-ldap-external-roles:

Expand Down