Re: problem with snmpusm command

"kusuma.bm" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Mike,
you said,


Cloning the user does not clone the VACM settings.  The user "wes" has no authorization to read or write anything. 

I think what u said is correct bcoz i can see in the usmUser table the 
entries for my user "wes" but not in vacm tables.

 Check out the `snmpvacm` command.

So if i use snmpvacm command , i got the below result
snmpvacm -v 3 -u wes -l authNoPriv -a MD5 -A initialpasswd 
172.16.8.145:161 createSec2Group 3 wes-network wesRWGroup
Error in packet.
Reason: authorizationError (access denied to that object)

Please help
regards
kusuma
Mike Ayers wrote:
>> From: kusuma.bm [mailto:[email protected]] 
>> Sent: Wednesday, March 04, 2009 1:08 AM
>>     
>
>   
>> I am running snmpd as the agent on machine 172.10.1.4 , and 
>> snmptrapd as the server on 172.10.1.5
>> Now i am giving the below command from the snmptrapd( ie. 
>> server machine).
>>
>> snmpusm -v3 -u initial -l authNoPriv -a MD5 -A initialpasswd 
>> 172.10.1.4:161 create wes initial
>> User successfully created. ->is my output.
>>
>> now if i try to give the command from snmptrapd
>> snmpwalk -v3 -u wes  -l authNoPriv -a MD5 -A initialpasswd 
>> 172.10.1.4 :161 .1.3.6.1.6.3.15
>> Error in packet.
>> Reason: authorizationError (access denied to that object)  -> 
>> is my output.
>> Accoding to me the above command should work since wes(cloned 
>> user) inherits/retains  the passphrase from 'initial'(existing user).
>>     
>
> 	Cloning the user does not clone the VACM settings.  The user "wes" has no authorization to read or write anything.  Check out the `snmpvacm` command.
>
>
> 	HTH,
>
> Mike
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> 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
>
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

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