On Mon, 2005-05-23 at 21:02, Wes Hardaker wrote:
> >>>>> On Mon, 23 May 2005 10:26:58 +0200, Stage Iup - Fabrice & Fr�d�ric
> >>>>> <[EMAIL PROTECTED]> said:
>
> Stage> I use net-snmp 5.2.1, i have created a snmpv3 user with :
> Stage> net-snmp-config --create-snmpv3-user -ro -x mypassword -X DES
> Stage> -A MD5 myuser
>
> It looks like you're missing a -a flag in that command line?
>
> Why don't you just try 'net-snmp-config --create-snmpv3-user' and
> follow the prompts.
>
> Stage> and when I want to send this request at the agent : snmpget -v
> Stage> 3 -u myuser -l authPriv -a MD5 -A mypassword -x DES -X
> Stage> mypassword localhost sysUpTime.0 i have the following error :
> Stage> snmpget: Decryption error
>
> That is odd. If it's not the -a flag, I'd suggest starting over and
> make sure all your passwords match exactly.
Wes,
is there any reason why the command options used for specifying
the pass phrase and the algorithm (for both authentication and privacy)
are the opposite way round with "net-snmp-config --create-snmpv3-user"
than they are in the command-line tools?
Normally, -a/-x specify the algorithm and -A/-X the pass phrase.
But when creating a user, -A/-X specify the algorithm and -a/-x
the pass phrase.
Is it too late to do anything about fixing this?
Dave
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders