USM users are not persistent.

2019-11-25 Thread RAHUL SHARMA
Hi, I am using net-snmp5.7.3 agent. I am using USM user table to create 2nd and 3rd Snmpv3 user. The user is getting created successful and I am able to contact using the new user. However these user accounts are not persistent and they get cleared off after power cycle. Is there anyway to make

RE: USM Users

2011-09-21 Thread Harvey Shepherd
> -Original Message- > From: Wes Hardaker [mailto:[email protected]] > Sent: Thursday, 22 September 2011 4:17 a.m. > To: Harvey Shepherd > Cc: [email protected] > Subject: Re: USM Users > > >>>>> On Thu, 15 S

Re: USM Users

2011-09-21 Thread Wes Hardaker
> On Thu, 15 Sep 2011 23:06:38 +, Harvey Shepherd > said: HS> Does anyone know if there is a similar exclusion within the SNMP agent HS> itself to prevent community based access to objects in snmpUsmMIB? In HS> other words, can new SNMPv3 users be defined via SNMPv1 or v2c using HS>

USM Users

2011-09-15 Thread Harvey Shepherd
Hi All, I see from the man page for the snmpusm application, that usage is limited to the SNMPv3 protocol (which makes sense): "Manipulating the usmUserTable using this command can only be done using SNMPv3. This command will not work with the community-based versions, even if they have write

Re: Inactive USM users still handle requests

2010-07-20 Thread Dave Shield
On 19 July 2010 13:32, Lewis Adam-VNQM87 wrote: > Okay. Had a quick look at the patches and couldn't see anything. What's > the best way of picking up the official fix? See http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=revision&revision=19225 Dave --

RE: Inactive USM users still handle requests

2010-07-19 Thread Lewis Adam-VNQM87
Robert Story wrote: > It is a bug, and I saw that Wes just got through checking in a fix. Thanks for > prodding us. :-) Okay. Had a quick look at the patches and couldn't see anything. What's the best way of picking up the official fix? Adam. -

Re: Inactive USM users still handle requests

2010-07-16 Thread Robert Story
On Tue, 13 Jul 2010 18:02:42 +0100 Lewis wrote: LAV> looking at usm_process_in_msg() in snmpusm.c [net-snmp-5.5], there does LAV> not seem to be code to specifically reject a request if the associated LAV> user does not have a row status of RS_ACTIVE. The function LAV> usm_check_secLevel() returns

Inactive USM users still handle requests

2010-07-13 Thread Lewis Adam-VNQM87
looking at usm_process_in_msg() in snmpusm.c [net-snmp-5.5], there does not seem to be code to specifically reject a request if the associated user does not have a row status of RS_ACTIVE. The function usm_check_secLevel() returns -1 in this case but the error code is ignored. Is this deliberate or

Re: USM users [now vacmSecurityToGroup] disappearing at reboot

2008-03-07 Thread Rob Garcelon
The usmUser lines are now appearing in the persistent file. It seems to require a SIGHUP signal to the agent in order to get the cached usmUserTable to be written out. Rebooting the system (obviously?) did not give the agent enough time, or maybe the SIGTERM handler does not cause the write a

Re: USM users disappearing at reboot

2008-03-05 Thread Thomas Anders
Rob Garcelon wrote; > I have created USM users with the following commands, invoked on the > local system where the agent is running. I expect them to survive a > reboot, by being written to the persistent/snmpd.conf file. There are > fixed users defined in the regular snmpd.conf

USM users disappearing at reboot

2008-03-04 Thread Rob Garcelon
I have created USM users with the following commands, invoked on the local system where the agent is running. I expect them to survive a reboot, by being written to the persistent/snmpd.conf file. There are fixed users defined in the regular snmpd.conf, to be used as clone targets. snmpusm