<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:05:12 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>[CXX-2201] Getting &quot;could not start SASLPrep for password&quot; when connecting with user name/password</title>
                <link>https://jira.mongodb.org/browse/CXX-2201</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;I have a mongDB V4.4 running in my VM (Ubuntu 20.04) in access control mode. I created an admin user with this role:&lt;br/&gt;
roles: [ { role: &#8220;root&#8221;, db: &#8220;admin&#8221; } ] &lt;/p&gt;

&lt;p&gt;I installed the mongoDB driver for C++ (V3.6.2) and wrote a mini-program to test it. My code (basically copied from mongocxx tutorial):&lt;/p&gt;

&lt;p&gt;mongocxx::instance instance{};&lt;/p&gt;

&lt;p&gt;mongocxx::uri uri( &quot;mongodb://userName:password@localhost:27017/?authSource=admin&quot;);&lt;/p&gt;

&lt;p&gt;mongocxx::client conn(uri);&lt;/p&gt;

&lt;p&gt;mongocxx::database db = conn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;test&amp;quot;&amp;#93;&lt;/span&gt;;&lt;/p&gt;

&lt;p&gt;mongocxx::collection coll = db&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;test&amp;quot;&amp;#93;&lt;/span&gt;;&lt;/p&gt;

&lt;p&gt;mongocxx::cursor cursor = coll.find({});&lt;/p&gt;

&lt;p&gt;for (auto doc : cursor) &lt;/p&gt;
{

&#160; &#160;std::cout &amp;lt;&amp;lt; bsoncxx::to_json(doc) &amp;lt;&amp;lt; &quot;\n&quot;;

}

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I inserted a document in test.test from mongo shell. The &#8216;find&#8217; command works with the same user in mongo shell. When running this mini program I get:&lt;/p&gt;

&lt;p&gt;&#160;terminate called after throwing an instance of &apos;mongocxx::v_noabi::query_exception&apos; what(): could not start SASLPrep for password: generic server error Aborted (core dumped)&lt;/p&gt;

&lt;p&gt;When I cancel the MonogDB access control and connect to it with the same lines but without the user/password it works great and I can insert and find documents.&lt;br/&gt;
I also installed Compass and copied the connection string from above in order to connect to MongoDB from it. It worked fine and I was able to read/write/delete and so on.&lt;/p&gt;</description>
                <environment>Ubuntu 20.04, MongoDB V4.4 with access control, Driver V3.6.2</environment>
        <key id="1642705">CXX-2201</key>
            <summary>Getting &quot;could not start SASLPrep for password&quot; when connecting with user name/password</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="5">Cannot Reproduce</resolution>
                                        <assignee username="roberto.sanchez@mongodb.com">Roberto Sanchez</assignee>
                                    <reporter username="shavitalman@gmail.com">Shavit Talman</reporter>
                        <labels>
                    </labels>
                <created>Sun, 7 Mar 2021 09:37:42 +0000</created>
                <updated>Fri, 31 Mar 2023 15:42:13 +0000</updated>
                            <resolved>Fri, 6 Aug 2021 21:41:35 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="5315758" author="JIRAUSER1273347" created="Fri, 31 Mar 2023 15:42:13 +0000"  >&lt;p&gt;Depending on which version of libicu you have on your system, you&apos;ll need the associated data.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;For instance, if you use libicu 68, you&apos;ll need a file called &apos;icudt68l.dat&apos; and the environment variable &apos;ICU_DATA=/path/to/icudt68l.dat&apos; for the mongodb driver to work.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;For some reason (maybe this is antique stuff), while the libicu is reasonable easy to find, finding the corresponding data files is a bit of a pain. You&apos;ll have to google hard.&lt;/p&gt;

&lt;p&gt;Some reference:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://unicode-org.github.io/icu/userguide/icu/howtouseicu.html#c-with-your-own-build-system&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://unicode-org.github.io/icu/userguide/icu/howtouseicu.html#c-with-your-own-build-system&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3987744" author="JIRAUSER1259348" created="Mon, 9 Aug 2021 09:12:32 +0000"  >&lt;p&gt;I see. Thank you for the help! We&apos;ll be discussing the best course of action from the data that you have provided.&lt;/p&gt;</comment>
                            <comment id="3986467" author="roberto.sanchez" created="Fri, 6 Aug 2021 21:41:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexis.jacob%40systrangroup.com&quot; class=&quot;user-hover&quot; rel=&quot;alexis.jacob@systrangroup.com&quot;&gt;alexis.jacob@systrangroup.com&lt;/a&gt; &amp;amp; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shavitalman%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;shavitalman@gmail.com&quot;&gt;shavitalman@gmail.com&lt;/a&gt;, I am unable to reproduce this behavior outside of a Conan environment.  Based on my investigation, it seems that the Conan build uses, among other things, a static-only build of ICU, a custom CMake module that appears to override find_package to handle the static-only build of ICU, and patches to the C driver build to not build any shared components (because static ICU components are apparently not relocatable).  To try to reproduce the error, I applied some of the same modifications that the Conan build applies. I also made further modifications to force linking with the static ICU components. However, even then I was not able to reproduce the failure.&lt;/p&gt;

&lt;p&gt;The fact is that the Conan build is sufficiently complex and changes enough things in unexpected ways, that a proper resolution of this issue requires someone who is intimately familiar with Conan to identify and fix the root cause.  I recommend that you file a ticket with the Conan project and request that they investigate the failure.  They are better equipped to identify build issues in dependencies.&lt;/p&gt;

&lt;p&gt;In the meantime, please consider installing the C and C++ drivers directly from source, or from your Linux distro&apos;s repositories (assuming you are running a recent release).  You can consult the &lt;a href=&quot;http://mongocxx.org/mongocxx-v3/installation/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;C++ driver installation instructions&lt;/a&gt; to start.  If you run into any difficulty, you can find assistance in the &lt;a href=&quot;https://mongodb.com/community/forums/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Community Forums&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Also note that we discussed this matter internally and I have filed &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4119&quot; title=&quot;Replace reference to ICU SASLPrep (RFC-4013) with internal implementation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4119&quot;&gt;&lt;del&gt;CDRIVER-4119&lt;/del&gt;&lt;/a&gt; to document the need for an internal SASLPrep implementation that would allow us to eliminate the ICU dependency.&lt;/p&gt;</comment>
                            <comment id="3974971" author="JIRAUSER1259348" created="Mon, 2 Aug 2021 10:12:36 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Indeed, I realized that there needs to be a user with specific auth mechanisms. Try adding a user that accepts &quot;SCRAM-SHA-256&quot; as a mechanism for authentication, and then try &quot;mongodb://username:userPassword@127.0.0.1/?authSource=test&amp;amp;authMechanism=SCRAM-SHA-256&quot;. This should trigger the exception &quot;Exception: could not start SASLPrep for password: generic server error&quot;&lt;/p&gt;</comment>
                            <comment id="3961230" author="roberto.sanchez" created="Sat, 24 Jul 2021 02:59:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexis.jacob%40systrangroup.com&quot; class=&quot;user-hover&quot; rel=&quot;alexis.jacob@systrangroup.com&quot;&gt;alexis.jacob@systrangroup.com&lt;/a&gt;, I attempted to reproduce this again on Ubuntu 18.04 using your minimal example.  However, there does not appear to be any problem.  That is, the execution of &lt;tt&gt;./bin/minimalMongoSetup &quot;mongodb://127.0.0.1&quot;&lt;/tt&gt; produced no error output and the exit status of the command was 0.  Can you describe the error I should observe?&lt;/p&gt;</comment>
                            <comment id="3912550" author="JIRAUSER1259348" created="Thu, 1 Jul 2021 16:13:52 +0000"  >&lt;p&gt;Understood. Thank you for your time.&lt;/p&gt;</comment>
                            <comment id="3912540" author="roberto.sanchez" created="Thu, 1 Jul 2021 16:07:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexis.jacob%40systrangroup.com&quot; class=&quot;user-hover&quot; rel=&quot;alexis.jacob@systrangroup.com&quot;&gt;alexis.jacob@systrangroup.com&lt;/a&gt; my apologies for the lack of communication.  I have been assigned some other work that has had to take priority.  I intend to return to this ticket soon and I will follow-up if I have further questions at that time.&lt;/p&gt;</comment>
                            <comment id="3910416" author="JIRAUSER1259348" created="Wed, 30 Jun 2021 16:52:48 +0000"  >&lt;p&gt;I was wondering if you needed additional info regarding the setup? We have tested and could reproduce from the zip file in an Ubuntu-18 OS, but we could probably try other OSes in order to reproduce that bug. Thanks for your help.&lt;/p&gt;</comment>
                            <comment id="3887037" author="JIRAUSER1259348" created="Fri, 18 Jun 2021 16:12:46 +0000"  >&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/320965/320965_minimalMongoSetup.zip&quot; title=&quot;minimalMongoSetup.zip attached to CXX-2201&quot;&gt;minimalMongoSetup.zip&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="3887036" author="JIRAUSER1259348" created="Fri, 18 Jun 2021 16:12:22 +0000"  >&lt;p&gt;Very well. Please find attached a zip of a reproduction that we had on an ubuntu-18 install.&lt;/p&gt;

&lt;p&gt;Steps are as follows, after unzipping and working inside the extracted directory:&lt;/p&gt;


&lt;p&gt;1. cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=11 -G &quot;CodeBlocks - Unix Makefiles&quot; minimalMongoSetup&lt;br/&gt;
2. make&lt;br/&gt;
3. ./bin/minimalMongoSetup &quot;mongodb://uri-path&quot;&lt;/p&gt;</comment>
                            <comment id="3872245" author="roberto.sanchez" created="Fri, 11 Jun 2021 00:58:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexis.jacob%40systrangroup.com&quot; class=&quot;user-hover&quot; rel=&quot;alexis.jacob@systrangroup.com&quot;&gt;alexis.jacob@systrangroup.com&lt;/a&gt;, a minimal project would be very helpful.  It looks like conan provides static libraries.  From what I can tell by inspecting those static libraries and looking at the source code, it seems that disabling SASL but enabling ICU results in a peculiar output of the build process.  It isn&apos;t clear to me if this is a combination of options that we support or test.  I will need to investigate that.  However, a minimal example will help me trigger the failure and then allow me to confirm that I have fixed it properly.&lt;/p&gt;</comment>
                            <comment id="3849822" author="JIRAUSER1259348" created="Mon, 31 May 2021 14:34:51 +0000"  >&lt;p&gt;From looking at the conaninfo.txt:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;mongo-c-driver:shared=True&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-c-driver:srv=True&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-c-driver:with_icu=True&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-c-driver:with_sasl=False&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-c-driver:with_snappy=True&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-c-driver:with_ssl=openssl&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-c-driver:with_zlib=True&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-c-driver:with_zstd=True&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-cxx-driver:polyfill=boost&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-cxx-driver:shared=True&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;mongo-cxx-driver:with_ssl=True&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;So the versions that I am using (mongo-c-driver 1.17.3 and mongo-cxx-driver 3.6.2) seem to be compiled with icu but without sasl. Tell me if you&apos;d like a c++/cmake project that reproduces the bug concisely. Thanks for your help!&lt;/p&gt;</comment>
                            <comment id="3849512" author="JIRAUSER1259348" created="Mon, 31 May 2021 10:10:54 +0000"  >&lt;p&gt;&lt;tt&gt;dpkg -l |grep libicu&lt;/tt&gt; gives out the following:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;ii libicu60:amd64 60.2-3ubuntu3.1 amd64 International Components for Unicode&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;But we use conan package manager (&lt;a href=&quot;https://conan.io/center/mongo-cxx-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://conan.io/center/mongo-cxx-driver&lt;/a&gt;) to get the latest packages, in this instance we fetch icu/68.2.&lt;/p&gt;

&lt;p&gt;Maybe I could show a smaller reproduction of the issue so that I could share how we use conan install&lt;/p&gt;</comment>
                            <comment id="3845888" author="roberto.sanchez" created="Thu, 27 May 2021 19:56:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexis.jacob%40systrangroup.com&quot; class=&quot;user-hover&quot; rel=&quot;alexis.jacob@systrangroup.com&quot;&gt;alexis.jacob@systrangroup.com&lt;/a&gt;, I would like to request some additional information to see if I can track down the root cause of the issue.  Please provide the output of &lt;tt&gt;dpkg -l |grep libicu&lt;/tt&gt;, as well as the commands and complete output of the C and C++ driver builds.&lt;/p&gt;</comment>
                            <comment id="3743983" author="kevin.albertson" created="Wed, 28 Apr 2021 14:51:02 +0000"  >&lt;p&gt;Apologies for the delayed response &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexis.jacob%40systrangroup.com&quot; class=&quot;user-hover&quot; rel=&quot;alexis.jacob@systrangroup.com&quot;&gt;alexis.jacob@systrangroup.com&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shavitalman%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;shavitalman@gmail.com&quot;&gt;shavitalman@gmail.com&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;It is still reproducible, but thanks to you, when setting the authMechanism&lt;br/&gt;
to be &quot;SCRAM-SHA-1&quot;, my code started to work. It&apos;s an acceptable WA for me&lt;br/&gt;
at this stage.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Setting a &lt;tt&gt;SCRAM-SHA-1&lt;/tt&gt; auth mechanism does seem like a sensible workaround, as passwords will not undergo SASLPrep for &lt;tt&gt;SCRAM-SHA-1&lt;/tt&gt; (per the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/auth/auth.rst#scram-sha-1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;driver authentication specification&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;At a glance the error comes from a &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/724f1672f26018f0d23883595c212497a38b043b/src/libmongoc/src/mongoc/mongoc-scram.c#L1073&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;call to libicu&apos;s usprep_openByType here&lt;/a&gt;. I suspect this may be due to the installation of libicu not having necessary components.&lt;/p&gt;

&lt;p&gt;Thank you for sharing the information about your system. We will attempt to reproduce this on Ubuntu 20.04 soon.&lt;/p&gt;</comment>
                            <comment id="3743224" author="JIRAUSER1258956" created="Wed, 28 Apr 2021 10:07:02 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
I couldn&apos;t find a way to reopen. Perhaps only Clyde can?&lt;br/&gt;
It is still reproducible, but thanks to you, when setting the authMechanism&lt;br/&gt;
to be &quot;SCRAM-SHA-1&quot;, my code started to work. It&apos;s an acceptable WA for me&lt;br/&gt;
at this stage.&lt;br/&gt;
Thanks,&lt;br/&gt;
Shavit&lt;/p&gt;

&lt;p&gt;On Wed, Apr 28, 2021 at 11:04 AM Alexis Jacob (Jira) &amp;lt;jira@mongodb.org&amp;gt;&lt;/p&gt;
</comment>
                            <comment id="3743067" author="JIRAUSER1259348" created="Wed, 28 Apr 2021 08:03:10 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Excuse me for reposting, but any help with this issue is greatly appreciated. @Shavit Talman, do you still reproduce this bug? If so, I&apos;d like to propose that this issue be reopened. I cannot reopen it myself as a participant, but I think opening a new ticket could potentially split the same information in two separate issues. I looked at the description and it seems both our reproductions of the bug are identical. What are your thoughts on the matter? Have you fixed the problem locally? Would you like to reopen this issue?&lt;/p&gt;

&lt;p&gt;Thanks in advance for your answers &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;br/&gt;
Alexis&lt;/p&gt;</comment>
                            <comment id="3710099" author="JIRAUSER1259348" created="Fri, 9 Apr 2021 14:11:51 +0000"  >&lt;p&gt;Could you reopen and check this issue again, @Clyde Bazille III?&lt;/p&gt;

&lt;p&gt;I can give you any additional info if needed. Thanks in advance for your answer.&lt;br/&gt;
Alexis&lt;/p&gt;</comment>
                            <comment id="3709916" author="JIRAUSER1259348" created="Fri, 9 Apr 2021 13:10:59 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;We have the same issue on our installation.&lt;/p&gt;

&lt;p&gt;This bug still reproduces with Ubuntu 18.04 and redhat-8, mongo-c-driver versions 3.6.1 and 3.6.2, MongoDB v4.2, no authMechanism specified or authMechanism=&quot;SCRAM-SHA-256&quot; with an authorized user on this authMechanism, no cyrus-sasl.&lt;br/&gt;
 &#160;&lt;br/&gt;
 We don&apos;t reproduce the bug upon:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Installing an older version of mongo-c-driver (3.5.0)&lt;/li&gt;
	&lt;li&gt;forcing authMechanism to be &quot;SCRAM-SHA-1&quot; in the mongodb uri&lt;/li&gt;
	&lt;li&gt;installing cyrus-sasl and rebuilding while linking mongo-c-driver to cyrus-sasl&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3702331" author="JIRAUSER1258956" created="Tue, 6 Apr 2021 07:01:02 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
Sorry - I moved to another task and now got back to this. I tried to add&lt;br/&gt;
the flag to my project&apos;s CMake and it didn&apos;t help - samr error.&lt;br/&gt;
I didn&apos;t understand how to do the other option: &quot;set ICU_ROOT to the&lt;br/&gt;
installation path of libicu.&quot;&lt;br/&gt;
I can send files themselves if it helps &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;. I really appreciate your&lt;br/&gt;
assistance in this matter.&lt;br/&gt;
Thanks,&lt;br/&gt;
Shavit&lt;/p&gt;

&lt;p&gt;On Wed, Mar 31, 2021 at 11:52 PM Clyde Bazile III (Jira) &amp;lt;jira@mongodb.org&amp;gt;&lt;/p&gt;
</comment>
                            <comment id="3694966" author="clyde.bazile" created="Wed, 31 Mar 2021 20:51:32 +0000"  >&lt;p&gt;Closing this ticket since there hasn&apos;t been any activity for a while. Feel free to re-open if you&apos;re still having issues. Thanks for the report.&lt;/p&gt;</comment>
                            <comment id="3669082" author="clyde.bazile" created="Wed, 17 Mar 2021 15:15:17 +0000"  >&lt;p&gt;Since you&apos;re only using ASCII characters, SASLPrep shouldn&apos;t be triggered. You can ensure the step is skipped by adding &lt;tt&gt;-DMONGOC_ENABLE_ICU=OFF&lt;/tt&gt; to your list of CMake options. Alternatively, you can set &lt;tt&gt;ICU_ROOT&lt;/tt&gt; to the installation path of &lt;tt&gt;libicu&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="3666117" author="JIRAUSER1258956" created="Tue, 16 Mar 2021 10:01:03 +0000"  >&lt;p&gt;Hi Clyde&lt;/p&gt;

&lt;p&gt;I have only letters in my password and when trying to install libicu it&lt;br/&gt;
writes:&lt;/p&gt;

&lt;p&gt;libicu-dev is already the newest version (66.1-2ubuntu2).&lt;/p&gt;


&lt;p&gt;On Mon, Mar 15, 2021 at 8:29 PM Clyde Bazile III (Jira) &amp;lt;jira@mongodb.org&amp;gt;&lt;/p&gt;
</comment>
                            <comment id="3666116" author="JIRAUSER1258956" created="Tue, 16 Mar 2021 09:58:10 +0000"  >&lt;p&gt;Hi&#160;@Clyde Bazile III&#160;&lt;/p&gt;

&lt;p&gt;I have only letters in my password and when trying to install libicu it writes:&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;libicu-dev is already the newest version (&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;66.1&lt;/span&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;-2ubuntu2).&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="3665074" author="clyde.bazile" created="Mon, 15 Mar 2021 18:28:30 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shavitalman%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;shavitalman@gmail.com&quot;&gt;shavitalman@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;It might be that your password contains non-ASCII characters. If so, please see our documentation on &lt;a href=&quot;http://mongoc.org/libmongoc/current/authentication.html#basic-authentication-scram-sha-256&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Basic Authentication (SCRAM-SHA-256)&lt;/a&gt;. From the docs:&lt;/p&gt;

&lt;p&gt;&lt;cite&gt;Passwords for SCRAM-SHA-256 undergo the preprocessing step known as SASLPrep specified in RFC 4013. SASLPrep will only be performed for passwords containing non-ASCII characters. SASLPrep requires libicu. If libicu is not available, attempting to authenticate over SCRAM-SHA-256 with non-ASCII passwords will result in error.&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;&lt;cite&gt;Usernames never undergo SASLPrep.&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;Please let me know if you&apos;re only sticking to ASCII characters or install libicu does not fix the issue.&lt;/p&gt;</comment>
                            <comment id="3653068" author="clyde.bazile" created="Mon, 8 Mar 2021 20:46:00 +0000"  >&lt;p&gt;Hi Shavit,&lt;/p&gt;

&lt;p&gt;Thanks for reporting this issue. We will look into this soon.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1661969">CDRIVER-3939</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="320965" name="minimalMongoSetup.zip" size="2036" author="alexis.jacob@systrangroup.com" created="Fri, 18 Jun 2021 16:12:43 +0000"/>
                            <attachment id="308213" name="noname" size="2615" author="shavitalman@gmail.com" created="Tue, 6 Apr 2021 07:01:02 +0000"/>
                            <attachment id="304975" name="noname" size="2615" author="shavitalman@gmail.com" created="Tue, 16 Mar 2021 10:01:03 +0000"/>
                    </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|hyjpin:</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>