Bug 748568 - Attempting to update LDAP user's password fails with a blank error message
Summary: Attempting to update LDAP user's password fails with a blank error message
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-24 20:41 UTC by Larry O'Leary
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Larry O'Leary 2011-10-24 20:41:14 UTC
Description of problem:
If an administrative user attempts to update the password of an LDAP user (which should not be possible) the result is an error message "Operation failed. An error occurred" but the detailed message is blank. Digging into the server log file you can see:

Caused by: java.lang.IllegalArgumentException: You cannot set a password for an LDAP user.


Version-Release number of selected component (if applicable):
4.1.0-SNAPSHOT

How reproducible:
Always

Steps to Reproduce:
1. Login as rhqadmin
2. Select Administration -> Users
3. Select a user who has "LDAP Login?" set to "Yes
4. Enter a new password in the Password field
5. Enter the same new password in the Verify Password field
6. Click Save

  
Actual results:
Message is displayed "Operation failed. An error occurred" with empty details

Expected results:
Password field should not be editable/enabled
-- or --
Message is displayed "Operation failed. You cannot set a password for an LDAP user."

Comment 1 Mike Foley 2011-10-31 15:45:51 UTC
functionally this is working, but you can't update LDAP password through JON.  the error message could be better.


Note You need to log in before you can comment on or make changes to this bug.