Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Intergrating Ambari and Ranger with LDAP - from scratch manual steps

avatar
Rising Star

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
4 REPLIES 4

avatar
Rising Star

@Neeraj Sabharwal For the Ambari ?

avatar
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...

avatar
Super Guru

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.