You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2021/06/23 14:54:42 UTC

[GitHub] [zeppelin] zjffdu commented on a change in pull request #4149: [ZEPPELIN-5424] Clarify LDAPRealm Bug/Limit

zjffdu commented on a change in pull request #4149:
URL: https://github.com/apache/zeppelin/pull/4149#discussion_r657183820



##########
File path: docs/setup/security/shiro_authentication.md
##########
@@ -195,6 +195,7 @@ Add the following line in the `shiro.ini` file:
 ``` 
 ldapRealm.hadoopSecurityCredentialPath = jceks://file/user/zeppelin/conf/zeppelin.jceks
 ```
+**Caution** due to a bug in LDAPRealm only ```ldapRealm.pagingSize``` results will be fetched from LDAP. In big directory Trees this may cause missing Roles. Try limiting the search Scope using ```ldapRealm.groupSearchBase``` or narrow down the required Groups using ```ldapRealm.groupSearchFilter```

Review comment:
       Do. you mean bug of `org.apache.zeppelin.realm.LdapRealm`, if so I think we should fix it instead of using doc to warn user

##########
File path: docs/setup/security/shiro_authentication.md
##########
@@ -195,6 +195,7 @@ Add the following line in the `shiro.ini` file:
 ``` 
 ldapRealm.hadoopSecurityCredentialPath = jceks://file/user/zeppelin/conf/zeppelin.jceks
 ```
+**Caution** due to a bug in LDAPRealm only ```ldapRealm.pagingSize``` results will be fetched from LDAP. In big directory Trees this may cause missing Roles. Try limiting the search Scope using ```ldapRealm.groupSearchBase``` or narrow down the required Groups using ```ldapRealm.groupSearchFilter```

Review comment:
       Do you mean bug of `org.apache.zeppelin.realm.LdapRealm`, if so I think we should fix it instead of using doc to warn user




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org