Re: parse usmUser line

2007-02-15 Thread Wes Hardaker
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes: DS> On 09/02/07, Fong Tsui <[EMAIL PROTECTED]> wrote: >> If I configure snmp in a machine and want to transfer all snmpd >> configuration, including v1/v2 access and also v3 users, etc. to other >> machine, how can I do that if localized key ca

Re: parse usmUser line

2007-02-10 Thread Thomas Anders
Dave Shield wrote: > On 09/02/07, Fong Tsui <[EMAIL PROTECTED]> wrote: >> If I configure snmp in a machine and want to transfer all snmpd >> configuration, including v1/v2 access and also v3 users, etc. to other >> machine, how can I do that if localized key cannot be re-used on >> another machine

Re: parse usmUser line

2007-02-09 Thread Dave Shield
On 09/02/07, Fong Tsui <[EMAIL PROTECTED]> wrote: > If I configure snmp in a machine and want to transfer all snmpd > configuration, including v1/v2 access and also v3 users, etc. to other > machine, how can I do that if localized key cannot be re-used on > another machine and also no way to get or

RE: parse usmUser line

2007-02-09 Thread Fong Tsui
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Friday, February 09, 2007 1:03 AM DS>There is no way to reverse this, and go from a localised key to the original pass phrase. And that localised key cannot be re-used on another syst

Re: parse usmUser line

2007-02-09 Thread Dave Shield
On 09/02/07, Fong Tsui <[EMAIL PROTECTED]> wrote: > Is there a way to get auth passphrase and private passphrase from > usmUser line in the persistent snmpd.conf? No. The agent does not work with the passphrases themselves. Instead it converts them into "localised keys", and this is what is saved

parse usmUser line

2007-02-08 Thread Fong Tsui
Hi, Is there a way to get auth passphrase and private passphrase from usmUser line in the persistent snmpd.conf? I want to use perl to do it. I assume: auth passphrase is 0xfefa802d7734f26a4e42ff1b17140684 and private passphrase is 0xfefa802d7734f26 in the following line. usmUser 1 3 0x87e5