[SERVER-8013] Update shell helper db.auth() to support SASL authentication Created: 21/Dec/12 Updated: 05/Nov/15 Resolved: 21/Dec/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.3.2 |
| Type: | Improvement | 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 | ||
| Backwards Compatibility: | Minor Change |
| Participants: |
| Description |
|
Old form:
Also should support:
which allows specifying a mechanism to use, and also omitting a password for mechanisms like GSSAPI, which do not expect one. |
| Comments |
| Comment by Andy Schwerin [ 21/Dec/12 ] |
|
Two ways to call db.auth, now! |
| Comment by auto [ 21/Dec/12 ] |
|
Author: {u'date': u'2012-12-21T20:55:14Z', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Make the parameters to saslClientAuthenticate in the C++ driver use field names Remove an information leak on auth failure in which the non-existence of a user Have saslClientAuthenticate take a clear password as input, like DBClientWithCommands::auth(). |