V3 authkey and privkey

"Joan Landry" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <A9FCB77F97940A418A61FD9BB71E4170034BF83A@dexbe012-6.exch012.intermedia.net>
I need to be able to specify the authentication key and the privacy key
in snmpd.conf
Instead of a password and nothing I have tried has worked. 

For example:
I tried the following:
createUser v3user9 MD5 0x2131415161718191a1b1c1d1e1f12232 DES
0x2131415161718191a1b1c1d1e1f12232
where I want the authkey =
21.31.41.51.61.71.81.91.a1.b1.c1.d1.e1.f1.22.32

Unfortunately I think net-snmp is taking the 0x.. as a "password string"
and creating an auth-key and priv-key from it.

I verified this by reading the authkey of this user via a call to:
uptr = usm_get_user(engineID, engineIDLen, newName);

and the authkey for this entry is:
e8.5f.42.d5.83.91.25.8b.6c.ed.dc.b4.80.7c.a2.2c
not
21.31.41.51.61.71.81.91.a1.b1.c1.d1.e1.f1.22.32

Unfortunately not even the
e8.5f.42.d5.83.91.25.8b.6c.ed.dc.b4.80.7c.a2.2c key worked when I placed
it as the key in the Mg-soft mib browser I get stats-wrong-digest
authentication error. So not exactly sure where the key is in the code.

I am able to use an authkey (not a password) using Mg-soft and a non
net-snmp agent - which leads me to believe the way I specified the
auth-key in the snmpd.conf directive was not correct. 

I would be very appreciative for any info you can provide to help me
accomplish this.
Thanks for your time.


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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.