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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6.0-rc1
    • Fix Version/s: 2.6.0-rc2
    • Component/s: Security
    • Labels:
      None
    • Operating System:
      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

              Assignee:
              spencer Spencer Brody (Inactive)
              Reporter:
              linda.qin Linda Qin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: