summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-13 17:22:37 +0200
committerGünther Deschner <gd@samba.org>2009-11-06 12:43:03 +0100
commit35dcc133c9c26d10186fe59ea096a2a5c87958e6 (patch)
treea1b8a56e808366d2e7529056e4e926539526759f /source3/include
parent0729df3661fefeffc5154c9b01ae027b3ede4b92 (diff)
downloadsamba-35dcc133c9c26d10186fe59ea096a2a5c87958e6.tar.gz
samba-35dcc133c9c26d10186fe59ea096a2a5c87958e6.tar.bz2
samba-35dcc133c9c26d10186fe59ea096a2a5c87958e6.zip
s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF impersonation.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h12
1 files changed, 11 insertions, 1 deletions
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 */