Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
Labels (1)
avatar
Master Collaborator

To encrypt LDAP bind password in zeppelin Shiro configuration follow below steps:


1. Removed system password line from the config (this line contained the password for the system user that is doing the LDAP lookups) 
2. Added the following line in shiro.ini: 

 

ldapRealm.hadoopSecurityCredentialPath=jceks://file/home/zeppelin/conf/zeppelin.jceks 

 

3. Run the following command as Zeppelin user on Zeppelin host: 

 

# hadoop credential create ldapRealm.systemPassword -provider jceks://file/home/zeppelin/conf/zeppelin.jceks 
#Entered password <test> 

 

Where <test> is my password

 

4. Confirmed that file has 700 attributes 
5. Restart Zeppelin 

756 Views