Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 350 by [email protected]: memcached: SASL authentication not working in CentOS 6 64-bit
http://code.google.com/p/memcached/issues/detail?id=350

What steps will reproduce the problem?
1. I installed memcached via remi repo
2. Configured memcached for SASL support using info posted in memcached notes:
echo "mech_list: plain" > /etc/sysconfig/memcached.conf
echo "myname:mypass" > /tmp/memcached-sasl-db

3. Then added the following lines into the /etc/init.d/memcached file:
export MEMCACHED_SASL_PWDB=/tmp/memcached-sasl-db
export SASL_CONF_PATH=/etc/sysconfig/memcached.conf

What is the expected output? What do you see instead?
It to work when testing auth via memcp

Errors in the error log:

authenticated() in cmd 0x21 is true
mech:  ``PLAIN'' with 28 bytes of data
SASL (severity 1): unable to open Berkeley db /etc/sasldb2: No such file or directory SASL (severity 1): unable to open Berkeley db /etc/sasldb2: No such file or directory
SASL (severity 2): Password verification failed
sasl result code:  -20
Unknown sasl response:  -20
30 Writing an error: Auth failure.

I create a blank file /etc/sasldb2 and get the following in the log:

authenticated() in cmd 0x21 is true
mech:  ``PLAIN'' with 29 bytes of data
SASL (severity 2): Password verification failed
sasl result code:  -13
Unknown sasl response:  -13
30 Writing an error: Auth failure.


What version of the product are you using? On what operating system?
CentOS 6 64-bit
memcached  x86_64  1.4.15-2.el6.remi
2.6.32-431.el6.x86_64



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to