Hello all,
I’ve problem to use an LDAP authentication with my MongoDB install. I’ve installed everything according to the documentation, but when i try to authenticate with an external user, i got the following error :
Error: SASL(-4): no mechanism available: No worthy mechs found
Here is some information regarding my installation :
Packet :
cyrus-sasl-lib-2.1.26-21.el7.x86_64
cyrus-sasl-devel-2.1.26-21.el7.x86_64
cyrus-sasl-gssapi-2.1.26-21.el7.x86_64
cyrus-sasl-2.1.26-21.el7.x86_64
saslauthd file :
SOCKETDIR=/run/saslauthd
Start=yes
MECH=“ldap”
/etc/sasl2/mongodb.conf :
pwcheck_method: saslauthd
saslauthd_path: /var/run/saslauthd/mux
log_level: 5
mech_list: plain
mongod.conf :
setParameter:
authenticationMechanisms: PLAIN,SCRAM-SHA-1,MONGODB-X509
When i test the authentification with the command testsaslauthd, i got a success.
Thanks in advance for your help.
Thomas