Problem Deleting snmpv3 User
Madhusudhana R <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <DB4PR06MB521B46EEF4C9B0051388E34B0A20@DB4PR06MB521.eurprd06.prod.outlook.com> |
Hi Coders, I am facing an issue when deleting a SNMP v3 user. I have modified snmp agent in such a way that both snmptrapd and snmpd are running as a single agent where snmptrapd will continuously send traps for testing purpose. I have created an snmpv3 user as below. rwuser User1 createUser User1 MD5 "passwordMD5" On the go, I deleted this user using usm_remove_user() API that removes the user node from the list and frees it. Later I created a trap user dynamically (Coded to add users dynamically using SNMP APIs) with same user name. But without 'rw' permission. (no permission was given neither 'ro') Now the newly created trapuser with same username is sending traps from agent perfectly. But unfortunately this trapuser has rw permission and I can do GET and SET requests on customized mib objects from this user. Ideally, apart from sending traps, this trapuser should not support GET and SET as no permission was given. Can you please comment on this ? Appreciate any valid response. Thanks. Regards, Madhu ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders