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

The password keystore file is not picked by LDAP group mapping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.5.0
    • security
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: