[SERVER-25340] Remove MONGODB-CR cluster authentication fallback Created: 29/Jul/16  Updated: 31/Jan/17  Resolved: 01/Aug/16

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: 3.2.8
Fix Version/s: 3.3.11

Type: Improvement Priority: Major - P3
Reporter: Andreas Nilsson Assignee: Andreas Nilsson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-26479 Mongo shell throws poor error message... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security (08/08/16)
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 01/Aug/16 ]

Author:

{u'name': u'Andreas Nilsson', u'email': u'andreas.nilsson@mongodb.com'}

Message: SERVER-25340 Fixed lint error
Branch: master
https://github.com/mongodb/mongo/commit/18b74d535c944a1b03effd7624ed3e3f08688da7

Comment by Githook User [ 01/Aug/16 ]

Author:

{u'name': u'Andreas Nilsson', u'email': u'andreas.nilsson@mongodb.com'}

Message: SERVER-25340 Remove MONGODB-CR cluster authentication fallback
Branch: master
https://github.com/mongodb/mongo/commit/c4ddaca40ddb1bf339fc31fa6c47d2c411958edf

Generated at Thu Feb 08 04:08:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.