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

2.8.0-rc0 server can only be auth'd against with a 2.8.0-rc0 shell

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.14, mongodb-3.0
    • Component/s: manual
    • Labels:
      None
    • Last comment by Customer:
      true
    • Actual Time:
      4

      Description

      There should be a note about this in the release notes
      http://docs.mongodb.org/manual/release-notes/2.8/

      $ mongo --port 55000
      MongoDB shell version: 2.8.0-rc0
      connecting to: 127.0.0.1:55000/test
      replset:PRIMARY> use admin
      switched to db admin
      replset:PRIMARY> db.auth("user", "password")
      1

      $ mongo --port 55000
      MongoDB shell version: 2.6.5
      connecting to: 127.0.0.1:55000/test
      replset:PRIMARY> use admin
      switched to db admin
      replset:PRIMARY> db.auth("user", "password")
      Error: 18 { ok: 0.0, errmsg: "auth failed", code: 18 }
      0
      replset:PRIMARY> db.auth( { mechanism: "SCRAM-SHA-1", user: "user", password: "password" } )
      Error: 2 SCRAM-SHA-1 mechanism support not compiled into client library.
      0

      There just needs to be a note that if you are running a 2.8 server, you need to auth using a 2.8 shell

        Attachments

          Activity

            People

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            joanna.cheng Joanna Cheng
            Participants:
            Last commenter:
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              7 years, 6 weeks, 3 days ago
              Date of 1st Reply: