You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Erik Anderson (Jira)" <ji...@apache.org> on 2021/01/28 21:23:00 UTC

[jira] [Created] (RANGER-3166) Spaced are authorized in LDAP value strings but the setup.sh script doesnt account for spaces

Erik Anderson created RANGER-3166:
-------------------------------------

             Summary: Spaced are authorized in LDAP value strings but the setup.sh script doesnt account for spaces
                 Key: RANGER-3166
                 URL: https://issues.apache.org/jira/browse/RANGER-3166
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
    Affects Versions: 2.1.0
            Reporter: Erik Anderson


As mentioned in my pull request
https://github.com/apache/ranger/pull/89
Spaces are authorized in LDAP values.

Here is 2 perfect examples that broke the setup.sh script
in the install.properties set 2 values like so

xa_ldap_userDNpattern=OU=Enabled Accounts,DC=mydc,DC=mycompany,DC=com
xa_ldap_bind_dn=cn=AD Query,OU=Enabled Accounts,DC=mydc,DC=mycompany,DC=com

The generated output file
ews/webapp/WEB-INF/classes/conf/ranger-admin-site.xml
Will be missing those values in the XML field.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)