<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:10 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>[CDRIVER-2425] authSource option from TXT record ignored</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2425</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Given a URI like this:&lt;/p&gt;

&lt;p&gt;mongodb+srv://user:pass@hostname/test&lt;/p&gt;

&lt;p&gt;If there is a TXT record for hostname like &quot;authSource=admin&quot;, then the driver should log into the admin database, not the URI&apos;s database &quot;test&quot;. However, the authSource from the TXT record is ignored.&lt;/p&gt;

&lt;p&gt;Cause: when we create a client or client pool, we call mongoc_topology_new, which copies the client&apos;s URI to the topology&apos;s URI, then updates the topology&apos;s URI with the contents of the SRV and TXT records. But then we create a &quot;cluster&quot; using the client&apos;s URI, which hasn&apos;t been updated.&lt;/p&gt;

&lt;p&gt;This is going to be a bug factory so I&apos;ll open a ticket to clean it up and test it better. Meanwhile, just initialize the cluster with the topology&apos;s URI, not the client&apos;s.&lt;/p&gt;</description>
                <environment></environment>
        <key id="471355">CDRIVER-2425</key>
            <summary>authSource option from TXT record ignored</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="13201">Fixed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Dec 2017 20:26:29 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:14 +0000</updated>
                            <resolved>Thu, 14 Dec 2017 16:49:48 +0000</resolved>
                                    <version>1.9.0</version>
                                    <fixVersion>1.9.0</fixVersion>
                                    <component>auth</component>
                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1753711" author="xgen-internal-githook" created="Sat, 16 Dec 2017 15:12:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2425&quot; title=&quot;authSource option from TXT record ignored&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2425&quot;&gt;&lt;del&gt;CDRIVER-2425&lt;/del&gt;&lt;/a&gt; test authsource from TXT record&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/51665d0fa9ea885448f81e87a98524ae3c512b3b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/51665d0fa9ea885448f81e87a98524ae3c512b3b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1752097" author="xgen-internal-githook" created="Thu, 14 Dec 2017 16:50:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2425&quot; title=&quot;authSource option from TXT record ignored&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2425&quot;&gt;&lt;del&gt;CDRIVER-2425&lt;/del&gt;&lt;/a&gt; authSource from TXT record is ignored&lt;br/&gt;
Branch: r1.9&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/4df4560584886d55d95a1e3ef8308bc2be18e3a3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/4df4560584886d55d95a1e3ef8308bc2be18e3a3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1752096" author="xgen-internal-githook" created="Thu, 14 Dec 2017 16:50:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2425&quot; title=&quot;authSource option from TXT record ignored&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2425&quot;&gt;&lt;del&gt;CDRIVER-2425&lt;/del&gt;&lt;/a&gt; authSource from TXT record is ignored&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7887ae59655633f91395cc5978efd3357a0f774f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7887ae59655633f91395cc5978efd3357a0f774f&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="471356">DRIVERS-431</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="902753">CDRIVER-3328</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="471361">CDRIVER-2426</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htdolb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>