Re: snmpv3 authorization error

This is a discussion on Re: snmpv3 authorization error within the SNMP Users forums, part of the Networking and Network Related category; On 18/02/2008, Steve McCarthy <mccart1s@yahoo.co.uk> wrote: > I then added rwuser steve1 noauth ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008
Dave Shield
 
Posts: n/a
Default Re: snmpv3 authorization error

On 18/02/2008, Steve McCarthy <mccart1s@yahoo.co.uk> wrote:
> I then added rwuser steve1 noauth and rwuser steve3 auth to my snmpd.conf
> file that also had rocommunity and rwcommunity settings. I then added
> createUser stevev1 and createUser stevev3 MD5 "my_password" DES to my
> persistent snmpd.conf file.



> snmpget =96v 3 =96u steve1 =96l noAuthNoPriv =96A my_password =96a MD5 ta=

rgetIP
> Objectname
> on the noauth user, I successfully get the response data.


> snmpget =96v 3 =96u steve3 =96l noAuthNoPriv =96A my_password =96a MD5 ta=

rgetIP
> Objectname
> on the auth user I get AuthorizationError (access denied to the objec=

t)

> snmpget =96v 3 =96u steve =96l noAuthNoPriv =96A my_password =96a MD5 tar=

getIP
> Objectname
> I get Unknown user name as expected.


All of those seem as expected.


> snmpget =96v 3 =96u steve3 =96l AuthNoPriv =96A my_password =96a MD5 targ=

etIP
> Objectname
> on the auth user I get Authentication failure


Try running the agent with the option "-Dusm"
(or if your application doesn't support the -D flag, then add the line
debug_register_tokens("usm"); and recompile).

That might give some indication as to exactly where the authentication
is failing.

Dave

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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:11 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0