On 08/04/2008, Joan Landry <[EMAIL PROTECTED]> wrote:
> I would like to know how to add a new vacmContextName to netsnmpd.
>
> I added the following user
> com2sec -Cn context1 v3user1 default     v3user1
> access  groupd context1 usm   authPriv exact  readview writeview notifyview

If you are using "com2sec", then this relates to SNMPv1/2.
So your "access" lines should be something like

   access  {group}  context1   v1   noauth  exact  {rview} {wview} {nview}
   access  {group}  context1   v2c  noauth  exact  {rview} {wview} {nview}
or
   access  {group}  context1   any noauth  exact  {rview} {wview} {nview}


> This does not work as acces is denied when I do snmpwalk.

What is the exact "snmpwalk" command you are using?
Also, what MIB information have you registered in "context1",
and how have you done this?


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to