USM engineID and the snmpd engineID?

"Miller, Jeff (eng)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Perhaps I am using things wrong but I seem to be having problems with my
USM users if I change the systems engineID.

If I use snmpusm to add users to the system and then stop snmpd I can
see that the users exist in the /var/net/snmpd.conf file and if I
restart snmpd I can still access the system using those users.

If I now want to change the engineID used by snmpd I believe I have to
change the other snmpd.conf file and restart snmpd.  The change to my
snmpd.conf file was to add a directive of something like "engineID 1".
After doing the restart I see that my users are added to the USM table
but I can no longer access the system using those users because I get a
"usm: no match on engineID (80 00 1F 88 04 33 )".

Am I missing something or is it necessary to regenerate the usmUsers if
I change the engineID so that the engineID is again localized?

Here is the snmpd output:

millerj1@ccnlab9:../test> snmpd -Le -c snmpd.conf -f -Dusm,usmUser -m
all 
registered debug token usm, 1
registered debug token usmUser, 1
usmUser: init_usm_conf called
usmUser: usm_parse_config_usmUser: token: "usmUser", line: "1 3
0x80001f880432 0x61637861646d696e00 0x61637861646d696e00 NULL
.1.3.6.1.6.3.10.1.1.2 0x5ab190aab8c8afb3e1e6831ef08d0729
.1.3.6.1.6.3.10.1.2.2 0x5ab190aab8c8afb3e1e6831ef08d0729 0x00"
usmUser: usm_parse_config_usmUser: token: "usmUser", line: "1 3
0x80001f880432 0x67656f72676531323300 0x67656f72676531323300 NULL
.1.3.6.1.6.3.10.1.1.2 0x618fce16887ba06dc17f2818799c653f
.1.3.6.1.6.3.10.1.2.2 0x618fce16887ba06dc17f2818799c653f 0x00"
usm: USM processing has begun (offset 94)
usm: getting user jeff
usm: match on user jeff
usm: Failed to find engine data.
usm: Encryption successful.
usm: USM processing completed.
NET-SNMP version 5.4
usm: USM processing begun...
usm: match on user jeff
usm: Verification succeeded.
usm: USM processing completed.
usm: USM processing has begun (offset 94)
usm: getting user jeff
usm: match on user jeff
usm: Encryption successful.
usm: USM processing completed.
usm: USM processing begun...
usm: match on user jeff
usm: Verification succeeded.
usm: USM processing completed.
usm: USM processing begun...
usm: Unknown Engine ID.
usm: USM processing has begun (offset 45)
usm: getting user 
usm: USM processing completed.
usm: USM processing begun...
usm: match on user acxadmin
usm: no match on engineID (80 00 1F 88 04 33 )
usm: Unknown User(acxadmin)
usm: USM processing has begun (offset 42)
usm: getting user acxadmin
usm: match on user acxadmin
usm: no match on engineID (80 00 1F 88 04 33 )
usm: USM processing completed. 

Jeff

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.