<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:17:25 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-8429] Tools cannot use SASL authentication mechanisms.</title>
                <link>https://jira.mongodb.org/browse/SERVER-8429</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="63960">SERVER-8429</key>
            <summary>Tools cannot use SASL authentication mechanisms.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Jan 2013 21:17:53 +0000</created>
                <updated>Tue, 19 Mar 2013 19:55:38 +0000</updated>
                            <resolved>Wed, 13 Feb 2013 15:54:09 +0000</resolved>
                                    <version>2.3.2</version>
                                    <fixVersion>2.4.0-rc1</fixVersion>
                                    <component>Security</component>
                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="265180" author="auto" created="Wed, 13 Feb 2013 15:54:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-02-13T15:01:34Z&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8429&quot; title=&quot;Tools cannot use SASL authentication mechanisms.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8429&quot;&gt;&lt;del&gt;SERVER-8429&lt;/del&gt;&lt;/a&gt; Fix tests in jstests/tool.&lt;/p&gt;

&lt;p&gt;The affected tests depended on a behavior of mongodump and mongorestore in 2.2&lt;br/&gt;
and prior, whereby the tools would attempt authentication via the users&apos;&lt;br/&gt;
credentials against several databases, until one matched.  This behavior is&lt;br/&gt;
risky, because it could leave the tool authenticating as a user with&lt;br/&gt;
insufficient privilege to do its task, and it is inconsistent with other tools.&lt;/p&gt;

&lt;p&gt;The tool behavior in 2.4 is to authenticate against the target database if one&lt;br/&gt;
is supplied, or admin if none is supplied, unless the user overrides this&lt;br/&gt;
behavior by passing --authenticationDatabase=dbname to the tool.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/00ac54a1d2bf8c30cef7c7d69e396da46c15c383&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/00ac54a1d2bf8c30cef7c7d69e396da46c15c383&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="265178" author="schwerin" created="Wed, 13 Feb 2013 15:53:17 +0000"  >&lt;p&gt;When running a tool against a server that requires authentication, behavior has changed.  In earlier versions of the tools, &lt;em&gt;some&lt;/em&gt; of the tools would attempt to authenticate using supplied credentials against the database that the tool was acting on, and if that failed, then try against the admin (and sometimes also local) database.  In 2.4, the following determines what database is the target for authentication:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;If the user supplies --authenticationDatabase=D, the tool will authenticate against D.&lt;/li&gt;
	&lt;li&gt;Otherwise, if the user supplied --db or --d to specify a target database for the tool&apos;s activity, the tool will authenticate against that database.&lt;/li&gt;
	&lt;li&gt;Otherwise, the tool will authenticate against the &quot;admin&quot; database.&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="264687" author="auto" created="Wed, 13 Feb 2013 01:30:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-02-13T01:30:03Z&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8414&quot; title=&quot;DBClientConnection::auth should support SASL authentication&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8414&quot;&gt;&lt;del&gt;SERVER-8414&lt;/del&gt;&lt;/a&gt;/&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8429&quot; title=&quot;Tools cannot use SASL authentication mechanisms.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8429&quot;&gt;&lt;del&gt;SERVER-8429&lt;/del&gt;&lt;/a&gt; Fix SpiderMonkey compile&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/38db721f46d739a1356ea27b3ee5ad50669b8b15&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/38db721f46d739a1356ea27b3ee5ad50669b8b15&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="264419" author="schwerin" created="Tue, 12 Feb 2013 20:35:46 +0000"  >&lt;p&gt;Mongo shell and tools now support both a --authenticationMechanism argument, controlling the default authentication mechanism, and a --authenticationDatabase argument, controlling which database is used as the &quot;userSource&quot; for authentication.  In the shell, this allows you to authenticate a user from one database while having the db object at startup refer to a different database.&lt;/p&gt;

&lt;p&gt;E.g.,&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongo --authenticationDatabase=users -u andy -p password data&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="264411" author="auto" created="Tue, 12 Feb 2013 20:33:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-01-31T22:59:23Z&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8414&quot; title=&quot;DBClientConnection::auth should support SASL authentication&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8414&quot;&gt;&lt;del&gt;SERVER-8414&lt;/del&gt;&lt;/a&gt;/&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8429&quot; title=&quot;Tools cannot use SASL authentication mechanisms.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8429&quot;&gt;&lt;del&gt;SERVER-8429&lt;/del&gt;&lt;/a&gt; Support SASL authentication in DBClient::auth() method, tools.&lt;/p&gt;

&lt;p&gt;Introduces a new overload of the auth() method of DBClientWithCommands to the&lt;br/&gt;
C++ driver.  The new overload takes a single BSONObj of authentication&lt;br/&gt;
parameters as input, and is analagous to the saslClientAuthenticate method.&lt;br/&gt;
This new method supports all SASL methods, if the client has GSASL support and&lt;br/&gt;
previously ran the mongo initializers, plus it supports MONGO_CR.  It is the&lt;br/&gt;
preferred entry point for authentication in the C++ client, going forward.&lt;/p&gt;

&lt;p&gt;The old ::auth() method remains and keeps its existing behavior.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1b2b144a8829296cfb1a8f78864eebfe752d9cb3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1b2b144a8829296cfb1a8f78864eebfe752d9cb3&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="43759">SERVER-6368</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10012"><![CDATA[Major Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 12 Feb 2013 20:33:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 1 week 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 1 week 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrn8l3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>41573</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10340"><![CDATA[Pending Test Framework Changes]]></customfieldvalue>

                        </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|hrkxsn:</customfieldvalue>

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