summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos/kerberos.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-06-20 20:28:44 +0200
committerStefan Metzmacher <metze@samba.org>2011-06-22 17:02:49 +0200
commitb9e095fdfb684005f9bb5c1d943b2a0705308500 (patch)
tree00dd4f826098964a55094be50d8a9aea5eb13b91 /source4/auth/kerberos/kerberos.h
parentd4c30a5ffbeab75506bf1ad5d8d5da48e3f4d41c (diff)
downloadsamba-b9e095fdfb684005f9bb5c1d943b2a0705308500.tar.gz
samba-b9e095fdfb684005f9bb5c1d943b2a0705308500.tar.bz2
samba-b9e095fdfb684005f9bb5c1d943b2a0705308500.zip
s4:auth/kerberos: add S4U2Proxy support to kerberos_kinit_password_cc()
For S4U2Proxy we need to use the ticket from the S4U2Self stage and ask the kdc for the delegated ticket for the target service. metze
Diffstat (limited to 'source4/auth/kerberos/kerberos.h')
-rw-r--r--source4/auth/kerberos/kerberos.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos.h b/source4/auth/kerberos/kerberos.h
index c712569e5d..31794b8e03 100644
--- a/source4/auth/kerberos/kerberos.h
+++ b/source4/auth/kerberos/kerberos.h
@@ -97,7 +97,9 @@ krb5_error_code ads_krb5_mk_req(krb5_context context,
bool get_auth_data_from_tkt(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, krb5_ticket *tkt);
krb5_error_code kerberos_kinit_password_cc(krb5_context ctx, krb5_ccache cc,
krb5_principal principal, const char *password,
- krb5_principal impersonate_principal, const char *target_service,
+ krb5_principal impersonate_principal,
+ const char *self_service,
+ const char *target_service,
krb5_get_init_creds_opt *krb_options,
time_t *expire_time, time_t *kdc_time);
krb5_error_code kerberos_kinit_keyblock_cc(krb5_context ctx, krb5_ccache cc,