Created on 11-01-2021 12:43 AM - edited 11-01-2021 12:48 AM
Hi,
Im trying to connect LDAP from Nifi.
I've done most of the instructions in the official documentation and read most posts on the Cloudera Community. However, I couldn't connect to my company's LDAP system.
I configured login-entity-providers and authorizers for LDAP.
When I start Nifi, it starts successfully and gives no error.
When I try to log in with my initial admin it gives me
"Unable to validate the supplied credentials. Please contact the system administrator." error.
My questions are:
1- When we are setting up initial admin, we are not setting password of that user. How do we log in without password?
2- I'm using USE_DN for identity strategy for ldap-provider. My initial admin name and ldap user are same. So I'm trying to login with my user like:
What path should I follow? Is there a mistake in my configure files?
I have added my conf files below: nifi.properties, login-entity-provider and authorizers. Removed sensitive data.
nifi-properties
login-identity-providers
authorizers-1
authorizers-2
Created 11-02-2021 06:54 AM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated 11-02-2021 06:54 AM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated 11-02-2021 07:19 AM
Thanks a lot Matt. It worked finally after trying for 2 weeks. I was tired of trying to get this to work. I really appreciate it.
Created 09-16-2023 05:53 AM
Hello Bro,
I am trying to set up LDAP and have been loosing hair on getting the right configuration for over a week now. I am trying to configure for LDAPS in NiFi and already have my keystore and trust generated internally so my issue seems quite similar to yours. Can I see the copy of your nifi.properties, login-identity-providers, authorizers.xml (without any sensitive information, of course) that finally worked? I will really appreciate any assistance for you. Thanks!
Created 01-12-2024 06:07 AM
@LKB
I recommend creating a new community question with the details around yoru setup and exceptions you may be seeing. You are more likely to get better traction on a community question that does not already have and accepted solution.
Thank you,
Matt
Created 01-12-2024 12:30 AM
Hello @LKB ,
Just saw your message. Since I have changed my job, I am not able to access those files anymore. Sorry for that.