[SERVER-12291] Authentication Created: 08/Jan/14 Updated: 10/Dec/14 Resolved: 08/Jan/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 2.4.8 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Dwayne Mcnab | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Test |
||
| Participants: |
| Description |
|
I am running cluster with --keyFile, the processes starts fine. Then I seParameter userAdminLocalhostAuthDabase=0 and add a new user. After that, I connect to the database with the new user and run an rs.initiate() to initiate the cluster. But when I try to run a query i get this error message: {"ok" : 0, "errmsg" : "unauthorized" }can some please tell me what I am doing wrong? Thanks. |
| Comments |
| Comment by Andy Schwerin [ 08/Jan/14 ] |
|
This is a question best delivered to the mongodb-users mailing list. When you mail them, be sure to include a step-by-step description of how to reproduce your problem. |