Re: snmp v3 authentication
"Nikos Balkanas" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <000201c96526$ce58f9b0$02b2a8c0@tardis> |
Thanx for the tip. I had created the rwuser with net-snmp-config, but given the option I didn't specify a passphrase. That invalidated the snmpd.conf entry. I believe that authors should handle this point more elegantly. What is the use of creating a rwuser in snmpd.conf if it is not validated and therefore useless? Except maybe for the poor user who sees his name in snmpd.conf, gets a message "Unknown user name" and gets completely confused... I would like to ask another question: For snmpv3 authentication to complete I need to specify context with snmpvacm. When I try (as described in man pages): snmpvacm -u xxx -A xxxxx -l authNoPriv localhost createSec2Group 3 xxx RWGroup I get: Error in packet. Reason: inconsistentValue (The set value is illegal or unsupported in some way) Failed object: SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.3."xxx" If I try any other model other than 3 it succeeds. But according to man pages we are not allowed to use any other value than 3 (snmp v3). BR, Nikos ----- Original Message ----- From: "Thomas Anders" <[email protected]> To: "Nikos Balkanas" <[email protected]> Cc: <[email protected]> Sent: Tuesday, December 23, 2008 12:29 AM Subject: Re: snmp v3 authentication > Nikos Balkanas wrote: >> Server2:~/work/.../snmp/tutorial-> snmpget -v 3 -u xxxx 127.0.0.1 >> sysUpTime.0 >> snmpget: Unknown user name (Sub-id not found: (top) -> sysUpTime) >> >> But I give user-name (xxxx)! snmpd is 5.4.1 and os is Solaris 10.5. I >> also specify noAuthNoPriv in snmp.conf > > The *agent* (SNMP daemon) responded that it doesn't know that user and > snmpget displayed that result. Please check your agent configuration. > > > +Thomas ------------------------------------------------------------------------------ _______________________________________________ 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