[SERVER-17717] security.authorization: disabled does not work in 3.01 Created: 24/Mar/15 Updated: 30/Mar/15 Resolved: 24/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 3.0.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Sidman | Assignee: | Andreas Nilsson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | use this config file then try to create a user: storage: |
| Sprint: | Security 1 04/03/15 |
| Participants: |
| Description |
|
Hi, storage: systemLog: net: security: replication: |
| Comments |
| Comment by Andreas Nilsson [ 24/Mar/15 ] |
|
No problem! |
| Comment by Daniel Sidman [ 24/Mar/15 ] |
|
I found the problem, the replication setting made it a secondary server....not the master, that is why I could not do mongo operations. Please close the ticket. Thanks for your help! |
| Comment by Andreas Nilsson [ 24/Mar/15 ] |
|
There was a regression bug introduced in 3.0.1 with regards to the web interface prompting for user name and password when it need not. This has been fixed in the master branch. As for the shell I haven't heard any other complaints. You can bootstrap the auth system either by: If you can't get it to work, can you provide your configuration file and your mongod/mongo command line arguments and I will have a look at it. Regards, |
| Comment by Daniel Sidman [ 24/Mar/15 ] |
|
Hi, I should be able to connect with the mongo shell and be able to create users, just like using the legacy --noauth option for starting the server. I can connect but have no rights. I was trying to use the admin page as a work-around but it prompts for a username and password. My goal is just to create some users. This is an install and config issue, but I thought since so many people were having it, there was a bug? |
| Comment by Andreas Nilsson [ 24/Mar/15 ] |
|
Thanks for your report heropurpose I believe the issues you mention above are different. The issue with the web console is addressed in Can you elaborate on the exact problems you have seen with list databases and list users. Thank you, |