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

Comment on: "manual/reference/method/db.auth.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      I make the following call within the mongo shell:

      db.auth("admin","admin","MONGODB-CR")

      The result is:

      ERROR: auth expects either (username, password) or (

      { user: username, pwd: password}

      )

      It seems there is no possibility for me to define the mechanism.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 40 weeks, 6 days ago