Red Hat Bugzilla – Bug 825146
snmp auth cannot work with new passwd after some action
Last modified: 2016-04-26 11:51:38 EDT
Description of problem:
when snmpd is configured, press "apply" on the snmp page directly, without change, and then confgiure snmp with new passwd, snmp failed to auth with the new one but work with the old one.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure snmp with passwd, snmp works with the passwd.
$ snmpwalk -v3 -u root -l authPriv -a SHA -A redhat123 -x AES -X redhat123 10.66.8.209 sysDescr
SNMPv2-MIB::sysDescr.0 = STRING: Linux dhcp-8-209.nay.redhat.com 2.6.32-274.el6.x86_64 #1 SMP Tue May 22 17:56:02 EDT 2012 x86_64
2. On the snmp page, press apply without change anything.
3. Configure snmp with a new passwd, snmp failed work with the new passwd, but still work with the old one.
$ snmpwalk -v3 -u root -l authPriv -a SHA -A 123qweP# -x AES -X 123qweP# 10.66.8.209 sysDescr
snmpwalk: Authentication failure (incorrect password, community or key) (Sub-id not found: (top) -> sysDescr)
snmp should work at every passwd change.
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.