summaryrefslogtreecommitdiff
path: root/server/zsrv_conf.h.auth
blob: 605713003f554f412cd598f19035f450376d7cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/* This file is part of the Project Athena Zephyr Notification System.
 * It contains site-specific definitions for use in the server.
 *
 *	Created by:	John T. Kohl
 *
 *	$Source$
 *	$Author$
 *	$Header$
 *
 *	Copyright (c) 1988 by the Massachusetts Institute of Technology.
 *	For copying and distribution information, see the file
 *	"mit-copyright.h". 
 */

#ifndef __ZSRV_CONF_H__
#define	__ZSRV_CONF_H__
#include <zephyr/mit-copyright.h>

/* Magic path names */
#ifndef HESIOD
#define SERVER_LIST_FILE	"/etc/athena/zephyr/server.list"
#endif

/* ACL's for pre-registered classes */
/* Directory containing acls and other info */
#ifndef ZEPHYR_ACL_DIR
#define	ZEPHYR_ACL_DIR		"/etc/athena/zephyr/acl/"
#endif
/* name of the class registry */
#define	ZEPHYR_CLASS_REGISTRY	"class-registry.acl"

#ifdef KERBEROS
/* name of file to hold the tickets for keys to exchange with other servers */
#define	ZEPHYR_TKFILE		"/etc/athena/zephyr/ztkts"

/* The pathname of the Kerberos srvtab file is defined in zephyr_conf.h. */
#endif /* KERBEROS */

/* default subscription file */
#define	DEFAULT_SUBS_FILE	"/etc/athena/zephyr/default.subscriptions"

/* client defines */
#define	REXMIT_SECS	((long) 20)	/* rexmit delay on normal notices */
#define	NUM_REXMITS	(9)		/* number of rexmits */

/* hostmanager defines */
#define	LOSE_TIMO	(60)		/* time during which a losing host
					   must respond to a ping */

/* server-server defines */
#define	TIMO_UP		((long) 60)	/* timeout between up and tardy */
#define	TIMO_TARDY	((long) 120)	/* timeout btw tardy hellos */
#define	TIMO_DEAD	((long)(15*60))	/* timeout between hello's for dead */

#define	H_NUM_TARDY	5		/* num hello's before going dead
					   when tardy */
#define	H_NUM_STARTING	2		/* num hello's before going dead
					   when starting */

#define SWEEP_INTERVAL	3600		/* Time between sweeps of the ticket
					   hash table */

#endif /* __ZSRV_CONF_H__ */