>>>>> On Wed, 3 May 2006 11:29:16 -0700, "Mathew Bielejeski" <[EMAIL >>>>> PROTECTED]> said:
Mathew> I am working on updating a program I have to work with snmpv3. Mathew> I have an snmpv3 capable device that has to be set up by Mathew> inputting an MD5 key directly instead of creating one from a Mathew> password. As a simple test I set the MD5 key as Mathew> 00112233445566778899aabbccddeeff, however I can't figure out Mathew> how to send this key from my program to the device. No matter Mathew> what I try I get an Authentication Failure error. Mathew> Here is what I have tried: Mathew> Sending the key as a string Mathew> Converting the string into 16 actual bytes and sending that as Mathew> the key. Mathew> Does anyone know what form the key is suppose to be in to work Mathew> correctly? First, before trying to do it in code you should try it on the command line first... use snmpget --defAuthLocalizedKey or --defAuthMasterKey for example. Part of the problem you're likely having is that the session structure you're filling in either needs to be given a master key or a localized key. I'm betting the device is asking for a localized key, but your documentation should know that. The session field is for a master key, not a localized key. -- Wes Hardaker Sparta, Inc. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users