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

Mongo shell throws poor error message when Cyrus SASL GSSAPI is not installed

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.2.8, 3.2.9
    • Security
    • None

    Description

      The mongo shell shows a poor error message when attempting to authenticate with Kerberos and Cyrus SASL GSSAPI is not installed. When attempting to authenticate, it shows the following error:

      Error: Missing expected field "mechanism"
      0
      

      While correct, it is not helpful. We should provide a more relevant error message to the user.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: