<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:06:15 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-4528] Will enabling auth=true in the config change behaviour prior to creating users?</title>
                <link>https://jira.mongodb.org/browse/SERVER-4528</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hopefully the subject is descriptive. I want to enable auth in the config file but our Puppet system will deploy the file to some machines which won&apos;t have any user/pass details on them. Will this break anything?&lt;/p&gt;</description>
                <environment></environment>
        <key id="26949">SERVER-4528</key>
            <summary>Will enabling auth=true in the config change behaviour prior to creating users?</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="mbastien">Marc Bastien</assignee>
                                    <reporter username="levine">Neil Levine</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Dec 2011 22:38:29 +0000</created>
                <updated>Mon, 11 Jul 2016 18:33:58 +0000</updated>
                            <resolved>Thu, 22 Dec 2011 18:56:42 +0000</resolved>
                                                                    <component>Replication</component>
                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="75520" author="mbastien" created="Thu, 22 Dec 2011 18:56:22 +0000"  >&lt;p&gt;My pleasure.  Glad I was able to help!&lt;/p&gt;</comment>
                            <comment id="75516" author="levine" created="Thu, 22 Dec 2011 18:44:24 +0000"  >&lt;p&gt;Ok, thanks. You can close the ticket.&lt;/p&gt;</comment>
                            <comment id="75449" author="mbastien" created="Thu, 22 Dec 2011 16:10:45 +0000"  >&lt;p&gt;You are correct on both counts.  &lt;/p&gt;

&lt;p&gt;If mongod is started with auth=true, but no credentials set up, no client will be able to connect.  However, if there are no admin users configured, one may access the admin database from the localhost interface without authenticating, so that an administrative user may be configured.  &lt;/p&gt;

&lt;p&gt;As for your second question, Admin users&apos; credentials are stored in the admin database, and those users can access any other database.  Other user&apos;s credentials are stored in each database, and those users can only access the database(s) that contain their credentials.  &lt;/p&gt;

&lt;p&gt;More information on authentication can be found in the Mongo Documentation titled &quot;Security and Authentication&quot;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.mongodb.org/display/DOCS/Security+and+Authentication&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/Security+and+Authentication&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="75251" author="levine" created="Wed, 21 Dec 2011 22:27:30 +0000"  >&lt;p&gt;I have one server which I want to use auth with and another which I don&apos;t. THey&lt;br/&gt;
currently use the same mongo conf file (distributed by puppet). I wanted to&lt;br/&gt;
check what happens if I set Auth=True for both servers but don&apos;t set up any&lt;br/&gt;
credentials on one of them. After testing, it appears that this breaks things&lt;br/&gt;
ie. you have to have creds installed if the auth is set to true. Can you&lt;br/&gt;
confirm this is correct behaviour?&lt;/p&gt;

&lt;p&gt;My second question is that it looks like the auth creds for a specific database&lt;br/&gt;
have to be stored in the database itself, as opposed to the admin database. Is&lt;br/&gt;
that right?&lt;/p&gt;</comment>
                            <comment id="75248" author="levine" created="Wed, 21 Dec 2011 22:25:44 +0000"  >&lt;p&gt;On Tue, Dec 20, 2011 at 04:18:48AM +0000, Eliot Horowitz (JIRA) said: &lt;/p&gt;

&lt;p&gt;I have one server which I want to use auth with and another which I don&apos;t. THey&lt;br/&gt;
currently use the same mongo conf file (distributed by puppet). I wanted to&lt;br/&gt;
check what happens if I set Auth=True for both servers but don&apos;t set up any&lt;br/&gt;
credentials on one of them. After testing, it appears that this breaks things&lt;br/&gt;
ie. you have to have creds installed if the auth is set to true. Can you&lt;br/&gt;
confirm this is correct behaviour?&lt;/p&gt;

&lt;p&gt;My second question is that it looks like the auth creds for a specific database&lt;br/&gt;
have to be stored in the database itself, as opposed to the admin database. Is&lt;br/&gt;
that right?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Neil&lt;/p&gt;
</comment>
                            <comment id="74612" author="eliot" created="Tue, 20 Dec 2011 04:18:27 +0000"  >&lt;p&gt;What is the overall config?&lt;br/&gt;
If you require auth and setup users, but some clients don&apos;t have the user/pass, then things will break.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 20 Dec 2011 04:18:27 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 8 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 8 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>mbastien</customfieldvalue>
            <customfieldvalue>levine</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroirz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrhqjr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>17112</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hs9wrb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>