Urgent - Unknown user name

"Pachiappan D" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I have written an API to add a snmpv3 user.( Like net-snmp-config )
Before starting the agent,my API appends the two lines in appropriate files
as below,

createUser admin MD5 "intelinside" DES - /var/net-snmp/snmpd.conf
rwuser admin - /usr/local/share/snmp/snmpd.conf
##################### Code #######################
fprintf(fp,"createUser admin MD5 \"intelinside\" DES\n");
 fprintf(fp,"rwuser admin\n");
#################################################
After appending the above,agent starts and running.
But snmpd is not reading the user details as i am getting " Unknown User
name " for snmpget.
If i check the usmUserTable,it has no entries.

Can anyone help me?

its,
Pachi

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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