Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10018

Add example of CLI authentication in the OpenLDAP tutorial

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 0.2

      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
      

            Assignee:
            nick.larew@mongodb.com Nicholas Larew
            Reporter:
            mark.helmstetter@mongodb.com Mark Helmstetter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 20 weeks, 6 days ago