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.

Intergrating Ambari and Ranger with LDAP - from scratch manual steps

Solved Go to solution

Intergrating Ambari and Ranger with LDAP - from scratch manual steps

New Contributor

I want to integrate Ambari and Ranger with LDAP/AD . The infra team has just shared ip and port for LDAP/AD server.

I am looking into the Hortonworks docs but not able to find how I can integrate. If some one can provide the manual steps for that it will be handy. I have got docs but seems bit confusing to me.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Intergrating Ambari and Ranger with LDAP - from scratch manual steps

4 REPLIES 4

Re: Intergrating Ambari and Ranger with LDAP - from scratch manual steps

Re: Intergrating Ambari and Ranger with LDAP - from scratch manual steps

New Contributor

@Neeraj Sabharwal For the Ambari ?

Highlighted

Re: Intergrating Ambari and Ranger with LDAP - from scratch manual steps

New Contributor

@sanjeevan mahajan

Try to use 'ambari-server setup-ldap' command to configure ldap. It's basically just fill /etc/ambari-server/conf/ambari.properties file with the user inputs, after override ambari.properties, you should restart ambari-server. Example for ldap related properties in ambari.properties file:

client.security=ldap

authentication.ldap.baseDn=dc=hdp01,dc=local

authentication.ldap.bindAnonymously=false

authentication.ldap.dnAttribute=distinguishedName

authentication.ldap.groupMembershipAttr=member

authentication.ldap.groupNamingAttr=cn

authentication.ldap.groupObjectClass=group

authentication.ldap.managerDn=cn=hdfs,ou=hdp,dc=hdp01,dc=local

authentication.ldap.managerPassword=/etc/ambari-server/conf/ldap-password.dat

authentication.ldap.primaryUrl=myhost:389

authentication.ldap.useSSL=false

authentication.ldap.userObjectClass=person

authentication.ldap.usernameAttribute=cn

Read more: http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Ambari_Security_Guide/content/_configurin...

Re: Intergrating Ambari and Ranger with LDAP - from scratch manual steps

Hi @sanjeevan mahajan

Please find the link below for ranger ldap integration -

https://community.hortonworks.com/content/kbentry/16696/ranger-ldap-integration.html

Do let me know if you face any issues while integrating.