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.

apache zeppelin integrate with LDAP multiple OUs

apache zeppelin integrate with LDAP multiple OUs

New Contributor

I am trying to configure apache zeppelin to authenticate using our LDAP server. I am not very familiar with LDAP so forgive my ignorance please!

Using the following option: ldapRealm.userDnTemplate = uid={0},ou=devs,dc=mycompany,dc=com

However we have more than one organization unit (ou) in our company. How can I make the ou parameter take multiple values ? Can I use something this ldapRealm.userDnTemplate = uid={0},ou=*,dc=mycompany,dc=com

I just want to try all organization units until the login is successfull.

1 REPLY 1

Re: apache zeppelin integrate with LDAP multiple OUs

Guru

Hello @xling it,

Assuming that you are using "LdapRealm" for Zeppelin Shiro class, currently there is no option to specify more than one value in template. Also it won't accept a pattern like ou=*.

Another thing to check would be - Do you really need a userDnTemplate? What if you omit both userDnTemplate and memberAttributeValueTemplate from Shiro config and try logging in again.

Don't have an account?
Coming from Hortonworks? Activate your account here