Search
  • Rakesh Pavuluri

Enabling Authentication using LDAP.

Updated: Jan 3, 2020

LDAP is a widely known authentication methods which is both secure and reliable. We can enable LDAP authentication in few simple steps. The steps below will explain the step by step process to enable LDAP authentication in any Cassandra environment.


Pre-requisites:

We must have a properly configured LDAP v3 server running. The following are the supported LDAP servers.

  • Microsoft Active Directory: a) Windows 2008 b) Windows 2012

  • OpenLDAP 2.4.x

  • Oracle Directory Server Enterprise Edition 11.1.1.7.0


Procedure:

  1. Before enabling AD, we have to login with password authentication and we need to create the AD users with blank password in Cassandra, and respective permission to the user account should be defined in database using cqlsh.

  2. Open the cassandra.yaml file a) Set the authenticator to com.datastax.bdp.cassandra.auth.DseAuthenticator. b) Set the authorizer to com.datastax.bdp.cassandra.auth.DseAuthorizer.

  3. Open dse.yaml file a) Set the authentication options for the LDAP as the following

b) Set the authorization options for the LDAP as the following

c) Set the role management options for the LDAP as the following

d) Set the configuration details for the LDAP server appropriately


4. Restart the Cassandra node.


5. Repeat the same steps on other nodes in the cluster.

83 views0 comments

Recent Posts

See All

Create a blog post subtitle that summarizes your post in a few short, punchy sentences and entices your audience to continue reading. Welcome to your blog post. Use this space to connect with your rea