hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10249) LdapGroupsMapping should trim ldap password read from file
Date Thu, 13 Feb 2014 22:42:21 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900821#comment-13900821

Hadoop QA commented on HADOOP-10249:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-common-project/hadoop-common.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/3573//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/3573//console

This message is automatically generated.

> LdapGroupsMapping should trim ldap password read from file
> ----------------------------------------------------------
>                 Key: HADOOP-10249
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10249
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Dilli Arumugam
>            Assignee: Dilli Arumugam
>         Attachments: HADOOP-10249.patch
>  org.apache.hadoop.security.LdapGroupsMapping allows specifying ldap connection password
in a file using property key
> hadoop.security.group.mapping.ldap.bind.password.file
> The code in LdapGroupsMapping  that reads the content of the password file does not trim
the password value. This causes ldap connection failure as the password in the password file
ends up having a trailing newline.
> Most of the text editors and echo adds a new line at the end of file.
> So, LdapGroupsMapping should trim the password read from the file.

This message was sent by Atlassian JIRA

View raw message