Github user prabhjyotsingh commented on the issue:
https://github.com/apache/zeppelin/pull/986
Sounds like `activeDirectoryRealm.groupRolesMap =
"CN=aGroupName,OU=groups,DC=SOME_GROUP,DC=COMPANY,DC=COM":"group1"` not
configured correctly.
I would recommend
- configure it something like `activeDirectoryRealm.groupRolesMap =
"CN=admin,OU=groups,DC=SOME_GROUP,DC=COMPANY,DC=COM":"admin","CN=finance,OU=groups,DC=SOME_GROUP,DC=COMPANY,DC=COM":"finance","CN=hr,OU=groups,DC=SOME_GROUP,DC=COMPANY,DC=COM":"hr"`
Just confirm with your AD admin, regarding what all users belongs to what
all groups.
If you are still unsure about what user belongs to what group, set you
log4j to debug mode and grep for this
https://github.com/apache/zeppelin/blob/v0.6.0/zeppelin-server/src/main/java/org/apache/zeppelin/server/ActiveDirectoryGroupRealm.java#L198.
This should give you all details.
In my case, there were these three groups i.e. admin, finance, and hr.
- After the `[main]` section and before `[urls]` make sure you have
`[roles]` defined something like this.
```
[roles]
admin = *
finance = *
hr = *
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---