We have a new cluster (on-premise) 7.6.1 build 3200. We created users in LDAP and added them in Security section.
Encryption : None
Contact LDAP Host: Credentials
Test User Authentication is fine.
However, application is throwing following error:
Authentication Failure - Potential causes: invalid credentials or if LDAP is enabled ensure PLAIN SASL mechanism is exclusively used on the PasswordAuthenticator (insecure) or TLS is used (recommended)
How to ensure that PLAIN SASL mechanism is enabled? Where it will be enabled in application/WAS or this is enabled in Couchbase server/LDAP?
Thanks for your response, we discovered that the users are LDAP. When LDAP authentication is enabled in Couchbase, it requires the PLAIN SASL mechanism for security reasons. while application was trying to use a different mechanism (SCRAM-SHA).
Changing users to local (couchbase) solved the problem.
To enable LDAP users in cluster code level changes are also required while connecting.