Re: Format of JetDirect SNMPv3 authentication, privacy keys?

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Goltz, Jim (NIH/NLM/LHC) [C] wrote:
> However, the JetDirect configuration seems to want 16-byte values in
> hexadecimal.  Does anyone know how I convert arbitrary passwords into
> these 16-byte values?  I see a couple of such values in
> /var/net-snmp/snmpd.conf after running net-snmp-config, in the "usmUser"
> directive.  If these are them, does anyone know which is which?  I've
> tried both for each key, with no success.

The format of the usmUser entry (see snmplib/snmpusm.c:usm_read_user()
for details) is:

usmUser <userStatus> <userStorageType> <engineID> <name> <secName>
<cloneFrom> <authProtocol> <authKey> <privProtocol> <privKey>
<userPublicString>

You're probably looking for <authKey> and/or <privKey>.


+Thomas


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.