Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread Om Kale
Hi Dormando, I finally figured it out the issue from the above thread itself. The small change in steps as shown below work on my MAC machine: OKALE-M-33H5:memcached-1.5.7 okale$ echo "testuser@OKALE-M-33H5:testpass" > /tmp/memcached-sasl-db OKALE-M-33H5:memcached-1.5.7 okale$

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread dormando
Hey, What is the exact output from saslpasswd2 when you run it? On Tue, 10 Apr 2018, Om Kale wrote: > Hi Dormando, > Thanks for your guidance. Meanwhile, reading through the memcached email > chain, I see someone else also observed something similar but there was no > solution. The question is

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread Om Kale
Hi Dormando, Thanks for your guidance. Meanwhile, reading through the memcached email chain, I see someone else also observed something similar but there was no solution. The question is how do I create the memcahed-sasl-pwdb file and populate it with username and password as the saslpasswd2

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread dormando
Change: $ echo testpass | saslpasswd2 -f /Users/okale/sasl/memcached-sasl-pwdb -a memcached -c -p testuser To: $ echo testpass | saslpasswd2 -f /tmp/memcached-sasl-pwdb -a memcached -c -p testuser SASL_CONF_PATH points to where memcached.conf is. memcached.conf points to memcached-sasl-pwdb

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread Om Kale
Hi Dormando, Thanks for the help. I tried the steps you mentioned but end up getting similar error. However, the error is slightly different this time. Why is it still pointing to '/tmp/memcached-sasl-db' when the SASL_CONF_PATH specifies the location of the db file. OKALE-M-33H5:sasl okale$ pwd

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread dormando
yes and yes. mkdir sasl cd sasl then created memcached.conf I did not create memcached-sasl-pwdb manually. saslpasswd2 made that for me after I passed the -f argument. On Tue, 10 Apr 2018, Om Kale wrote: > Hi Dormando, > Thanks for the update. I will try this out now. But before this I had one

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread Om Kale
Hi Dormando, Thanks for the update. I will try this out now. But before this I had one more quick question. Did you create the sasl folder and memcached.conf manually inside /home/dormando/ ? Thanks and Regards, Om Kale On Tue, Apr 10, 2018 at 3:38 PM, dormando wrote: >

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread dormando
Hey, Was able to authenticate with your tool: $ pwd /home/dormando/sasl $ cat memcached.conf mech_list: plain log_level: 5 sasldb_path: /home/dormando/sasl/memcached-sasl-pwdb $ echo testpass | saslpasswd2 -f /home/dormando/sasl/memcached-sasl-pwdb -a memcached -c -p testuser $

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread Om Kale
Hey Dormando, Today I tried reinstalling memcached from scratch and followed the procedure in the wiki and the points you mentiibed however same issue of 'no secret in database' is still observed. In addition, did the following steps but still no success.

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-04-10 Thread dormando
Sorry, ran out of time today. will try for earlier tomorrow On Mon, 9 Apr 2018, Om Kale wrote: > Hi Dormando,I was just curious to know whether you were able to reproduce the > above > mentioned issue? > > Thanks and Regards,Om Kale > > On Mon, Apr 9, 2018 at 12:53 PM, Om Kale