Github user ekantheshwara commented on the issue:

    https://github.com/apache/zeppelin/pull/986
  
    @prabhjyotsingh 
    
    You are right. The log shows:
    
     WARN [2017-04-10 16:37:27,945] ({qtp1577213552-13} 
LoginRestApi.java[postLogin]:111) - 
{"status":"OK","message":"","body":{"principal":"<user_id>","ticket":"f7e3dc96-3aea-43ab-9b5a-5d5020eb56fb","roles":"[]"}}
    
    The groupRolesMap property is set as shown:
    activeDirectoryRealm.groupRolesMap = 
"CN=APPADMIN,OU=Managed,OU=Groups,DC=testcore,DC=test,DC=dir,DC=<org>,DC=com":"admin"
    
    I have double checked and the group DN is correct. The roles and the url 
sections in shiro are as shown below:
    
    [roles]
    admin = *
    
    [urls]
    /api/version = anon
    /api/interpreter/** = authc, roles[admin]
    /api/configurations/** = authc, roles[admin]
    /api/credential/** = authc, roles[admin]
    #/** = anon
    /** = authc
    
    What else could have gone wrong ?
    



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to