On 10 February 2010 07:34, <[email protected]> wrote:
> group operator usm user1
> rouser user1
You are mixing two styles of access control.
Either use "rouser" *OR* use "view/group/access"
Do NOT try to mix the two - particularly with the same username.
> But, my query for any of my MIB is yeilding output even if I use "-l
> noAuthNoPriv" for user1
Correct.
That's what you configured using the line:
access operator "" any noauth exact _all_ _none_ _all_
(since "user1" is part of the group "operator").
Note the token "noauth" in this line.
> The above query should not yeild output as "user1" is configured as
> anthNoPriv.
Wrong - see above.
> I need VACM and my agent should support all SNMP V1,V2 and V3.
I'd strongly suggest that you stick to the
"r[ow]{user,community}" directives throughout.
They are much simpler than the group/access approach,
and you're much less likely to make this sort of configuration error.
Dave
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders