Re: VACM configuration
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 28 June 2010 14:43, Wes Hardaker <[email protected]> wrote: >>>>>> On Mon, 28 Jun 2010 17:35:12 +0530 (IST), [email protected] said: > > g> rocommunity public localhost .1.3.6.1.2.1.1 > g> rocommunity public localhost .1.3.6.1.2.1.25.1 > > You can't use two of those "simple" statements. If you want to restrict > to multiple OID sets you need to use the full list of VACM configuration > tokens instead (com2sec, sec2group, view, access...) Actually, with more recent releases of the software, it should be sufficient to define an appropriate view, and then use this with "rocommunity" i.e. view systemInfo included .1.3.6.1.2.1.1 view systemInfo included .1.3.6.1.2.1.25.1 rocommunity public localhost -V systemInfo The latest versions of EXAMPLE.conf (5.4.x and above) illustrate this approach. Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ 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