Re: SNMPv3 support in SNMP trap daemon software

Gaurav Chaturvedi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

Yes I got it. From this error, I think I am not able to create the user
properly. Is it true? If yes, please tell me some way to create an SNMPv3
user.
Using the documentation, I am using the command:

snmpusm -v3 -u initial -n "" -l authNoPriv -a MD5 -A mypassword localhost
create administrator initial

I have entered following enteries in ...\snmp\persist\snmpapp.conf:

rwuser initial
rwuser administrator
createUser initial MD5 mypassword DES

But the command is giving errors:
c:/snmp/snmp/persist/snmpapp.conf: line 17: Warning: Unknown token: rwuser.
c:/snmp/snmp/persist/snmpapp.conf: line 18: Warning: Unknown token: rwuser.
c:/snmp/snmp/persist/snmpapp.conf: line 19: Warning: Unknown token:
createUser.
snmpusm: Timeout (No such file or directory)

Please correct me where I am wrong. I think we are too close.

Thanks
Gaurav

On Tue, Jul 20, 2010 at 6:50 PM, Dave Shield <[email protected]>wrote:

> On 20 July 2010 13:29, Gaurav Chaturvedi <[email protected]>
> wrote:
> > I am debugging my software using the net-snmp library code. I am able to
> > find that there is a parse error in SNMPv3 trap i.e. function
> "snmpv3_parse"
> > returns -43 as failure status.
>
> From <net-snmp/library/snmp_api.h>
>
>    #define SNMPERR_USM_UNKNOWNSECURITYNAME         (-43)
>
>
> Dave
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

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