From 38a5a2c5c59029889d6c7c6dc80ab087956ca651 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 25 Apr 2012 17:29:09 -0400 Subject: Move kerberos_kinit_keyblock_cc to krb5samba lib Make it also work with MIT where krb5_get_in_tkt_with_keyblock is not available. --- lib/krb5_wrap/krb5_samba.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/krb5_wrap/krb5_samba.h') diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index 6a0f9dc2fd..771c43de44 100644 --- a/lib/krb5_wrap/krb5_samba.h +++ b/lib/krb5_wrap/krb5_samba.h @@ -198,6 +198,13 @@ krb5_error_code smb_krb5_get_creds(const char *server_s, const char *cc, const char *impersonate_princ_s, krb5_creds **creds_p); +krb5_error_code kerberos_kinit_keyblock_cc(krb5_context ctx, krb5_ccache cc, + krb5_principal principal, + krb5_keyblock *keyblock, + const char *target_service, + krb5_get_init_creds_opt *krb_options, + time_t *expire_time, + time_t *kdc_time); char *smb_krb5_principal_get_realm(krb5_context context, krb5_principal principal); -- cgit