HI,

First, did you see the email on the specific syntax of net-snmp
commands?

You _CAN_NOT_ change the value of an index. Say, you have an
index column that is called ic1, and it is writable, and there
is an instance (a row) that exists with index value 9.
A set with varbind of (ic1.9, 23) will fail with a badValue.

To change the value of instance of a "name" object in your table,
you must create a new row with the new value and delete the
old row. That is
   get values for all columns of the row
   change value of name
   set values for all columns (creating new row), and in the
     same set request, delete the old row

Alternatively you can create a table with another column used
as an index.

At 06:00 PM 6/25/2004 +0200, Rodolfo Giometti wrote:
>On Thu, Jun 24, 2004 at 11:16:45AM -0700, David T. Perkins wrote:
>> The definition of the index object should have max-access value
>> of "not-accessible".
>
>But in this case how I can change field «name»?
>
>> A set to object office."Rodolfo Giometti" with value "Colognora"
>> should change it, assuming you have authorization to modify
>> values.
>
>I have all kind of authorizations, the problem is that the snmpset
>client doesn't send any requests to the server due a syntax error in
>my commands.
>
>Ciao,
>
>Rodolfo
Regards,
/david t. perkins 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to