memcached
memcached copied to clipboard
SASL authorization error
Hi, SASL authorization is not working
OS: Rocky 8.8 SASL: 2.1.27 tarantool: 2.11.3
Config SASL: /etc/sasl2/tarantool-memcached.conf
mech_list: plain cram-md5
log_level: 7
sasldb_path: /tmp/test-tarantool-memcached.sasldb
User:
echo testpass | saslpasswd2 -p -c testuser -f /tmp/test-tarantool-memcached.sasldb
tarantool:
box.cfg{}
local memcached = require('memcached')
local instance = memcached.create('mapic', '0.0.0.0:11211', {
expire_enabled = false,
verbosity =3,
sasl = true
})
Error: 2024-07-01 16:09:33.105 [30424] main/795/server/10.26.87.171:46650 mc_sasl.c:142 E> SASL <level 2> Password verification failed 2024-07-01 16:09:33.105 [30424] main/795/server/10.26.87.171:46650 mc_sasl.c:245 E> <memcached_sasl_auth>: Failed <sasl_server_start> with exit code -20 2024-07-01 16:09:33.105 [30424] main/795/server/10.26.87.171:46650 proto_bin.c:1104 E> memcached error 32: Authentication error