[CXX-394] Do not use MONGODB-CR for recent 2.7 builds Created: 06/Nov/14  Updated: 13/Nov/14  Resolved: 10/Nov/14

Status: Closed
Project: C++ Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: legacy-1.0.0-rc2

Type: Bug Priority: Blocker - P1
Reporter: Spencer Jackson Assignee: Spencer Jackson
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DRIVERS-166 Implement the SCRAM-SHA-1 SASL Mechanism Closed

 Description   

Recent versions of mongod will automatically create new users with SCRAM credentials. Trying to authenticate with them using MONGODB-CR will fail. This results in a failure in the auth client tests.



 Comments   
Comment by Githook User [ 10/Nov/14 ]

Author:

{u'username': u'spencerjackson', u'name': u'Spencer Jackson', u'email': u'spencer.jackson@mongodb.com'}

Message: CXX-394 Find auth mechanism in client test
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/abffb227c3bf92747a3c4cc3ae1664516e29026c

Comment by Spencer Jackson [ 07/Nov/14 ]

https://github.com/mongodb/mongo-cxx-driver/pull/200

Comment by Samantha Ritter (Inactive) [ 06/Nov/14 ]

My mistake then! Interesting. There must still be some way, though, to tell the server "I want to use MongoCR?" Perhaps we need to explicitly specify this as our auth mechanism of choice in our tests. Unless we want to write new auth tests for recent server versions now.

Comment by Andrew Morrow (Inactive) [ 06/Nov/14 ]

I think it was a recent change that when started with no users, it defaults to SCRAM, since there can be no need to do fallback.

Generated at Wed Feb 07 21:59:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.