GitHub user zlosim opened a pull request: https://github.com/apache/zeppelin/pull/3233
[ZEPPELIN-3875] Groups are not derived when using ActiveDirectory ### What is this PR for? ActiveDirectoryGroupRealm is using UserPrincipalName for finding user and deriving groups that he belongs to. However this is not mandatory nor always corresponds to the REALM that user belongs to. This PR changed userPrincipalName to sAMAccountName when deriving groups user belongs to ### What type of PR is it? [Bug Fix] ### Todos * [ ] - Task ### What is the Jira issue? * [ZEPPELIN-3875](https://issues.apache.org/jira/browse/ZEPPELIN-3875) ### How should this be tested? * CI pass ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no You can merge this pull request into a Git repository by running: $ git pull https://github.com/zlosim/zeppelin ZEPPELIN-3875 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/3233.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3233 ---- commit 46c9ae0c50608a671b954cc1c478927d70a71484 Author: Michal Vince <mvince@...> Date: 2018-11-21T12:50:34Z changed userPrincipalName to sAMAccountName when deriving groups user belongs to ---- ---