Sorry for taking this long to reply. I specified the context as follow: Rwuser tester1 noauth -V viewall "router12"
And I used Snmpwalk -v3 -l noAuth -u tester1 -n "router12" localhost The command timeout as before. If I use the command without -n option and the rwuser directive in snmpd.conf as above The command reports an error: Error in packet Reason: authorizationError (access denied to that object) Do you have any other suggestion that I can test. I was hoping that I can define a wildcard type of CONTEXT that matches all or allow all contexts to be passed to my low level code which handles further qualification on the request. In other words all I want is to have the request passed to me the contextName field of the pdu. At the moment the all request with -n options are blocked and or timeout occurs. Thanks, Bernadette Eyre -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Thursday, August 26, 2010 12:35 AM To: Eyre, Bernadette (Bernadette) Cc: [email protected] Subject: Re: when using -n <context-name> in SNMPv3 command, the commands timeout On 26 August 2010 03:17, Eyre, Bernadette (Bernadette) <[email protected]> wrote: > I created a user as noAuth user. The user is able to do snmpget, snmpset, > snmpwalk, etc. > > However when I add -n option with context name to the command line, the > command > responds with Timeout: No response from the localhost error. > > In snmpd.conf file I had: > Rwuser tester1 noauth -V viewall > > I then changed the rwuser directive to: > Rwuser tester1 noauth -V viewall "*" > > That didn't work either. What happens if you specify the second context exactly, rather than using the wildcard approach? Dave ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
