Hi all,
First time posting however could do with any help anyone could provide. I’ve setup percona mongodb inside a container and as part of that container i’ve also got saslauthd running. I’m able to do the testsaslauthd piece fine and it proves my connection to our AD is working fine.
The container is RHEL based and i’ve put my mongo.conf definition in /etc/sasl2/ however I’m unable to get LDAP authentication working. When i attempt with the following command:
db.getSiblingDB(“$external”).auth( { user : “user”, pwd : “pass”, mechanism: “PLAIN”, digestPassword: false } ) ;
I get the following error:
Error: Missing expected field “mechanism”
Despite it being referenced in the authentication string, the log file isn’t yielding anything valuable either and neither is the saslauthd log but I suspect it isn’t even getting as far as trying to talk go the saslauthd daemon.
If anyone can assist in shedding any light on this i’d be greatly appreciative.
Thanks