You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Florian Steinle (JIRA)" <ji...@apache.org> on 2018/07/26 13:50:00 UTC

[jira] [Created] (ZEPPELIN-3664) ActiveDirectoryGroupRealm returns "cn" instead of "userPrincipalName" for note permission auto completion

Florian Steinle created ZEPPELIN-3664:
-----------------------------------------

             Summary: ActiveDirectoryGroupRealm returns "cn" instead of "userPrincipalName" for note permission auto completion
                 Key: ZEPPELIN-3664
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3664
             Project: Zeppelin
          Issue Type: Bug
          Components: zeppelin-server
    Affects Versions: 0.8.0
            Reporter: Florian Steinle
         Attachments: notePermission.png, notebook-authorization.json

h1. Description
When using the *org.apache.zeppelin.realm.ActiveDirectoryGroupRealm* the auto completion in *Note permissions* shows the *CN* (Common Name) instead of the "userPrincipalName".
After selecting and saving the suggestion (CN) is persisted to "notebook-authorization.json" but not effective as the "UPN" (userPrincipalName) is expected there.
The "UPN" is also added as default "owner" when a new notbook is created.

h1. Steps to reproduce
# Configure connection to AD with org.apache.zeppelin.realm.ActiveDirectoryGroupRealm
# Login to Zeppelin
# Create new notebook
# Edit the permissions and start typing the name of a AD user to one of the permission fields
# Select one of the suggestions and save
# Check the content of "notebook-authorization.json"

h2. Expected result
* The "userPrincipalName" of the user is shown in the suggestion box and written to "notebook-authorization.json" (see screenshot attached).

h2. Actual result
* The "cn" (common name) of the user is shown in the suggestion box and written to "notebook-authorization.json".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)