From 7ccd68073ddc02abdd6d8fbfaefef5c42e4e8178 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 7 Apr 2010 22:28:28 +0200 Subject: s3: Fix bug 7327 -- Build fails while building without kerberos libsmb/clikrb5.c has a dummy implementation for the non-kerberos case --- source3/include/krb5_protos.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source3/include/krb5_protos.h') diff --git a/source3/include/krb5_protos.h b/source3/include/krb5_protos.h index 4f8521b167..b65fb17d9c 100644 --- a/source3/include/krb5_protos.h +++ b/source3/include/krb5_protos.h @@ -88,11 +88,6 @@ 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, - 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); @@ -146,3 +141,9 @@ char *smb_krb5_principal_get_realm(krb5_context context, krb5_principal principal); #endif /* HAVE_KRB5 */ +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); + -- cgit