From 5558349b3ef97f6e4822276d5a5c36c082d1431c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 6 Jun 2006 14:52:33 +0000 Subject: [PATCH] Add krb5_get_creds_opt_data and some more KRB5_GC flags. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17613 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index 9e1cb5645..2a6f1173b 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -72,6 +72,9 @@ typedef const void *krb5_const_pointer; struct krb5_crypto_data; typedef struct krb5_crypto_data *krb5_crypto; +struct krb5_get_creds_opt_data; +typedef struct krb5_get_creds_opt_data *krb5_get_creds_opt; + typedef CKSUMTYPE krb5_cksumtype; typedef Checksum krb5_checksum; @@ -203,8 +206,10 @@ typedef enum krb5_key_usage { /* Encryption of the SAM-TRACK-ID field */ KRB5_KU_PA_SERVER_REFERRAL = 26, /* Keyusage for the server referral in a TGS req */ - KRB5_KU_SAM_ENC_NONCE_SAD = 27 + KRB5_KU_SAM_ENC_NONCE_SAD = 27, /* Encryption of the SAM-NONCE-OR-SAD field */ + KRB5_KU_TGS_IMPERSONATE = -17 + /* Checksum type used in the impersonate field */ } krb5_key_usage; typedef krb5_key_usage krb5_keyusage; @@ -339,6 +344,8 @@ typedef union { #define KRB5_GC_CACHED (1U << 0) #define KRB5_GC_USER_USER (1U << 1) #define KRB5_GC_EXPIRED_OK (1U << 2) +#define KRB5_GC_NO_STORE (1U << 3) +#define KRB5_GC_FORWARDABLE (1U << 4) /* constants for compare_creds (and cc_retrieve_cred) */ #define KRB5_TC_DONT_MATCH_REALM (1U << 31)