RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 829248 - the CIM and SNMP Password can be set successfully even passwords does not match
Summary: the CIM and SNMP Password can be set successfully even passwords does not match
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.3
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Fabian Deutsch
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 837061
TreeView+ depends on / blocked
 
Reported: 2012-06-06 10:12 UTC by haiyang,dong
Modified: 2016-04-26 16:27 UTC (History)
12 users (show)

Fixed In Version: ovirt-node-2.5.0-3.el6
Doc Type: Bug Fix
Doc Text:
Previously, when the password and password confirmation entries did not match, the password was still set. This fix enforces the match requirement to set the password and will produce an "Invalid:Password does not match" error if the passwords do not match.
Clone Of:
Environment:
Last Closed: 2013-02-28 16:36:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0556 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2013-02-28 21:29:06 UTC

Description haiyang,dong 2012-06-06 10:12:47 UTC
Description of problem:
Example:
Password=redhat
Confirm Passwrod =redhat123
although it will prompt that "Passwords Do Not Match" on the cim page, but after press "apply" directly, the CIM Password can be set successfully.

SNMP has the same issue.

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.3-20120531.0.el6

How reproducible:
100%

Steps to Reproduce:
1. Install rhevh
2. Enter cim page
3. Enter "Password" label with "redhat" and "Confirm Password" label with "redhat123"
4.press "apply" on the cim page directly
5.send CIM requests to the cim server:
#wbemcli ein -noverify https://cim:redhat@10.66.8.234/root/virt:KVM_VirtualSystemManagementService
6.send CIM requests to the cim server:
#wbemcli ein -noverify https://cim:redhat123@10.66.8.234/root/virt:KVM_VirtualSystemManagementService
Actual results:
1. after press "apply" on the cim page directly, the CIM Password can be set successfully.
2. step 5: send CIM requests success
10.66.8.234:5989/root/virt:KVM_VirtualSystemManagementService.SystemCreationClassName="KVM_HostSystem",SystemName="dhcp-8-234.nay.redhat.com",CreationClassName="KVM_VirtualSystemManagementService",Name="Management Service
3.step 6: send CIM requests fail
*
* wbemcli: Http Exception: Invalid username/password.
*


Expected results:
check password match function can work well in CIM confirmation dialog.

Additional info:

Comment 4 Fabian Deutsch 2012-06-27 13:04:33 UTC
The following patches fix this behavior:

http://gerrit.ovirt.org/5745
http://gerrit.ovirt.org/5746

SNMP
On Apply: If any password is given and both passwords don't match, a message appears and snmp does not get de/activated.

CIM
On Apply: If any password is given and don't match, the rules a message appears and CIM does not get activated.
CIM get's de/actiavated if no password is given at all.

Comment 8 chencong 2012-10-14 07:57:29 UTC
verified with rhevh-6.3-20121005.0.el6_3
1.Enter cim page
2.Enter "Password" label with "redhat" and "Confirm Password" label with "redhat123", then press "apply" on the cim page directly.
3.An error window pops up "CIM Password Is Invalid:Password Do Not Match".
4.send CIM requests to the cim server:
#wbemcli ein -noverify https://cim:redhat@10.66.8.234/root/virt:KVM_VirtualSystemManagementService. Fail.
5.send CIM requests to the cim server:
#wbemcli ein -noverify https://cim:redhat123@10.66.8.234/root/virt:KVM_VirtualSystemManagementService. Fail.
6.Enter "Password" label with "redhat" and "Confirm Password" label with "redhat", then press "apply" on the cim page directly.
7.send CIM requests to the cim server:
#wbemcli ein -noverify https://cim:redhat@10.66.8.234/root/virt:KVM_VirtualSystemManagementService. Success.

Comment 9 haiyang,dong 2012-10-15 01:36:53 UTC
The Flag was marked as rhel‑6.4.0+,so need to verified it on rhev-h version 6.4,
i will verified it on 6.4, right now, change it into "ON_QA"

Comment 13 errata-xmlrpc 2013-02-28 16:36:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0556.html


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