ambari-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] (AMBARI-19910) Cannot change user passwords
Date Thu, 09 Feb 2017 09:30:41 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-19910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859252#comment-15859252
] 

Hadoop QA commented on AMBARI-19910:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12851815/AMBARI-19910.patch
  against trunk revision .

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

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler 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 ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/10474//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10474//console

This message is automatically generated.

> Cannot change user passwords
> ----------------------------
>
>                 Key: AMBARI-19910
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19910
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.5.0
>            Reporter: Sangeeta Ravindran
>            Assignee: Sangeeta Ravindran
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19910.patch
>
>
> 1. Create a user and set a password (that does not match the admin password).
> 2. Click on Change Password and enter the old and new passwords.
> 3. Click on OK.
> An error is displayed and you cannot change password although the current password is
correct.
> Cannot change password
> org.apache.ambari.server.controller.spi.SystemException: An internal system exception
occurred: Wrong current password provided
> This seems to happen because in modifyPassword method in Users.java 
> we compare the current password passed in with the password of the logged in user (admin).
> passwordEncoder.matches(currentUserPassword, currentUserEntity.getUserPassword())



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message