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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Trivial - P5 Trivial - P5
    • None
    • 2.5.3
    • Security
    • None
    • Windows Mongos
    • ALL

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: