[SERVER-7942] Mongo servers should fail at startup if --auth and --setParameter=authenticationMechanisms="" Created: 14/Dec/12  Updated: 19/Sep/15  Resolved: 30/Apr/15

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 3.1.3

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Amalia Hawkins
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-12152 Possible to specify both --auth and -... Closed
related to SERVER-8935 Provide a mechanism for mongos to tel... Closed
Tested
tested by SERVER-18276 Create tests for no authmechanism wit... Backlog
Backwards Compatibility: Fully Compatible
Sprint: Security [00-02-20-15], Security 0 03/13/15], Security 1 04/03/15, Security 2 04/24/15, Security 3 05/15/15
Participants:

 Description   

Mongo should not let you start up with --auth if you have explicitly disabled all authentication mechanisms.



 Comments   
Comment by Githook User [ 30/Apr/15 ]

Author:

{u'username': u'hawka', u'name': u'Amalia Hawkins', u'email': u'amalia.hawkins@10gen.com'}

Message: SERVER-7942: Remove obsolete test from auth jstests
Branch: master
https://github.com/mongodb/mongo/commit/7cd6f825684fe97fae9b822deead422a6903c7ef

Comment by Scott Hernandez (Inactive) [ 30/Apr/15 ]

This commit has caused the system_user_exception.js to fail due to the server no longer starting: https://github.com/mongodb/mongo/blob/b90e930b7221d3a1708b249314cc124111110847/jstests/auth/system_user_exception.js#L13

Please fix this test, or add a test to ensure the new expected behavior.

Comment by Githook User [ 29/Apr/15 ]

Author:

{u'username': u'hawka', u'name': u'Amalia Hawkins', u'email': u'amalia.hawkins@10gen.com'}

Message: SERVER-7942 Mongo servers should fail at startup if authorization enabled but no authenticationMechanisms are provided
Branch: master
https://github.com/mongodb/mongo/commit/b90e930b7221d3a1708b249314cc124111110847

Generated at Thu Feb 08 03:16:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.