OK, I figured out how to get Auth and Private type from persistent file.
However I do have some questions about usmUser entry.

1) 
usmUser 1 3 0x800007e580a02e931b7cfb5e43 0x66666600 0x66666600 NULL
.1.3.6.1.6.3.10.1.1.2 0xfefa802d7734f26a4e42ff1b17140684
.1.3.6.1.6.3.10.1.2.2 0xfefa802d7734f26a4e42ff1b17140684 ""

What are the first two fields in usmUser entry, here is 1 3?
What is the No 6 data, here is NULL?
What is the last data, here is ""?

2)I also realized that 
A) If I set auth but don't set private, I get the following entry,
usmUser 1 3 0x800007e580a02e931b7cfb5e43 0x666f6e673200 0x666f6e673200
NULL .1.3.6.1.6.3.10.1.1.3 0x786cf209aab49dd2c91d4d622c0850027daa0054
.1.3.6.1.6.3.10.1.2.1 0x 0x00

Note: data 0x 0x00 are following usmNoPrivProtocol
(.1.3.6.1.6.3.10.1.2.1). 

B) If I don't set Auth, I got the following entry,
usmUser 1 3 0x800007e580a02e931b7cfb5e43 0x666f6e673300 0x666f6e673300
NULL .1.3.6.1.6.3.10.1.1.1 "" .1.3.6.1.6.3.10.1.2.1 "" ""

The data "" is following usmNoAuthProtocol and usmNoPrivProtocol.

Should 0x in Case A (has auth but no priv) be "" too?

Thanks,

FT


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to