You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/includes/steps-configure-ldap-sasl-activedirectory-authentication.yaml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -283,12 +283,12 @@ pre: |
283
283
Use :mongosh:`mongosh </>` to authenticate to the MongoDB
284
284
server, set the following options:
285
285
286
-
- :option:`--host <mongo --host>` with the hostname of the MongoDB server
287
-
- :option:`--port <mongo --port>` with the port of the MongoDB server
288
-
- :option:`--username <mongo --username>` to the user's username
289
-
- :option:`--password <mongo --password>` to the user's password
290
-
- :option:`--authenticationMechanism <mongo --authenticationMechanism>` to ``'PLAIN'``
291
-
- :option:`--authenticationDatabase <mongo --authenticationDatabase>` to ``'$external'``
286
+
- :option:`--host <mongosh --host>` with the hostname of the MongoDB server
287
+
- :option:`--port <mongosh --port>` with the port of the MongoDB server
288
+
- :option:`--username <mongosh --username>` to the user's username
289
+
- :option:`--password <mongosh --password>` to the user's password
290
+
- :option:`--authenticationMechanism <mongosh --authenticationMechanism>` to ``'PLAIN'``
291
+
- :option:`--authenticationDatabase <mongosh --authenticationDatabase>` to ``'$external'``
292
292
293
293
.. example::
294
294
@@ -317,7 +317,7 @@ pre: |
317
317
.. note::
318
318
319
319
If you want to authenticate as an existing non-``$external`` user, set
320
-
:option:`--authenticationMechanism <mongo --authenticationMechanism>` to SCRAM authentication mechanism (e.g. ``SCRAM-SHA-1`` or ``SCRAM-SHA-256`` as appropriate). This requires
320
+
:option:`--authenticationMechanism <mongosh --authenticationMechanism>` to SCRAM authentication mechanism (e.g. ``SCRAM-SHA-1`` or ``SCRAM-SHA-256`` as appropriate). This requires
321
321
that the MongoDB server's :setting:`setParameter`
322
322
:parameter:`authenticationMechanisms` includes ``SCRAM-SHA-1`` and/or ``SCRAM-SHA-256``.
0 commit comments