Bug 854925
Summary: | SNMP failed to auth if the password have space | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Meng Liang <mliang> |
Component: | ovirt-node | Assignee: | Fabian Deutsch <fdeutsch> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3 | CC: | acathrow, bsarathy, chchen, cshao, fdeutsch, gouyang, hadong, jbiddle, jboggs, leiwang, mburns, ovirt-maint, ycui |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-node-2.5.0-5.el6 | Doc Type: | Bug Fix |
Doc Text: |
Previously, it was possible to accidentally include spaces when attempting to set the snmpd password. This would cause the authentication to fail later with an error saying 'password length is too short'. Now, spaces in passwords have been blocked with an appropriate error message.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-28 16:38:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Meng Liang
2012-09-06 10:19:58 UTC
http://gerrit.ovirt.org/7991 This patch prevents the usage of spaces in the password. I also tried circumventing this problem by using a hex representation and a quoted string in the configuration file. Both did not work. Tested as follows: 1. Apply patch 2. Enter SNMP page 3. Pw+Confirmation "12345678" works 4. Pw "1234567 " when leaving field the message appears: No spaces allowed. Field cleared 5. Pw "123456 7" when leaving field the message appears: No spaces allowed. Field cleared 6. Pw "1234567" when leaving field the message appears: Min 8 chars. Field cleared 7. No password, warning when hitting Apply Tested as in comment #2. Test version: rhev-hypervisor6-6.4-20121015.1.el6 Test steps and results: 1. Install rhevh 6.4 2. Enter SNMP page 3. Pw+Confirmation "12345678" works 4. Pw "1234567 " =>'Password may not contain spaces' 5. Pw "123456 7" =>'Password may not contain spaces' 6. Pw " " =>'Password may not contain spaces' Thus the bug is fixed, change bug status to VERIFIED. so follow steps of comment 8 to re-test on version rhev-hypervisor6-6.4-20121212.1.el6, bug was fixed on it. 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 |