[SERVER-8414] DBClientConnection::auth should support SASL authentication Created: 30/Jan/13  Updated: 19/Mar/13  Resolved: 12/Feb/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.3.2
Fix Version/s: 2.4.0-rc1

Type: Bug Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-1118 Document connecting with authenticati... Closed
Duplicate
is duplicated by SERVER-8532 Re-enable tests now that mongo shell ... Closed
Related
is related to SERVER-8413 max_message_size.js fails in auth pas... Closed
Operating System: ALL
Participants:

 Description   

This is important because DBClientConnection::auth maintains an auth credential cache that it uses to re-authenticate any connections where the underlying socket is broken and needs to be re-established.



 Comments   
Comment by auto [ 13/Feb/13 ]

Author:

{u'date': u'2013-02-13T01:30:03Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8414/SERVER-8429 Fix SpiderMonkey compile
Branch: master
https://github.com/mongodb/mongo/commit/38db721f46d739a1356ea27b3ee5ad50669b8b15

Comment by auto [ 12/Feb/13 ]

Author:

{u'date': u'2013-01-31T22:59:23Z', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-8414/SERVER-8429 Support SASL authentication in DBClient::auth() method, tools.

Introduces a new overload of the auth() method of DBClientWithCommands to the
C++ driver. The new overload takes a single BSONObj of authentication
parameters as input, and is analagous to the saslClientAuthenticate method.
This new method supports all SASL methods, if the client has GSASL support and
previously ran the mongo initializers, plus it supports MONGO_CR. It is the
preferred entry point for authentication in the C++ client, going forward.

The old ::auth() method remains and keeps its existing behavior.
Branch: master
https://github.com/mongodb/mongo/commit/1b2b144a8829296cfb1a8f78864eebfe752d9cb3

Comment by auto [ 30/Jan/13 ]

Author:

{u'date': u'2013-01-30T21:24:08Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}

Message: SERVER-8414 SERVER-8413 Skip jstests/max_message_size.js when running with auth
Branch: master
https://github.com/mongodb/mongo/commit/ba257276295142403329d885a1702e30756a76f7

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