1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
29 lines
709 B
C
29 lines
709 B
C
/*
|
|
* Copyright 1987, 1988 by the Massachusetts Institute of Technology.
|
|
* For copying and distribution information, please see the file
|
|
* <Copyright.MIT>.
|
|
*
|
|
* Include file for password server
|
|
*
|
|
* from: passwd_server.h,v 4.6 89/01/11 15:12:22 steiner Exp $
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
#ifndef PASSWD_SERVER_DEFS
|
|
#define PASSWD_SERVER_DEFS
|
|
|
|
#define PW_SRV_VERSION 2 /* version number */
|
|
#define RETRY_LIMIT 1
|
|
#define TIME_OUT 30
|
|
#define USER_TIMEOUT 90
|
|
#define MAX_KPW_LEN 40 /* hey, seems like a good number */
|
|
|
|
#define INSTALL_NEW_PW (1<<0) /*
|
|
* ver, cmd, name, password, old_pass,
|
|
* crypt_pass, uid
|
|
*/
|
|
|
|
#define INSTALL_REPLY (1<<1) /* ver, cmd, name, password */
|
|
|
|
#endif /* PASSWD_SERVER_DEFS */
|