Hello Dave,

Many thanks for your answer. I tried two varaints, one
with authAccess and the other with setaccess; their behaviour
was the same. I'll explain.

I used the following commands to send traps; one is without
context and the other with.

snmptrap -e 0x01020304              -v 3 -u public  -l noAuthnoPriv
udp:localhost:162 42 coldStart.0
snmptrap -e 0x01020304 -n mycontext -v 3 -u public  -l noAuthnoPriv
udp:localhost:162 42 coldStart.0

The command without the context comes through without a problem.
The command with the context reaches the trapdaemon at port 162
(I see the debug stuff), but the trap seems to be rejected; it
is not logged. As I said before, for both conf files the result
was the same.

I played around with this stuff for quite a while before writing to
the mailing list, but could not get it to go. I'm not sure what I
should try next.

Many Thanks,

        Mark.


####################################################################
## Variant 1
createUser -e 0x01020304 public MD5 password DES password

view all    included  .1

group        pubGroup   usm  public

authAccess   log,execute,net   pubGroup  all  noauth   mycontext
authAccess   log,execute,net   pubGroup  all  noauth

####################################################################
## Variant 2
createUser -e 0x01020304 public MD5 password DES password

view all    included  .1

group        pubGroup   usm  public

setaccess pubGroup ""        usm noauth exact log all
setaccess pubGroup mycontext usm noauth exact log all

####################################################################

> authAccess feels the right thing to use here.
> 
> Instead of
>     authUser   log,execute,net   public authnopriv
> 
> Try something like
> 
>     group    pubGroup   usm  public
>     authAccess   log,execute,net   pubGroup  _all_  noauth   mycontext
> 
> Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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