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

Add example of CLI authentication in the OpenLDAP tutorial

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • 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
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 9 weeks, 5 days ago