From 2a5ccaf5a2456e8cfc3f774df307386404bfbec3 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 27 Oct 2009 14:24:01 +0000 Subject: Heimdal DB bridge plugin for KDC back end Merge Luke's users/lhoward/heimmig branch to trunk. Implements a KDC back-end plugin which interfaces to a Heimdal HDB plugin. ticket: 6578 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23073 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/kdb_ext.h | 3 +++ src/include/krb5/authdata_plugin.h | 1 + 2 files changed, 4 insertions(+) (limited to 'src/include') diff --git a/src/include/kdb_ext.h b/src/include/kdb_ext.h index f51d46500..ce2de9b1b 100644 --- a/src/include/kdb_ext.h +++ b/src/include/kdb_ext.h @@ -98,6 +98,7 @@ typedef struct _kdb_sign_auth_data_req { krb5_timestamp authtime; /* Authtime of TGT */ krb5_authdata **auth_data; /* Authorization data from TGT */ krb5_keyblock *session_key; /* Reply session key */ + krb5_keyblock *krbtgt_key; /* Key used to decrypt TGT, valid for TGS-REQ only */ } kdb_sign_auth_data_req; typedef struct _kdb_sign_auth_data_rep { @@ -123,6 +124,7 @@ typedef struct _kdb_check_policy_as_req { typedef struct _kdb_check_policy_as_rep { krb5_magic magic; const char *status; + krb5_data e_data; } kdb_check_policy_as_rep; typedef struct _kdb_check_policy_tgs_req { @@ -135,6 +137,7 @@ typedef struct _kdb_check_policy_tgs_req { typedef struct _kdb_check_policy_tgs_rep { krb5_magic magic; const char *status; + krb5_data e_data; } kdb_check_policy_tgs_rep; typedef struct _kdb_audit_as_req { diff --git a/src/include/krb5/authdata_plugin.h b/src/include/krb5/authdata_plugin.h index a5c3e5355..471f01c05 100644 --- a/src/include/krb5/authdata_plugin.h +++ b/src/include/krb5/authdata_plugin.h @@ -152,6 +152,7 @@ typedef struct krb5plugin_authdata_server_ftable_v2 { struct _krb5_db_entry_new *tgs, krb5_keyblock *client_key, krb5_keyblock *server_key, + krb5_keyblock *tgs_key, krb5_data *req_pkt, krb5_kdc_req *request, krb5_const_principal for_user_princ, -- cgit