Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can we authenticate users in Nifi using Ldap? Does this requires to run Nifi in HTTPS mode?

Solved Go to solution
Highlighted

Can we authenticate users in Nifi using Ldap? Does this requires to run Nifi in HTTPS mode?

Explorer

I have performed all the steps mentioned in the document,but still it doesn't prompts to enter username and password. Looks like it ignores ldap authentication if running in HTTP mode.

https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#lightweight-directory-access-p...

The document also says "NiFi does not perform user authentication over HTTP. Using HTTP all users will be granted all roles."

Does this mean I need to generate certificate and run Nifi in HTTPS mode for Ldap authentication? iF not how to do ldap authentication

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Can we authenticate users in Nifi using Ldap? Does this requires to run Nifi in HTTPS mode?

@sprakash

Take a look at the response here:

https://community.hortonworks.com/questions/53495/how-to-integrate-nifi-and-ldap-and-how-to-add-diff...

...and yes, you need to configure it to run over HTTPS

4 REPLIES 4

Re: Can we authenticate users in Nifi using Ldap? Does this requires to run Nifi in HTTPS mode?

@sprakash

Take a look at the response here:

https://community.hortonworks.com/questions/53495/how-to-integrate-nifi-and-ldap-and-how-to-add-diff...

...and yes, you need to configure it to run over HTTPS

Re: Can we authenticate users in Nifi using Ldap? Does this requires to run Nifi in HTTPS mode?

Explorer

Thanks Eyad, That's what i was looking for. As per the document it does says it needs to run in HTTPS mode for ldap authentication.

Re: Can we authenticate users in Nifi using Ldap? Does this requires to run Nifi in HTTPS mode?

Rising Star

@sprakash

That is correct - NiFi LDAP authentication only works over HTTPS.

If you want to secure user access via LDAP in NiFi, you need to configure NiFi in HTTPS mode and remove HTTP access.

Check out the following article for details of configuring LDAP auth via NiFi:

https://community.hortonworks.com/articles/7341/nifi-user-authentication-with-ldap.html

Re: Can we authenticate users in Nifi using Ldap? Does this requires to run Nifi in HTTPS mode?

@Laurence Da Luz That might be a little outdated. I have an updated Article for HDF-2.x and configuring LDAP via Ambari.

https://community.hortonworks.com/articles/79627/hdf-20-ldap-user-authentication-with-ambari.html

Don't have an account?
Coming from Hortonworks? Activate your account here