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:59:00 UTC

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

     [ https://issues.apache.org/jira/browse/RANGER-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Anderson updated RANGER-3166:
----------------------------------
    Attachment: setup.sh

> 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
>            Assignee: Erik Anderson
>            Priority: Major
>         Attachments: setup.sh
>
>
> 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)