freebsd_amp_hwpstate/eBones/kprop/kprop.h

56 lines
1.8 KiB
C

/*
* Copyright 1987 by the Massachusetts Institute of Technology.
*
* For copying and distribution information,
* please see the file <mit-copyright.h>.
*
* $Revision: 1.1.1.1 $
* $Date: 1995/08/03 07:36:18 $
* $State: Exp $
* $Source: /usr/cvs/src/eBones/kprop/kprop.h,v $
* $Author: mark $
* $Locker: $
*
* $Log: kprop.h,v $
* Revision 1.1.1.1 1995/08/03 07:36:18 mark
* Import an updated revision of the MIT kprop program for distributing
* kerberos databases to slave servers.
*
* NOTE: This method was abandoned by MIT long ago, this code is close to
* garbage, but it is slightly more secure than using rdist.
* There is no documentation available on how to use it, and
* it should -not- be built by default.
*
* Obtained from: MIT Project Athena
*
* Revision 1.1.1.1 1995/08/02 22:11:44 pst
* Import an updated revision of the MIT kprop program for distributing
* kerberos databases to slave servers.
*
* NOTE: This method was abandoned by MIT long ago, this code is close to
* garbage, but it is slightly more secure than using rdist.
* There is no documentation available on how to use it, and
* it should -not- be built by default.
*
* Obtained from: MIT Project Athena
*
* Revision 4.1 92/10/23 15:45:13 tytso
* Change the location of KPROP_KDBUTIL to be /kerberos/bin/kdb_util.
*
* Revision 4.0 89/01/24 18:44:46 wesommer
* Original version; programmer: wesommer
* auditor: jon
*
*/
#define KPROP_SERVICE_NAME "rcmd"
#define KPROP_SRVTAB "/etc/kerberosIV/srvtab"
#define TGT_SERVICE_NAME "krbtgt"
#define KPROP_PROT_VERSION_LEN 8
#define KPROP_PROT_VERSION "kprop01"
#define KPROP_TRANSFER_PRIVATE 1
#define KPROP_TRANSFER_SAFE 2
#define KPROP_TRANSFER_CLEAR 3
#define KPROP_BUFSIZ 32768
#define KPROP_KDB_UTIL "/usr/sbin/kdb_util"