summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/kdc/kadb.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/kdc/kadb.h')
-rw-r--r--crypto/heimdal/kdc/kadb.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/crypto/heimdal/kdc/kadb.h b/crypto/heimdal/kdc/kadb.h
index e85dbe2..5c98ccc 100644
--- a/crypto/heimdal/kdc/kadb.h
+++ b/crypto/heimdal/kdc/kadb.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998 Kungliga Tekniska Högskolan
+ * Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*/
-/* $Id: kadb.h,v 1.2 1999/12/02 17:04:59 joda Exp $ */
+/* $Id: kadb.h,v 1.3 2000/03/03 12:36:26 assar Exp $ */
#ifndef __kadb_h__
#define __kadb_h__
@@ -56,7 +56,7 @@ struct ka_header {
struct ka_entry {
int32_t flags; /* see below */
int32_t next; /* next in hash list */
- int32_t pw_end; /* expiration date */
+ int32_t valid_end; /* expiration date */
int32_t mod_time; /* time last modified */
int32_t mod_ptr; /* pointer to modifier */
int32_t pw_change; /* last pw change */
@@ -66,6 +66,10 @@ struct ka_entry {
char name[64];
char instance[64];
char key[8];
+ u_char pw_expire; /* # days before password expires */
+ u_char spare;
+ u_char attempts;
+ u_char locktime;
};
#define KAFNORMAL (1<<0)
@@ -75,4 +79,6 @@ struct ka_entry {
#define KAFNOCPW (1<<6) /* ! allow principal to change its own key */
#define KAFSPECIAL (1<<8) /* set if special AuthServer principal */
+#define DEFAULT_DATABASE "/usr/afs/db/kaserver.DB0"
+
#endif /* __kadb_h__ */
OpenPOWER on IntegriCloud