+Mon Aug 07 11:22:57 1995 Chris Provenzano (proven@mit.edu)
+
+ * kdb.h : Add prototypes for krb5_dbe_{en,de}code_last_pwd_change(),
+ krb5_dbe_{apw,cpw,ark,crk}(),
+
Fri Aug 4 16:10:34 EDT 1995 Paul Park (pjpark@mit.edu)
* adm_proto.h - Add prototype definitions for new libkadm functions in
keysalt.c dealing with key/salt tuples.
* kdb.h - Add encode/decode macros for integers for use between kdb
modules.
-
Thu Aug 03 12:19:52 1995 Chris Provenzano (proven@mit.edu)
* kdb.h : Added prototype for krb5_dbe_cpw() the new dd entry
#define KRB5_KDB_MAGIC_NUMBER 0xdbdbdbdb
#define KRB5_KDB_V1_BASE_LENGTH 42
-struct tl_data_1 {
+typedef struct tl_data_1 {
krb5_timestamp last_pwd_change; /* Last time passwd changed */
-};
+} krb5_tl_last_change;
#define KRB5_TL_LAST_PWD_CHANGE 0x0001
KRB5_PROTOTYPE((krb5_context,
krb5_db_entry *,
krb5_tl_mod_princ **));
+krb5_error_code krb5_dbe_encode_last_pwd_change
+ KRB5_PROTOTYPE((krb5_context,
+ krb5_tl_last_change *,
+ krb5_db_entry *));
+krb5_error_code krb5_dbe_decode_last_pwd_change
+ KRB5_PROTOTYPE((krb5_context,
+ krb5_db_entry *,
+ krb5_tl_last_change *));
int krb5_encode_princ_dbmkey
KRB5_PROTOTYPE((krb5_context,
datum *,
krb5_error_code krb5_dbe_cpw
KRB5_PROTOTYPE((krb5_context,
krb5_encrypt_block *,
- krb5_db_entry *,
struct __krb5_key_salt_tuple *,
int,
- char *));
+ char *,
+ krb5_db_entry *));
+krb5_error_code krb5_dbe_apw
+ KRB5_PROTOTYPE((krb5_context,
+ krb5_encrypt_block *,
+ struct __krb5_key_salt_tuple *,
+ int,
+ char *,
+ krb5_db_entry *));
+krb5_error_code krb5_dbe_crk
+ KRB5_PROTOTYPE((krb5_context,
+ krb5_encrypt_block *,
+ struct __krb5_key_salt_tuple *,
+ int,
+ krb5_db_entry *));
+krb5_error_code krb5_dbe_ark
+ KRB5_PROTOTYPE((krb5_context,
+ krb5_encrypt_block *,
+ struct __krb5_key_salt_tuple *,
+ int,
+ krb5_db_entry *));
#define KRB5_KDB_DEF_FLAGS 0