[DOCS-10018] Add example of CLI authentication in the OpenLDAP tutorial Created: 21/Mar/17  Updated: 08/Dec/17  Resolved: 07/Dec/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mark Helmstetter Assignee: Nicholas Larew
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 6 years, 9 weeks, 5 days ago
Story Points: 0.2

 Description   

https://docs.mongodb.com/manual/tutorial/configure-ldap-sasl-openldap/

It would be helpful if the "Authenticate the user in the mongo shell" also included an example of authenticating by passing the command line options to the mongo shell. This is particularly useful so that the user does not have to type their password to appear on the screen.

Example:

mongo --port <port> --host <host> --authenticationMechanism PLAIN --authenticationDatabase '$external' -u <user> -p



 Comments   
Comment by Githook User [ 08/Dec/17 ]

Author:

{'name': 'Nick Larew', 'email': 'nick.larew@10gen.com', 'username': 'nlarew'}

Message: DOCS-10018: CLI auth in OpenLDAP Tutorial
Branch: v3.4
https://github.com/mongodb/docs/commit/78240ab6ca2f304639a856dd35f6bcfe45782ff2

Comment by Githook User [ 08/Dec/17 ]

Author:

{'name': 'Nick Larew', 'email': 'nick.larew@10gen.com', 'username': 'nlarew'}

Message: DOCS-10018: CLI auth in OpenLDAP Tutorial
Branch: master
https://github.com/mongodb/docs/commit/1d2c0c2104a8e58592060afa84cffeff277a2d47

Generated at Thu Feb 08 07:59:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.