[SERVER-2867] Mongoimport reports success even if it fails to authenticate Created: 30/Mar/11 Updated: 12/Jul/16 Resolved: 27/Jul/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 1.8.0 |
| Fix Version/s: | 1.9.2 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Jared Rosoff | 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 |
|
If you have authentication enabled and you try to mongoimport data without specifying a username / password, mongo import will report success (e.g. "imported N objects") even tho it failed to import a single object. Seems like if we fail to authenticate, it should report an error and not try to import docs. |
| Comments |
| Comment by auto [ 26/Jul/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Make tools fail if they connect to a db requiring authentication but don't |