Community Articles

Find and share helpful community-sourced technical articles.
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 

931 Views