summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos/kerberos_util.c
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_util.c
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_util.c')
-rw-r--r--source4/auth/kerberos/kerberos_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index 9cef977306..9a48e95c6d 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -408,6 +408,7 @@ krb5_error_code principal_from_credentials(TALLOC_CTX *parent_ctx,
princ, password,
impersonate_principal,
self_service,
+ target_service,
krb_options,
NULL, &kdc_time);
} else if (impersonate_principal) {