Re: snmpvacm createSec2Group fails with inconsistentValue

giuseppe de vito <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thank you very much for the reply.

The problem is that net-snmp-create-v3-user creates the entry rwuser
in snmpd.conf;
I have to use snmpusm instead (I have already tested this way and it works :-))!

Best Regards,
Giuseppe De Vito

2010/8/2 Dave Shield <[email protected]>:
> On 29 July 2010 15:27, giuseppe de vito <[email protected]> wrote:
>> First of all I have created an administrator user... using the command
>>
>> sudo net-snmp-create-v3-user ....
>
>> It creates the user successfully and I have an entry "rwuser" in
>> /usr/local/share/snmp/snmpd.conf
>
> Note that the "rwuser" entry has already configured access for
> the "administrator" user.
>   Try walking the vacmSecurityToGroupTable, and see what
> it contains.   There should be an entry of the form:
>
> SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3."administrator" = STRING: administrator
>
>
>
>
>> sudo snmpvacm -v 3 -u administrator -l authNoPriv -a MD5 -A
>>     auth_password localhost createSec2Group 3 administrator adminGroup
>>
>> This command fails with output:
>>
>> Error in packet.
>> Reason: inconsistentValue (The set value is illegal or unsupported in some way)
>> Failed object: SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.3."administrator"
>
> That's correct.
> The 'snmpvacm' command is attempting to create an entry in the
> vacmSecurityToGroupTable for the SNMPv3 user "administrator".
>  But there is already such an entry, so you can't create another one.
> (A user can only be in one group!)
>
>
>
> You should either configure access via the config file  ("r[wo]user"),
> *or* via "snmpvacm".  Don't try to mix the two.
>
> Dave
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
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.