Hi Dave,
 I noticed another issue with vacmViewTreeFamilyTable. If I create an entry in this 
table with the request 
-----------------------------------------------------------------------------------------
$ snmpset -v2c -c public 127.0.0.1 vacmViewTreeFamilyMask.11.115.117.98.111.100
.104.107.117.109.97.114.1.1 x 0xff vacmViewTreeFamilyStatus.11.115.117.98.111.1
00.104.107.117.109.97.114.1.1 i 4
SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyMask."subodhkumar".1.1 = Hex-STRING:
FF
SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."subodhkumar".1.1 = INTEGER: c
reateAndGo(4)
-------------------------------------------------------------------------------------------

then on performing a get request on shorter OID .ie

$ snmpget -v2c -c private 127.0.0.1 vacmViewTreeFamilyMask.11.115.117.98.111.10
0.104.107.117.109.97.114.1
SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyMask."subodhkumar".1 = Hex-STRING: FF

i do get a response (notice that the vacmViewTreeFamilySubtree value given in the Oid 
is .1 istead of .1.1), which i think is wrong.

I did some debugging into the code and observed the function vacm_getViewEntry() is 
returning a valid node pointer even in the failure case. Seems this issue is related 
to the previous one.

regards
Subodh

----- Original Message -----
From: "subodh kumar" <[EMAIL PROTECTED]>
To: "Dave Shield" <[EMAIL PROTECTED]>
Subject: Re: Issue with row addition in vacmViewTreeFamilyTable
Date: Wed, 13 Oct 2004 21:03:05 +0500

> 
> Hi Dave,
>  i performed the SNMP set operation from the command line. The trace of the 2 
> commands are attached below. (there was no entry in this table earlier)
> -------------------------------------------------------------------------------------
> $ snmpset -v2c -c public 127.0.0.1  vacmViewTreeFamilyStatus.3.97.97.97.5.1.3.1
> .2.5 i 4  vacmViewTreeFamilyType.3.97.97.97.5.1.3.1.2.5 i 2
> SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."aaa".5.1.3.1.2.5 = INTEGER: c
> reateAndGo(4)
> SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyType."aaa".5.1.3.1.2.5 = INTEGER: exc
> luded(2)
> 
> 
> $ snmpset -v2c -c public 127.0.0.1  vacmViewTreeFamilyStatus.3.97.97.97.5.1.3.1
> .2.6 i 4  vacmViewTreeFamilyType.3.97.97.97.5.1.3.1.2.6 i 2
> Error in packet.
> Reason: inconsistentValue (The set value is illegal or unsupported in some way)
> Failed object: SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."aaa".5.1.3.1.2
> .6
> ------------------------------------------------------------------------------------------------
> 
> but then i tried adding another row with same vacmViewTreeFamilyViewName but this 
> time the OID value was .1.3.1 it was successful.
> 
> ------------------------------------------------------------------------------------------------
> $ snmpset -v2c -c public 127.0.0.1  vacmViewTreeFamilyStatus.3.97.97.97.3.1.3.1
>  i 4  vacmViewTreeFamilyType.3.97.97.97.3.1.3.1 i 2
> SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."aaa".3.1.3.1 = INTEGER: creat
> eAndGo(4)
> SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyType."aaa".3.1.3.1 = INTEGER: exclude
> d(2)
> --------------------------------------------------------------------------------------------------
> 
> Hope this would help.
> 
> regards
> Subodh
> 
> 
> 
> ----- Original Message -----
> From: Dave Shield <[EMAIL PROTECTED]>
> To: "subodh kumar" <[EMAIL PROTECTED]>
> Subject: Re: Issue with row addition in vacmViewTreeFamilyTable 
> Date: Wed, 13 Oct 2004 13:32:18 +0100
> 
> > 
> > 
> > >   I am facing an issue with addition of rows in vacmViewTreeFamilyTable
> > > (Release 5.1.1). I tried to add [two] rows in this table with....
> > > same vacmViewTreeFamilyViewName but [diferent] ...familySubtree values
> > >    ..... For adding second row, i get an error.
> > 
> > 
> > >  Is there anything else to be done? 
> > 
> > No - that should have worked.
> > It sounds like a bug in the agent.
> > 
> > Have you tried with the latest releases (5.1.2 and/or 5.2.pre2)?
> > How exactly are you creating these two rows?
> > 
> > Dave
> > 
> > 
> 
> 
> 
> Luv & Regards
> SUBODH
> ---------------------------------------
> The difficult we do immediately.....
> The impossible takes a little longer.
> --------------------------------------- 
>  
> 
> 
> -- 
> _______________________________________________
> Find what you are looking for with the Lycos Yellow Pages
> http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Net-snmp-coders mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
> 
> 



Luv & Regards
SUBODH
---------------------------------------
The difficult we do immediately.....
The impossible takes a little longer.
--------------------------------------- 
 


-- 
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to