<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to configure groups and roles mapping using ldapRealm in Shiro config for Zeppelin ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-groups-and-roles-mapping-using-ldapRealm-in/m-p/226495#M188355</link>
    <description>&lt;P&gt;Hi Predrag,&lt;BR /&gt;We face with the same issues and somehow we can't get it working.&lt;BR /&gt;Do you have any idea where we go wrong?&lt;BR /&gt;Thanks,&lt;BR /&gt;Andras&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;ldapRealm = org.apache.zeppelin.realm.LdapRealm
ldapRealm.contextFactory.systemUsername = aduser@domain.local
ldapRealm.hadoopSecurityCredentialPath = jceks://file/user/zeppelin/conf/zeppelinldap.jceks
ldapRealm.searchBase = "OU=User Accounts,DC=domain,DC=local"
ldapRealm.userSearchBase = "OU=User Accounts,DC=domain,DC=local"
ldapRealm.groupSearchBase = "OU=User Accounts,DC=domain,DC=local"
ldapRealm.groupObjectClass = group
ldapRealm.memberAttribute = member
ldapRealm.groupIdAttribute = cn
ldapRealm.groupSearchEnableMatchingRuleInChain = true
ldapRealm.rolesByGroup = users: admin
ldapRealm.userSearchFilter = (&amp;amp;(objectclass=user)(sAMAccountName={0})(memberOf=CN=users,OU=User Accounts,DC=domain,DC=local))
ldapRealm.contextFactory.url = ldap://AD.domain.local:389
&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Jul 2018 22:19:50 GMT</pubDate>
    <dc:creator>andras1234</dc:creator>
    <dc:date>2018-07-10T22:19:50Z</dc:date>
  </channel>
</rss>

