You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2014/06/10 20:41:02 UTC

[jira] [Assigned] (HADOOP-10656) The password keystore file is not picked by LDAP group mapping

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

Brandon Li reassigned HADOOP-10656:
-----------------------------------

    Assignee: Brandon Li

> The password keystore file is not picked by LDAP group mapping
> --------------------------------------------------------------
>
>                 Key: HADOOP-10656
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10656
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.2.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: HADOOP-10656.patch
>
>
> The user configured password file(LDAP_KEYSTORE_PASSWORD_FILE_KEY) will not be picked by LdapGroupsMapping:
> In setConf():
> {noformat}
>     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)); 
>     }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)