> I put the following in /var/net-snmp/snmpd.conf:
> 
>   createUser admin MD5 "admin" DES

> [but] When I try:
> 
>   snmpwalk -v 3 -n "" -u admin -a MD5 -A "adminpwd" -x DES -X "adminpwd"
>                       -l authPriv theserver system
> 
> I get:
>   snmpwalk: Decryption error


Either "adminpwd" should be "admin" in the command,
or (the second) "admin" should be "adminpwd" in the createUser line.



> and 
>   snmpwalk -v 3 -n "" -u admin -a MD5 -A "adminpwd" -l authNoPriv ipm system
> 
> gives
> 
>   Error in packet.
>   Reason: authorizationError (access denied to that object)

That's because of the "access" line:

>  access    admin     ""       any    priv       exact  all   all    all
                                       ^^^^

You've explicitly requested privacy, so 'authNoPriv' doesn't match.

I'd suggest you downgrade this to be "auth" rather than "priv",
make sure the passwords are consistent, and concentrate on getting
SNMPv3 authentication working first.
  *Then* try adding privacy as well.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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

Reply via email to