[SERVER-7879] (empty) database is created when non-authorized user is trying to connect Created: 07/Dec/12 Updated: 15/Feb/13 Resolved: 10/Dec/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 2.2.2 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Edouard Perov | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | triage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Oracle Linux 64-bit |
||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
HI, UNIX> mongo -u edik -p edik usatl-s-ssvm41/edik Fri Dec 7 16:57:33 uncaught exception: login failed The empty database “edik” is created Thanks, |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 10/Dec/12 ] | |||||||||||
|
Dup of Currently there is no way to clear these fantom dbs which don't have storage. There are many ways to get to this state. | |||||||||||
| Comment by Stennie Steneker (Inactive) [ 10/Dec/12 ] | |||||||||||
|
I can confirm this behaviour with 2.2.2 .. in order to authenticate a user against a database, that database is "opened" and a non-existent database name given will persist in the list of databases until mongod is restarted. No data files are created, but it seems incorrect to show a non-existent database in show dbs. Command in the log with -vvvvv logging:
|