Skip to content

SASL authorization error #127

Open
Open
@alexlisten

Description

@alexlisten

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    2spbugSomething isn't workingteamE

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions