freebsd-nq/eBones/include/passwd_server.h
Mark Murray b1ebdd50cb Start the eBones cleanup ball rolling.
These are the start of a lot of work to clean up the FreeBSD eBones code.
these changes include, but are not limited to:
- Create prototypes for all the library routines
- Make all the libraries compile clean with -Wall set
- Fix numerous small bugs shown up in the above process
- Prepare the code for libdes's removal to secure/
- add register, registerd and make_keypair to the make
Lots more will follow in days to come.

OK'ed by: rgrimes
1995-08-25 22:52:32 +00:00

29 lines
757 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 $
* $Id: passwd_server.h,v 1.3 1995/07/18 16:36:43 mark Exp $
*/
#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 */