Sample code to change passwords

Thomas Andrews <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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 of things, 
but the user account has always been set manually on the command-line.

I've (briefly) looked at the source of snmpusm.c but it's over 4000 
lines long, and all rather confusing..

There is a  description of what is required in the USM MIB 
<http://www.net-snmp.org/docs/mibs/snmpUsmMIB.html> but it's above my 
head - I need a concrete example...

Can anyone help please?

Many thanks,
Thomas

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape

_______________________________________________
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
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.