Re: Sample code to change passwords

2020-05-05 Thread David Yo
Hi, I ran into the same problem recently and came up with a workaround. When a session is closed, I remove the usm user from the user list, preventing it from messing up my further modifications. The code is as follows: void close_session(netsnmp_session *session) { // NOTE: remove cached us

Sample code to change passwords

2016-06-30 Thread Thomas Andrews
Hi, I'm looking for some sample C code for an SNMP client to change it's password (using SNMP). I use AuthNoPriv with SNMPv3. The client has no shell access to the machine running snmpd, so it needs to be done securely over the wire. My application currently uses NetSnmp libraries to do lots