Re: Problem trying to create SNMPv3 user with pre-generated MD5 key

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Fri, 04 Sep 2009 11:32:24 +0700, "Kirill Mishustin" <[email protected]> said:

KM> createUser snmpuser MD5 -m 
KM> 0x1bbd886460827015e5d605ed44252251

KM> Agent replaced second string with his "ucd user" stuff. 
KM> But when I try to make snmp request, I have authentication 
KM> failed error.
KM> I tried replacing "-m" with "-l" in 
KM> /var/net-snmp/snmpd.conf. Same result.

You definitely should be using a -l value if you're self-generating keys
and making sure it's different per host.  Only use the -m flag if you're
putting that same file in every host.  It is perfectly valid to do this,
but usage is a bit more tricky.  You also need to pass the same hex
string to the management application.  You'd do this within our tools
with the -3k and -3K if you used -l, and -3m and -3M if using -m in snmpd.conf
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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.