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

Remove MONGODB-CR cluster authentication fallback

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.11
    • Affects Version/s: 3.2.8
    • Component/s: Security
    • None
    • Fully Compatible
    • Security (08/08/16)

      EDITED TO ADD:
      In fixing the bug listed below we realized that we no longer need the fallback mechanism causing the problem at all since we don't support 2.6/3.4 mixed mode replica sets.

      --------------------------------------------
      If you attempt to authenticate with SASL mechanism PLAIN to a server that does not have PLAIN enabled using authenticationMechanisms you receive the incomprehensible error:

      Error: Missing expected field "mechanism"

      MongoDB Enterprise > db.auth(

      {user:"u1",pwd:"123qw",mechanism:"PLAIN",digestPassword:false}

      )
      Error: Missing expected field "mechanism"

      Improve this error message to indicate what it going wrong.

            Assignee:
            andreas.nilsson Andreas Nilsson
            Reporter:
            andreas.nilsson Andreas Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: