Here is more debug data. I added few print statements to see the flow in
the master code.

The flow which i was able to trace.

1. handle_set function is called.
2. handle_var_requests function is called.
3. default case is called 
4. netsnmp_check_requests_status is called. In this function i am
printing the status i.e requests->status which is 17
(SNMP_ERR_NOTWRITABLE)

Am i doing anything wrong in the code which is responsible for the above
error.

On Fri, 2005-06-10 at 21:25, Robert Story wrote:
> On Fri, 10 Jun 2005 15:59:53 +0100 Dave wrote:
> DS> On Fri, 2005-06-10 at 15:55, Robert Story wrote:
> DS> > On 10 Jun 2005 19:26:22 +0530 Sasikumar wrote:
> DS> > SB>      When i was testing the set i noticed that in the function
> DS> > SB> netsnmp_check_requests_status() requests->status is set as
> DS> > SB> SNMP_ERR_NOTWRITABLE before calling MODE_SET_RESERVE1 can nay one
> DS> > SB> tell me why this is happening. Is it am i doing anything wrong.
> DS> > 
> DS> > Sounds like access control. How is your access control set up?
> DS> 
> DS> I know a lot of problems often come down to access control, but
> DS> I'm not convinced it's the case this time.  If the access control
> DS> entries don't allow write access to a particular area of the tree,
> DS> surely those handlers just won't be called at all?
> 
> True. I suppose I was thinking about a get-next call, where vacm is done
> afterwards. For a set, it should be done first.
> 
> So, I guess he's left with tracing through the code to see exactly where the
> error is set, and why.



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
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

Reply via email to