[SERVER-8502] Running auth passthrough test with --authMechanism=CRAM-MD5 still actually runs with MONGO-CR Created: 11/Feb/13  Updated: 11/Jul/16  Resolved: 26/Mar/13

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: 2.4.0-rc0
Fix Version/s: 2.5.0

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Running a test using "buildscripts/smoke.py --auth --authMechanism=CRAM-MD5 <testfile>" still does all authentication using MONGO-CR. See this log excerpt from the special RHEL special builder:

Authenticating to admin database as admin with mechanism MONGO-CR on connection: connection to bs-e-rhel57:31000
 m31000| Mon Feb 11 02:27:25.724 [conn1]  authenticate db: admin { authenticate: 1, nonce: "fce6c88b44354537", user: "admin", key: "78c2c33b1af4bc1eebb84bdfee1a5ce4" }



 Comments   
Comment by auto [ 26/Mar/13 ]

Author:

{u'date': u'2013-03-26T14:51:30Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-8502 Only set authenticationMechanisms if authMechanism is not MONGODB-CR
Branch: master
https://github.com/mongodb/mongo/commit/1a8b7b4241cc17524a482e7caa7fbbba90cbabbc

Comment by auto [ 26/Mar/13 ]

Author:

{u'date': u'2013-03-19T20:38:35Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-8502 Make sure authMechanism is actually used when running auth passthrough tests
Branch: master
https://github.com/mongodb/mongo/commit/37e19cbffbd2f7c20e862f7afbc622d2a60c2a96

Generated at Thu Feb 08 03:17:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.