[SERVER-39178] Negotiate SCRAM mechanism in MongoURI::connect() Created: 24/Jan/19  Updated: 29/Oct/23  Resolved: 11/Mar/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.9, 4.1.9

Type: Improvement Priority: Major - P3
Reporter: Sara Golemon Assignee: Shreyas Kalyan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-39404 SASL negotiation in shell 4.0.5 fails... Closed
Duplicate
duplicates SERVER-39404 SASL negotiation in shell 4.0.5 fails... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Security 2019-02-25, Security 2019-03-11, Security 2019-03-25
Participants:
Case:

 Description   

MongoURI::connect() still assumes SCRAM-SHA-1 for URIs which don't have an authentication mechanism explicitly specified.

Check isMaster.saslSupportedMechs before making assumptions.



 Comments   
Comment by Githook User [ 29/Mar/19 ]

Author:

{'email': 'shreyas.kalyan@10gen.com', 'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan'}

Message: SERVER-39178 fix lint
Branch: v4.0
https://github.com/mongodb/mongo/commit/f1458bc9758a6b1bb70827168b8f369f7bdc8a99

Comment by Githook User [ 29/Mar/19 ]

Author:

{'email': 'shreyas.kalyan@10gen.com', 'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan'}

Message: SERVER-39178 Negotiate SCRAM mechanism in MongoURI::connect()

(cherry picked from commit 6f083bd87264e9d9c3d637fae62103c36a65316a)
Branch: v4.0
https://github.com/mongodb/mongo/commit/e02f09280a43bcbc1c7011d480958d7f92da44f0

Comment by Githook User [ 11/Mar/19 ]

Author:

{'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan', 'email': 'shreyas.kalyan@10gen.com'}

Message: SERVER-39178 Negotiate SCRAM mechanism in MongoURI::connect()
Branch: master
https://github.com/mongodb/mongo/commit/6f083bd87264e9d9c3d637fae62103c36a65316a

Comment by Spencer Brown [ 12/Feb/19 ]

Regression in 4.0.5

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