Re: snmpv3 user authorization error

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22 June 2010 11:36,  <[email protected]> wrote:
> 2. snmpget -v 3 -u yellapu -a MD5 -A passphrase  localhost sysLocation.0
>
> error inpacket:
> reason:authorization error<access denied to that object.

>From snmpd.conf

  "rouser yellapu priv"

So the user "yellapu" is only authorised for access when using authPriv.
(i.e. encrypted requests).
    By default, the client tools will send requests with a security level of
"auth" (i.e. authenticated but unencrypted).   This is also what you
specify in the snmp.conf file

    "defsecuritylevel  authNoPriv"


Try adding     "-l authPriv"   or    "-l priv" to the command line



> 3. snmpget -v 3 -u yellapu -a MD5 -A passphrase  -x DES -X passphrase localhost sysLocation.0
>
> error inpacket:
> reason:authorization error<access denied to that object.

Exactly the same reason holds here.
You are still sending requests with a securityLevel of "authNoPriv"
Try specifying the security level on the command line.

Dave

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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.