mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 17:00:49 +01:00
60643d379b
(Including all changes for FreeBSD - importing the original eBones distribution would be too complex at this stage, since I don't have access to Piero's CVS.) (If you want to include eBones in your system, don't forget to include MAKE_EBONES in /etc/make.conf.) (This stuff is now also suppable from braae.ru.ac.za.) Bones originally from MIT SIPB. Original port to FreeBSD 1.x by Piero Serini. Moved to FreeBSD 2.0 by Doug Rabson and Geoff Rehmet. Nice bug fixes from Doug Rabson.
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/*
|
|
* Copyright 1987, 1988 by the Massachusetts Institute of Technology.
|
|
* For copying and distribution information, please see the file
|
|
* <Copyright.MIT>.
|
|
*
|
|
* Include file for the Kerberos administration server.
|
|
*
|
|
* from: admin_server.h,v 4.7 89/01/11 11:59:42 steiner Exp $
|
|
* $Id: admin_server.h,v 1.2 1994/07/19 19:22:47 g89r4222 Exp $
|
|
*/
|
|
|
|
#ifndef ADMIN_SERVER_DEFS
|
|
#define ADMIN_SERVER_DEFS
|
|
|
|
#define PW_SRV_VERSION 2 /* version number */
|
|
|
|
#define INSTALL_NEW_PW (1<<0) /*
|
|
* ver, cmd, name, password,
|
|
* old_pass, crypt_pass, uid
|
|
*/
|
|
|
|
#define ADMIN_NEW_PW (2<<1) /*
|
|
* ver, cmd, name, passwd,
|
|
* old_pass
|
|
* (grot), crypt_pass (grot)
|
|
*/
|
|
|
|
#define ADMIN_SET_KDC_PASSWORD (3<<1) /* ditto */
|
|
#define ADMIN_ADD_NEW_KEY (4<<1) /* ditto */
|
|
#define ADMIN_ADD_NEW_KEY_ATTR (5<<1) /*
|
|
* ver, cmd, name, passwd,
|
|
* inst, attr (grot)
|
|
*/
|
|
#define INSTALL_REPLY (1<<1) /* ver, cmd, name, password */
|
|
#define RETRY_LIMIT 1
|
|
#define TIME_OUT 30
|
|
#define USER_TIMEOUT 90
|
|
#define MAX_KPW_LEN 40
|
|
|
|
#define KADM "changepw" /* service name */
|
|
|
|
#endif /* ADMIN_SERVER_DEFS */
|