snmpv3 new user!

Masoud Yaghobi masoud.yaghobi____erm.ericsson.se
Thu Nov 30 15:59:45 CET 2000


Hi Johan!
thanks for updated version of v3_mib.cpp file.

please read my attach file....

Thanks
/Masoud

Jochen Katz wrote:

> Hi,
>
> > everything is ok when I send request v1/v2c, not v3!!..
> > The problem is that I couldn't create any new user in usmUserTable in
> > proxy-agent++.
> > I tried with set commands, even with adding code to snmp.cpp, but it
> > doesn't seems to work.
>
> yes, there was a bug that prevented the activation of a new row in the
> usmUserTable. I'm sending you the updated version of v3_mib.cpp in a
> separate mail.
>
> Best regards,
>   Jochen
-------------- next part --------------


Hi Johan!

even with that I couldn't create a new user!...I don't know what do I do wrong.
I try to create a v3 new user with authentication as follow: 

CreateAndWait:
snmpset -v3 -p 4700 -l authNoPriv -u MD5 -a MD5 -A MD5UserAuthPassword localhost 
snmpModules.15.1.2.2.1.13.24.48.48.48.48.48.48.54.51.48.48.48.48.48.48.65.49.57.54.56.52.48.55.57.67.6.75.104.97.108.105.102 
i 5
  
Clone from MD5 user:      
snmpset -v3 -p 4700 -l authNoPriv -u MD5 -a MD5 -A MD5UserAuthPassword localhost 
snmpModules.15.1.2.2.1.4.24.48.48.48.48.48.48.54.51.48.48.48.48.48.48.65.49.57.54.56.52.48.55.57.67.6.75.104.97.108.105.102 
o .1.3.6.1.6.3.15.1.2.2.1.3.12.128.0.19.112.5.115.117.110.50.54.18.92.3.77.68.53

setting authentication protocol (usmHMACMD5AuthProtocol):
snmpset -v3 -p 4700 -l authNoPriv -u MD5 -a MD5 -A MD5UserAuthPassword localhost 
snmpModules.15.1.2.2.1.5.24.48.48.48.48.48.48.54.51.48.48.48.48.48.48.65.49.57.54.56.52.48.55.57.67.6.75.104.97.108.105.102 
o .1.3.6.1.6.3.10.1.1.2

setting AuthKeyChange:(new password)
snmpset -v3 -p 4700 -l authNoPriv -u MD5 -a MD5 -A MD5UserAuthPassword localhost 
snmpModules.15.1.2.2.1.6.24.48.48.48.48.48.48.54.51.48.48.48.48.48.48.65.49.57.54.56.52.48.55.57.67.6.75.104.97.108.105.102 
s khalifmasoudtest

setting the public (is this nessessery?):
snmpset -v3 -p 4700 -l authNoPriv -u MD5 -a MD5 -A MD5UserAuthPassword localhost 
snmpModules.15.1.2.2.1.11.24.48.48.48.48.48.48.54.51.48.48.48.48.48.48.65.49.57.54.56.52.48.55.57.67.6.75.104.97.108.105.102 
s randomValue2

Activate the row:
snmpset -v3 -p 4700 -l authNoPriv -u MD5 -a MD5 -A MD5UserAuthPassword localhost 
snmpModules.15.1.2.2.1.13.24.48.48.48.48.48.48.54.51.48.48.48.48.48.48.65.49.57.54.56.52.48.55.57.67.6.75.104.97.108.105.102 
i 1


as you see the new user has the distance engineID , I clone row MD5 which already exist and is active...everything 
seems ok, even new row become active but the big problem is , it doesnt accept my 
AuthPassword(khalifmasoudtest), but if I  double the length av password then it is accepted!!why??I have the same 
user in Masteragent with same password!!
something else which is worth to mention is , you can activate the row of new user in any way you want!! dosn't 
matter if you have all the values or not !(should it be like that!!).

thanks a lot
/Masoud
-------------- next part --------------
A non-text attachment was scrubbed...
Name: masoud.yaghobi.vcf
Type: text/x-vcard
Size: 229 bytes
Desc: Card for Masoud Yaghobi 
Url : http://lists.agentpp.org/pipermail/agentpp/attachments/20001130/b9ae54a0/attachment.bin 


More information about the AGENTPP mailing list