instaclustr / cassandra-ldap

LDAP Authenticator for Apache Cassandra
Apache License 2.0
24 stars 16 forks source link

Able to authenticate only to the users that are in ldap.properties (service_dn) . #50

Open sri-postgres-cassandra opened 3 months ago

sri-postgres-cassandra commented 3 months ago

Please answer these questions before submitting your issue. Thanks!

What version of Cassandra are you using?

Apache Cassandra version 4.1.4

What version of Cassandra LDAP are you using?

cassandra-ldap-4.1.0-1.0.0.jar

What LDAP server you are using? Any specifics?

What did you do?

I have updated the ldap.properties with the below values. I was able to authenticate only with the user admin (service_dn) but was not able to authenticate if that user was removed from ldap.properties file (service_dn) .

ldap_uri: ldaps://example.com:636/ service_dn: cn=admin,dc=example,dc=com service_password: cassandra_ldap_admin_user: default_role_membership: filter_template: cn=%s

What did you expect to see?

I should be able to authenticate with the users that are not part of service_dn in the ldap.properties .

What did you see instead?

Able to authenticate with the user in ldap.properties file

If you are having connectivity related issues please share the following additional information

Describe your Cassandra cluster

please provide the following information

can someone please reply if you have faced the above issues.

Thank you !!