You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2017/03/21 18:29:44 UTC

[jira] [Updated] (AMBARI-19910) Cannot change user passwords

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

Aravindan Vijayan updated AMBARI-19910:
---------------------------------------
    Fix Version/s:     (was: 2.5.0)
                   trunk

Bulk moving of issues out of 2.5.0.

> 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: trunk
>
>         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)