Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

Knox ldap integration

Explorer

Hi All,

I have setup knox locally and works fine. now wanted to integrate with LDAP kindly suggest configuration file to be updated and what are information required from AD/LDAP team.

My cluster is non secure (non KRB) cluster.

Thanks,

kant

2 REPLIES 2

Super Collaborator

@Kant T for ldap intergration you need to set the below properties in topology file , if you are using default topology add below properties in Advance-topology

<param>

<name>main.ldapRealm</name>

<value>org.apache.hadoop.gateway.shirorealm.KnoxLdapRealm</value>

</param>

<param>

<name>main.ldapRealm.userDnTemplate</name>

<value>uid={0},ou=People,dc=charan,dc=com</value>

</param>

<param>

<name>main.ldapRealm.contextFactory.url</name>

<value>ldap://test1:389</value>

</param>

Explorer

Thanks for your suggestion scharn,

1. Do i have to stop local demo ladp service via ambari

2. How about user-ldif conf file

Thanks,