1994-09-30 14:50:09 +00:00
|
|
|
/*
|
1995-05-30 06:41:30 +00:00
|
|
|
* Copyright 1987, 1988 by the Massachusetts Institute of Technology.
|
1994-09-30 14:50:09 +00:00
|
|
|
* For copying and distribution information, please see the file
|
1995-05-30 06:41:30 +00:00
|
|
|
* <Copyright.MIT>.
|
1994-09-30 14:50:09 +00:00
|
|
|
*
|
1995-05-30 06:41:30 +00:00
|
|
|
* Include file for the Kerberos Key Distribution Center.
|
1994-09-30 14:50:09 +00:00
|
|
|
*
|
|
|
|
* from: kdc.h,v 4.1 89/01/24 17:54:04 jon Exp $
|
1995-08-25 22:52:32 +00:00
|
|
|
* $Id: kdc.h,v 1.3 1995/07/18 16:36:29 mark Exp $
|
1994-09-30 14:50:09 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef KDC_DEFS
|
|
|
|
#define KDC_DEFS
|
|
|
|
|
|
|
|
#define S_AD_SZ sizeof(struct sockaddr_in)
|
|
|
|
|
|
|
|
#define max(a,b) (a>b ? a : b)
|
|
|
|
#define min(a,b) (a<b ? a : b)
|
|
|
|
|
|
|
|
#define TRUE 1
|
|
|
|
#define FALSE 0
|
|
|
|
|
|
|
|
#define MKEYFILE "/etc/kerberosIV/master_key"
|
|
|
|
#define K_LOGFIL "/var/log/kpropd.log"
|
|
|
|
#define KS_LOGFIL "/var/log/kerberos_slave.log"
|
|
|
|
#define KRB_ACL "/etc/kerberosIV/kerberos.acl"
|
|
|
|
#define KRB_PROG "./kerberos"
|
|
|
|
|
|
|
|
#define ONE_MINUTE 60
|
|
|
|
#define FIVE_MINUTES (5 * ONE_MINUTE)
|
|
|
|
#define ONE_HOUR (60 * ONE_MINUTE)
|
|
|
|
#define ONE_DAY (24 * ONE_HOUR)
|
|
|
|
#define THREE_DAYS (3 * ONE_DAY)
|
|
|
|
|
|
|
|
#endif /* KDC_DEFS */
|
|
|
|
|