Re: Re: how to configure v2 access control entries

zhufei <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thank you very much for your kindly reply.

In snmp agent configuration file snmpd.conf,there is information as follows:
——————————————————————————


——————————————————————————

this part of configuration is used for connecting authority control, I just wanna to know how to configure this authority using net-snmp api.
I mean how to add a source (like 192.168.1.21) with community (like private) to the agent by net-snmp api.
In the configuration file, it writes 'com2sec local localhost public'.





From: Dave Shield
Date: 2012-08-02 17:39
To: zhufei
CC: net-snmp-users
Subject: Re: how to configure v2 access control entries
On 30 July 2012 01:48, zhufei <[email protected]> wrote:
> I have a question on how to configure to add a v2 access control entry using
> 'snmpvasm' or even code.

I don't believe this is possible.

You can set up the group, view, and access entries using 'snmpvacm'.
However the mapping between community strings and the internal
"security name" uses a proprietary Net-SNMP mapping, and there
is no MIB that allows you to manipulate this via SET requests.

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
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
Catch784C.jpg (image/jpeg, 91.8 KB) - not displayed
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.