Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10656

The password keystore file is not picked by LDAP group mapping

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.5.0
    • Component/s: security
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The user configured password file(LDAP_KEYSTORE_PASSWORD_FILE_KEY) will not be picked by LdapGroupsMapping:

      In setConf():

          keystorePass =
              conf.get(LDAP_KEYSTORE_PASSWORD_KEY, LDAP_KEYSTORE_PASSWORD_DEFAULT);
          if (keystorePass.isEmpty()) {
            keystorePass = extractPassword(
              conf.get(LDAP_KEYSTORE_PASSWORD_KEY, LDAP_KEYSTORE_PASSWORD_DEFAULT)); 
          }
      

        Attachments

        1. HADOOP-10656.003.patch
          2 kB
          Brandon Li
        2. HADOOP-10656.002.patch
          2 kB
          Brandon Li
        3. HADOOP-10656.patch
          1.0 kB
          Brandon Li

          Issue Links

            Activity

              People

              • Assignee:
                brandonli Brandon Li
                Reporter:
                brandonli Brandon Li
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: