On Thu, 11 Dec 2003, Rob Siemborski wrote: > On Thu, 11 Dec 2003, Alain Williams wrote: > > > Tweak master.c (version 1.82), starting line 138, insert: > > #include <tcpd.h> > > > > int allow_severity = LOG_DEBUG; > > int deny_severity = LOG_ERR; > > I'm unclear why you needed to do this, since master doesn't link > tcpwrappers, only the cyrus services do. >
This is needed for ucd-snmpd 4.2.6 compiled with tcpwrappers and possibly a few earlier revisions. It has tcpwrapper support in agentx. Index: master.c =================================================================== RCS file: /cvs/src/cyrus/master/master.c,v retrieving revision 1.85 diff -u -r1.85 master.c --- master.c 22 Oct 2003 18:50:14 -0000 1.85 +++ master.c 11 Dec 2003 22:18:51 -0000 @@ -39,7 +39,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: master.c,v 1.85 2003/10/22 18:50:14 rjs3 Exp $ */ +/* $Id: master.c,v 1.67.4.26 2003/10/17 20:37:42 rjs3 Exp $ */ #include <config.h> @@ -91,6 +91,10 @@ #include <ucd-snmp/ucd-snmp-agent-includes.h> #include "cyrusMasterMIB.h" + +int allow_severity = LOG_DEBUG; +int deny_severity = LOG_ERR; + #endif #include "masterconf.h" > Could you expand on what errors you were getting, and what commands were > causing them? > > Also, writing documentation is great. Either post what you did to the > wiki or send us patches for the documentation we distributed. > > -Rob > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 > Research Systems Programmer * /usr/contributed Gatekeeper > > -- Igor