Hi Dave,

sorry for the late response.
 I have tested the new snmpd version 5.6 and found, that the context is not added to the com2sec list.

I opened is a bug report open about this ( ID 3062538)
Too I found the bug and tried to fix it.

May you able to check my patch and apply it to snmpd version 5.4.3, 5.5, and 5.6.

Thanks in advanced.

Kind regards,
Claus

Attachment: authcommunity.diff
Description: Binary data


On 05.08.2010, at 13:50, Dave Shield wrote:

On 4 August 2010 23:04, Claus Klein <[email protected]> wrote:
while working with snmpd V5.5 I tried to configure a mapping of v2c
community to v3 context with authcommunity.

I was wondering that the man page is different from configuration:

man snmpd.conf:
    com2sec [-Cn CONTEXT] secName IPv4-network-address[/netmask]
community
    authcommunity TYPES  COMMUNITY   [SOURCE [OID | -V VIEW [CONTEXT]]]

macbook-pro:net-snmp-5.5 clausklein$  /usr/local/sbin/snmpd -H 2>&1 |
grep authcommunity
    authcommunity   authtype1,authtype2 community [default|hostname|
network/bits [oid|-V view]]


Checking the history, the usage message for "authcommunity" (and related
directives) wasn't updated when the context support was added.
  Now fixed.

Thanks for the report.

Dave

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
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

Reply via email to