diff options
Diffstat (limited to 'server/zsrv_conf.h')
-rw-r--r-- | server/zsrv_conf.h | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/server/zsrv_conf.h b/server/zsrv_conf.h index cb81883..2440d1d 100644 --- a/server/zsrv_conf.h +++ b/server/zsrv_conf.h @@ -16,32 +16,22 @@ #define __ZSRV_CONF_H__ #include <zephyr/mit-copyright.h> -/* Magic path names */ -#ifndef HESIOD -#define SERVER_LIST_FILE "/etc/athena/zephyr/server.list" -#endif +/* Path names are relative to CONFDIR, except for the class registry. */ -/* ACL's for pre-registered classes */ -/* Directory containing acls and other info */ -#ifndef ZEPHYR_ACL_DIR -#define ZEPHYR_ACL_DIR "/etc/athena/zephyr/acl/" +#ifndef ZEPHYR_USES_HESIOD +#define SERVER_LIST_FILE "server.list" +#endif +#define REALM_LIST_FILE "realm.list" +#ifdef ZEPHYR_USES_KERBEROS +#define ZEPHYR_SRVTAB "srvtab" +#define ZEPHYR_TKFILE "ztkts" #endif -/* name of the class registry */ +#define ZEPHYR_ACL_DIR "acl/" #define ZEPHYR_CLASS_REGISTRY "class-registry.acl" +#define DEFAULT_SUBS_FILE "default.subscriptions" -#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 */ +#define REXMIT_TIMES { 2, 2, 4, 4, 8, 8, 16, 32, 64, 128, 256, 512, -1 } +#define NUM_REXMIT_TIMES 12 /* hostmanager defines */ #define LOSE_TIMO (60) /* time during which a losing host @@ -56,4 +46,8 @@ 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__ */ |