<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Fri May 24 00:45:59 CDT 2013

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 add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-5385/MB-5385.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-5385] make ebucketmigrator support sasl auth</title>
                <link>http://www.couchbase.com/issues/browse/MB-5385</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>SUBJ</description>
                <environment></environment>
            <key id="17384">MB-5385</key>
            <summary>make ebucketmigrator support sasl auth</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Sat, 26 May 2012 16:32:49 -0500</created>
                <updated>Tue, 29 May 2012 20:38:32 -0500</updated>
                    <resolved>Sat, 26 May 2012 17:20:12 -0500</resolved>
                            <version>1.8.1-release-candidate</version>
                                <fixVersion>1.8.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="28096" author="alkondratenko" created="Sat, 26 May 2012 17:20:12 -0500"  >&lt;a href=&quot;http://review.couchbase.org/16447&quot;&gt;http://review.couchbase.org/16447&lt;/a&gt;</comment>
                    <comment id="28097" author="farshid" created="Sat, 26 May 2012 17:25:59 -0500"  >Aliaksey,&lt;br/&gt;
bucket sasl password can also be an empty string ?&lt;br/&gt;
does this change consider that as well ?</comment>
                    <comment id="28098" author="alkondratenko" created="Sat, 26 May 2012 17:31:36 -0500"  >Yes. Note however that password is read from stdin. So you&amp;#39;ll need something like&lt;br/&gt;
&lt;br/&gt;
(auth as admin and then select particular bucket)&lt;br/&gt;
&lt;br/&gt;
echo _admin | ./ebucketmigrator -a _admin --bucket-name my-bucket&lt;br/&gt;
&lt;br/&gt;
or&lt;br/&gt;
&lt;br/&gt;
(auth as user = bucket name that&amp;#39;ll automagically select bucket)&lt;br/&gt;
echo | ./ebucketmigrator -a my-bucket&lt;br/&gt;
</comment>
                    <comment id="28099" author="farshid" created="Sat, 26 May 2012 19:20:09 -0500"  >it makes it hard for scripting doesn&amp;#39;t it ?&lt;br/&gt;
memcached commands cbstats for instance allows the user to pass the bucket name and password in the command line without having to enter it through stdin </comment>
                    <comment id="28100" author="alkondratenko" created="Sat, 26 May 2012 19:29:50 -0500"  >Disagree. Its still pretty simple to script. Its kind of insecure to have password on cmdline. Ie it&amp;#39;ll be visible to all users of system.&lt;br/&gt;
&lt;br/&gt;
Let me know however if you insist.</comment>
                    <comment id="28103" author="farshid" created="Sat, 26 May 2012 19:52:59 -0500"  >i can agree with you but all our memcached command lines allow the user to pass the password as an argument.&lt;br/&gt;
&lt;br/&gt;
in any case this is a one time patch i am going to give to the customer so appreciate if you can add the option to read the password from the cli.&lt;br/&gt;
&lt;br/&gt;
also i noticed that if bucket name is != default and sasl password is empty string ebucketmigrator does not work. in my case i changed the password to be non-empty and after that script worked but not sure if we can ask the customer to also change their password if its empty string&lt;br/&gt;
&lt;br/&gt;
PATH=/opt/couchbase/bin:$PATH /opt/couchbase/bin/ebucketmigrator -h 10.1.2.31:11210 -A -V -t -b 778 -d 10.1.2.35:11210 -a third -v&lt;br/&gt;
Ignoring &amp;quot;-A&amp;quot; flag&lt;br/&gt;
...&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Unknown error {&amp;#39;EXIT&amp;#39;,&amp;lt;0.57.0&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{badmatch,{memcached_error,auth_error,&amp;lt;&amp;lt;&amp;quot;Auth failure&amp;quot;&amp;gt;&amp;gt;}}}</comment>
                    <comment id="28239" author="thuan" created="Tue, 29 May 2012 20:38:32 -0500"  >Integrated in github-ns-server-2-0 #357 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-ns-server-2-0/357/&quot;&gt;http://qa.hq.northscale.net/job/github-ns-server-2-0/357/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-5385&quot; title=&quot;make ebucketmigrator support sasl auth&quot;&gt;&lt;strike&gt;MB-5385&lt;/strike&gt;&lt;/a&gt;: fixed standalone bucketmigrator to support sasl auth (Revision e1bbcb0f2d5f602c777d8472dc9a076fa3631865)&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-5385&quot; title=&quot;make ebucketmigrator support sasl auth&quot;&gt;&lt;strike&gt;MB-5385&lt;/strike&gt;&lt;/a&gt;: added support for specifying password on cmdline (Revision da52c53f7d9388330ea0b5a15d4a48204f706ea2)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
Aliaksey Kandratsenka : &lt;br/&gt;
Files : &lt;br/&gt;
* src/ebucketmigrator.erl&lt;br/&gt;
&lt;br/&gt;
Aliaksey Kandratsenka : &lt;br/&gt;
Files : &lt;br/&gt;
* src/ebucketmigrator.erl&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Sat, 26 May 2012 17:25:59 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>5300</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>