On Cassandra how to enable LDAP authentication

Viewed 1661
2 Answers

You will have to change the default authenticator from AllowAllAuthenticator to PasswordAuthenticator or some custom authenticator.

You can also enable roles for a finer grained access.

Check the following:

Later edit: since you need LDAP autentication you can use the one created by Instaclustr. Details - Apache Cassandra LDAP Authentication and the source code.

Just replace PasswordAuthenticator from AllowAllAuthenticator and CassandraAuthorizer from AllowAllAuthorizer on cassandra.yaml. Restart the Cassandra services. it will allow without password.

Related