Hi Dormando,
Thanks for the quick reply. I used the environment variable you suggested
before running the memcached server instance:
MEMCACHED_SASL_PWDB="/Users/
okale/Library/Caches/Homebrew/memcached-1.5.7/memcached-sasl-pwdb"
I have added the following in my memcached.conf file (so basically
Hi All,
I am new to memcached and have started working on it for the past couple
weeks.
*My use case is creating a SASL enabled client and successfully get/set
into memcache server using authentication.*
I have enabled SASL and enabled SASL-PWDB in the brew install itself:
brew install
No secret in database means it thinks the pwdb is empty (or it can't
load/find the pwdb).
I'm not sure why offhand.. I can try to reproduce it but won't have time
until later today.
On Fri, 6 Apr 2018, Om Kale wrote:
> Hi Dormando,
> Thanks for the quick reply. I used the environment variable
Yup, it will be really helpful if you could try and reproduce it.
Yes...that's the thing I was wondering, 'no secret in database' means its
able to reach the database, but unable to read/load the memcached-sasl-pwdb
file. Additionally, I was wondering, if there is need to write additional
code
On Fri, 6 Apr 2018, Om Kale wrote:
> and then try to run my client, I get the following error on the server:
>
>
> OKALE-M-33H5:memcached-1.5.7 okale$ ./memcached -S -v
> Reading configuration from:
>
> Initialized SASL.
> mech: ``SRP'' with 15 bytes of data
> SASL (severity 2): no secret in
Hey Dormando,
Ok. When I look at the 't/binary-sasl.t' and search for the section you
mentioned,
I see this:
# Build the auth DB for testing.
my $sasldb = '/tmp/test-memcached.sasldb';
unlink $sasldb;
In the t/sasl/memcached.conf, I see the following:
mech_list: plain cram-md5
log_level: 5
Just for sanity's sake, if you look at: t/sasl/memcached.conf in the
tarball, and look at t/binary-sasl.t (look for the section starting with
"my $sasldb =", and build a passwd + configure the pwdb that way, does it
work?
to reiterate; the test config file explicitly declares the path for the db
Read the 30 lines around where I said, not just that line.
though I guess it's just:
system("echo testpass | $saslpasswd_path -a memcached -c -p testuser");
so that means:
echo "testpass" | saslpasswd2 -a memcached -c -p testuser
if you run that from the same directory as your memcached.conf
Hey,
Did the memcached-sasl-pwdb file get created and is there a line in it?
On Fri, 6 Apr 2018, Om Kale wrote:
> Got it. I see the line you mentioned in the test code.
> I executed the following steps but still see same issue. (I ran ./configure
> after the echo command)
>
>
> Here are the
Got it. I see the line you mentioned in the test code.
I executed the following steps but still see same issue. (I ran ./configure
after the echo command)
Here are the steps:
OKALE-M-33H5:memcached-1.5.7 okale$ echo "hello" | saslpasswd2 -a memcached
-c -p ok
OKALE-M-33H5:memcached-1.5.7 okale$
10 matches
Mail list logo