Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3166

Spaced are authorized in LDAP value strings but the setup.sh script doesnt account for spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.1.0
    • None
    • Ranger
    • None

    Description

      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.

      Attachments

        1. setup.sh
          63 kB
          Erik Anderson

        Activity

          People

            ErikAnderson Erik Anderson
            ErikAnderson Erik Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: