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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Security
    • Labels:
      None
    • ALL

      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?

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

              Created:
              Updated:
              Resolved: