Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13147

"show users" in 2.6 doesn't work for 2.4 user authentication model

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.6.0-rc1
    • 2.6.0-rc2
    • Security
    • None
    • ALL

    Description

      If I just upgrade the MongoDB version from 2.4 to 2.6, but don't upgrade the authentication model to 2.6, "show users" command fails:

      > show users
      2014-03-12T12:13:39.480+1100 Error: The usersInfo and rolesInfo commands require auth data to have schema version 3 or 2 but found 1 at src/mongo/shell/db.js:1274

      Is this expected? Should "show users" command work for both 2.4 and 2.6 authentication models?

      Attachments

        Issue Links

          Activity

            People

              spencer@mongodb.com Spencer Brody (Inactive)
              linda.qin@mongodb.com Linda Qin
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: