Re: Possible BUG in snmpd.conf VACM 'access' directive

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Tue, 25 Apr 2006 13:38:52 +0300, "Makavy, Erez (Erez)" <[email protected]> said:

Erez> I use these directives in my snmpd.conf file:
 
Erez> access ReadCommG "" v1 noauth exact v1-r-view "" v1-r-view
Erez> access ReadCommG "" v2c noauth exact v1-r-view "" v1-r-view
Erez> access ReadCommG "" usm auth exact v3-r-view "" v3-r-view
 
Erez> It seems that only the last directive affects the vacmAccessTable (it
Erez> overrides the previous directives).
Erez> 1) Is this a BUG?
Erez> 2) How can I overcome this?

If that's happening it is a bug, yes.
 
Erez> How do I specify an empty Write-View?
Erez> I used "", but it actually sets the write view to "".

"" is the right value...  see the mib definition:

***if the value is the empty string*** or if there is no active MIB view
having this value of vacmViewTreeFamilyViewName, then no access is
granted.

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.