DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T a

⟦817d6b828⟧ TextFile

    Length: 1681 (0x691)
    Types: TextFile
    Names: »auth_tb.c«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/Src/submit/auth_tb.c« 

TextFile

/* auth_tb.c: authorisation tables */

# ifndef lint
static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Src/submit/RCS/auth_tb.c,v 5.0 90/09/20 16:22:41 pp Exp Locker: pp $";
# endif

/*
 * $Header: /cs/research/pp/hubris/pp-beta/Src/submit/RCS/auth_tb.c,v 5.0 90/09/20 16:22:41 pp Exp Locker: pp $
 *
 * $Log:	auth_tb.c,v $
 * Revision 5.0  90/09/20  16:22:41  pp
 * rcsforce : 5.0 public release
 * 
 */



#include        "util.h"
#include	"q.h"
#include	"tb_auth.h"
#include        <isode/cmd_srch.h>




CMD_TABLE authtbl_reasons[] = {
	"unknown error", 				AUR_UNKNOWN,
	"channel policy: none", 			AUR_CH_NONE,
	"channel policy: free",				AUR_CH_FREE,
	"in MTA regex : %s does not include sender",	AUR_IMTA_MISSING_SNDR,
	"in MTA regex : %s excludes sender",		AUR_IMTA_EXCLUDES_SNDR,
	"out MTA regex : %s does not include recip",	AUR_OMTA_MISSING_RECIP,
	"out MTA regex : %s excludes recip",		AUR_OMTA_EXCLUDES_RECIP,
	"msg size %s exceeds channel limit of %s",	AUR_MSGSIZE_FOR_CHAN,
	"msg size %s exceeds mta limit of %s",		AUR_MSGSIZE_FOR_MTA,
	"msg size %s exceeds user limit of %s",		AUR_MSGSIZE_FOR_USR,
	"bad body part : %s (mta restriction)",		AUR_MTA_BPT,
	"bad body part : %s (user restriction)",	AUR_USR_BPT,
	"channel bind failed",				AUR_CHBIND,
	"duplicate recip removed",			AUR_DUPLICATE_REMOVED,
	0,						-1
	};




CMD_TABLE authtbl_loglevel[] = {
	"low", 			AUTH_LOGLEVEL_LOW,
	"medium", 		AUTH_LOGLEVEL_MEDIUM,
	"high", 		AUTH_LOGLEVEL_HIGH,
	0, 			-1
	};



CMD_TABLE authtbl_statmsgs [] = {
	"ok", 			AUTH_OK,
	"failed",		AUTH_FAILED,
	"ok-testfailed",	AUTH_FAILED_TEST,
	"dr_ok",		AUTH_DR_OK,
	"dr_failed",		AUTH_DR_FAILED,
	0, 			-1
	};