diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-07 22:28:28 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-07 22:31:09 +0200 |
commit | 7ccd68073ddc02abdd6d8fbfaefef5c42e4e8178 (patch) | |
tree | ffd14bb53d7a9f8c3962c0b93267194a0152d612 /source3 | |
parent | 2cf3585e52807eedfe80bffcd56fd6df4eec467b (diff) | |
download | samba-7ccd68073ddc02abdd6d8fbfaefef5c42e4e8178.tar.gz samba-7ccd68073ddc02abdd6d8fbfaefef5c42e4e8178.tar.bz2 samba-7ccd68073ddc02abdd6d8fbfaefef5c42e4e8178.zip |
s3: Fix bug 7327 -- Build fails while building without kerberos
libsmb/clikrb5.c has a dummy implementation for the non-kerberos case
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/krb5_protos.h | 11 |
1 files changed, 6 insertions, 5 deletions
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); + |