Bad Error Message for User Not Found in Mongos for GSSAPI on Windows

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Trivial - P5
    • None
    • Affects Version/s: 2.5.3
    • Component/s: Security
    • None
    • Environment:
      Windows Mongos
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When using GSSAPI against a Windows mongos, the error message for user not found is unhelpful. Note that the user attempting to login must be a valid user in the KDC, just not one that has been added to MongoDB.

      2013-11-08T07:47:04.549-0600 Error: 8 invalid parameter: expected an object () at src/mongo/shell/db.js:1199
      exception: login failed
      

      The same error message against a mongod looks like this:

      2013-11-08T07:47:26.222-0600 Error: 11 User not found at src/mongo/shell/db.js:1199
      exception: login failed
      

              Assignee:
              Unassigned
              Reporter:
              Craig Wilson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: