Github user prabhjyotsingh commented on the issue:

    https://github.com/apache/zeppelin/pull/986
  
    @rja1, Thank you for much detailed analysis. 
    
     - I have made another commit, this should take care of `makes ldap 
bindRequest as n...@mydomain.com and fails.`
    
     - I cannot do anything for 
`activedirectoryrealm.systemusern...@mydomain.com ` as this binding is required 
for searching the LDAP/AD tree.
    
    
     - For the following
     >  Step 4 pulls back about 5mb of data, which is a lot.
    
    I will recommend, tuning the shiro app by 
    
    ```
    activeDirectoryRealm.authorizationCachingEnabled = true
    cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
    securityManager.cacheManager = $cacheManager
    ```
    
     - And for 
    
    > In addition, my groups / roles are still not mapped to my username
    
    Can you try and execute command below, and see if that works;
    ```
    ldapsearch -h ldapServer -x -D 
"CN=${activeDirectoryRealm.systemUsername},${activeDirectoryRealm.searchBase}" 
-w ${activeDirectoryRealm.systemPassword} -b 
"${activeDirectoryRealm.groupRolesMap[0]}" 
    ```



---
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