Re: VACM and snmpv2c community string

2005-06-21 Thread mark kaplun
]> To: Sent: Monday, June 20, 2005 2:44 PM Subject: RE: VACM and snmpv2c community string Hi, I found that my new VACM group wasn't saved in the persist file (snmpd.conf) because of the following: I'm calling vacm_parse_simple from my MIB file which call to vacm_parse_group. In vacm_

RE: VACM and snmpv2c community string

2005-06-20 Thread Koren Ofer-BOK016
Hi, I found that my new VACM group wasn't saved in the persist file (snmpd.conf) because of the following: I'm calling vacm_parse_simple from my MIB file which call to vacm_parse_group. In vacm_parse_group the default gp->storageType value is set to SNMP_STORAGE_PERMANENT. When trying to save th

RE: VACM and snmpv2c community string

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 11:34, Koren Ofer-BOK016 wrote: > I added the following test code in my MIB: > char * Token= "rocommunity"; > char * Line = "TryPrivate 127.0.0.1"; > vacm_parse_simple(Token,Line); Yes - that should work. > So, Isn't "TryPrivate" a new co

RE: VACM and snmpv2c community string

2005-06-20 Thread Koren Ofer-BOK016
tring ? Its seems to work fine (except "small" problem of forgetting this change upon agent restart). Can you please tell me where am I wrong ? Thanks, Ofer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, June 20, 2

Re: VACM and snmpv2c community string

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 09:24, Koren Ofer-BOK016 wrote: > I used the following lines (originally from the snmpvacm man page): > > snmpvacm -v2c -c public 127.0.0.1 createSec2Group 2 dave RWGroup > snmpvacm -v2c -c public 127.0.0.1 createView all .1 80 > snmpvacm -v2c -c public 127.0.0.1 createAcces

VACM and snmpv2c community string

2005-06-20 Thread Koren Ofer-BOK016
Hi, I want to write an app which generate SNMPv2c get/set request's using dynamic vacm groups, but I'm facing some problems using the vacm with SNMPv2c. I used the following lines (originally from the snmpvacm man page): snmpvacm -v2c -c public 127.0.0.1 createSec2Group 2 dave RWGroup --