Re: Problem with ownership of agent persistent stores in v5.2.2

2005-12-01 Thread Robert Story
On Thu, 01 Dec 2005 09:38:25 -0500 [EMAIL PROTECTED] wrote: CRC> > I also found CRC> > http://sourceforge.net/mailarchive/message.php?msg_id=9550619 which CRC> > describes a patch I'd made to read_config.c in v5.1.1. I'd suggest something more akin to the agentXperms token, so set actual permissio

Re: Problem with ownership of agent persistent stores in v5.2.2

2005-12-01 Thread cnelson
> ... > The agentgroup has been processed, but that only 'remembers' the > value. It isn't used until later, and unfortunately 'later' is > after it has done the initial persistent store save, which is > why you see the current behavior. You could try patching snmpd.c > to move the groupid chan

Re: snprint_value

2005-12-01 Thread Haizhu Liu
Could you please explain - reuse the response pdu to create a new pdu? My code is organized like this: My function A() is a member function of a class, when it is called, it is passed in an OID of an table. Inside function A(), I declared two local variable: struct snmp_pdu *pdu; struct snmp_

Re: Probelem in snmpwalk operation

2005-12-01 Thread Robert Story
On Thu, 1 Dec 2005 09:50:37 +0530 (IST) [EMAIL PROTECTED] wrote: DCI> - It is happening with my own Tables. I don't use smidump generated code, so I don't know how well I'll be able to help. But what does the code do at the end of the table? It should do nothing, and return no errors, which the a

Problem with ownership of agent persistent stores in v5.2.2

2005-12-01 Thread cnelson
(I started this on the -users list but it seems more appropriate here now.) > > In http://sourceforge.net/mailarchive/message.php?msg_id=9547341 > > I asked how to set ownership of persistent files. I must have > > gotten an answer (or figured it out) because my v5.1.1-based > > system has bee

Re: rfc: maintaining the 'dist' dir

2005-12-01 Thread Andy Smith
Thomas Anders wrote: [...] 3) Keep 'dist' in CVS *only* and do *not* ship it in the source distribution at all. [...] Comments? Votes? I know that I am weighing in a little late as it appears action is being taken, but this is my vote. I am not sure why the dist directory is even shipped