summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-13 17:29:22 +0200
committerGünther Deschner <gd@samba.org>2009-11-06 13:31:17 +0100
commit60bf0eb60788a5d4dc5de24997c5efda64f2bd73 (patch)
treea2143d72bc4dbac43d8476a4b3c0ab0a78af3309 /source3/include/includes.h
parent6ca8a40976f86f66713ba9a7b957f97a1c271016 (diff)
downloadsamba-60bf0eb60788a5d4dc5de24997c5efda64f2bd73.tar.gz
s3-kerberos: modify cli_krb5_get_ticket to take a new impersonate_princ_s arg.
Guenther
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 559bc3dc184..4ffad61c07a 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1035,8 +1035,11 @@ krb5_error_code smb_krb5_parse_name_norealm(krb5_context context,
bool smb_krb5_principal_compare_any_realm(krb5_context context,
krb5_const_principal princ1,
krb5_const_principal princ2);
-int cli_krb5_get_ticket(const char *principal, time_t time_offset,
- DATA_BLOB *ticket, DATA_BLOB *session_key_krb5, uint32 extra_ap_opts, const char *ccname, time_t *tgs_expire);
+int cli_krb5_get_ticket(const char *principal, time_t time_offset,
+ DATA_BLOB *ticket, DATA_BLOB *session_key_krb5,
+ uint32 extra_ap_opts, const char *ccname,
+ time_t *tgs_expire,
+ const char *impersonate_princ_s);
krb5_error_code smb_krb5_renew_ticket(const char *ccache_string, const char *client_string, const char *service_string, time_t *expire_time);
krb5_error_code kpasswd_err_to_krb5_err(krb5_error_code res_code);
krb5_error_code smb_krb5_gen_netbios_krb5_address(smb_krb5_addresses **kerb_addr);