[SERVER-4241] Shell connections don't re-authenticate on reconnect Created: 09/Nov/11 Updated: 11/Jul/16 Resolved: 14/Nov/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security, Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
> mongo // RESTART MONGOD SERVER test[17:28:19]> db.foo.find() |
| Comments |
| Comment by auto [ 15/Nov/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |
| Comment by auto [ 14/Nov/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: Handle auth in C++, not JS |
| Comment by Eliot Horowitz (Inactive) [ 14/Nov/11 ] |
|
Having the shell call the c++ methods is probably the way to go. |
| Comment by Kristina Chodorow (Inactive) [ 14/Nov/11 ] |
|
I'm not sure how to actually fix this, as reconnection is handled by C++ and auth is handled by JS. I could move DB.prototype.auth to C++, I guess. Anyone have other suggestions how this should be done? |
| Comment by auto [ 11/Nov/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Make test use rslib's reconnect function as it has logic to work around |
| Comment by auto [ 11/Nov/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Add re-authentication logic to rslib reconnect to work-around |