From 35dcc133c9c26d10186fe59ea096a2a5c87958e6 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 13 Oct 2008 17:22:37 +0200 Subject: s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF impersonation. Guenther --- source3/include/includes.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/includes.h b/source3/include/includes.h index 796a729d6a..559bc3dc18 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1075,7 +1075,17 @@ int smb_krb5_kt_add_entry_ext(krb5_context context, krb5_data password, bool no_salt, bool keep_old_entries); - +krb5_error_code smb_krb5_get_credentials(krb5_context context, + krb5_ccache ccache, + krb5_principal me, + krb5_principal server, + krb5_principal impersonate_princ, + krb5_creds **out_creds); +krb5_error_code smb_krb5_get_creds(const char *server_s, + time_t time_offset, + const char *cc, + const char *impersonate_princ_s, + krb5_creds **creds_p); #endif /* HAVE_KRB5 */ -- cgit