diff options
author | John Kohl <jtkohl@mit.edu> | 1990-02-07 17:41:08 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1990-02-07 17:41:08 +0000 |
commit | 45f9fc314654603e59679ead6e23f0f0a0e03c23 (patch) | |
tree | a62510a670b5d86e71bddd39539cb667470ab0f5 /src/include/krb5/kdb.h | |
parent | c8c052212a78e427e617f08ade1f2c4bfe6504f0 (diff) | |
download | krb5-45f9fc314654603e59679ead6e23f0f0a0e03c23.tar.gz krb5-45f9fc314654603e59679ead6e23f0f0a0e03c23.tar.xz krb5-45f9fc314654603e59679ead6e23f0f0a0e03c23.zip |
add KRB5_KDC_MKEY_1, KRB5_KDC_MKEY_2, krb5_mkey_pwd_prompt1, krb5_mkey_pwd_prompt2
fix proto for krb5_db_free_principal
add proto for krb5_db_fetch_mkey
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@304 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5/kdb.h')
-rw-r--r-- | src/include/krb5/kdb.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/include/krb5/kdb.h b/src/include/krb5/kdb.h index 7403285213..5fa365da94 100644 --- a/src/include/krb5/kdb.h +++ b/src/include/krb5/kdb.h @@ -39,6 +39,14 @@ typedef struct _krb5_db_entry { /* XXX depends on knowledge of krb5_parse_name() formats */ #define KRB5_KDB_M_NAME "K/M" /* Kerberos/Master */ +/* prompts used by default when reading the KDC password from the keyboard. */ +#define KRB5_KDC_MKEY_1 "Enter KDC database master key:" +#define KRB5_KDC_MKEY_2 "Re-enter KDC database master key to verify:" + +extern char *krb5_mkey_pwd_prompt1; +extern char *krb5_mkey_pwd_prompt2; + + /* libkdb.spec */ krb5_error_code krb5_db_set_name PROTOTYPE((char * )); @@ -62,12 +70,11 @@ krb5_error_code krb5_db_get_principal krb5_db_entry *, int *, krb5_boolean * )); -krb5_error_code krb5_db_free_principal +void krb5_db_free_principal PROTOTYPE((krb5_db_entry *, int )); krb5_error_code krb5_db_put_principal PROTOTYPE((krb5_db_entry *, - int , int * )); krb5_error_code krb5_db_iterate PROTOTYPE((krb5_error_code (* ) PROTOTYPE((krb5_pointer, @@ -75,5 +82,8 @@ krb5_error_code krb5_db_iterate krb5_pointer )); krb5_error_code krb5_db_verify_master_key PROTOTYPE((krb5_principal, krb5_keyblock *, krb5_encrypt_block *)); +krb5_error_code krb5_db_fetch_mkey + PROTOTYPE((krb5_principal, krb5_encrypt_block *, krb5_boolean, + krb5_keyblock * )); #endif /* __KRB5_KDB5__ */ |