diff options
Diffstat (limited to 'net-fs/samba/files/3.5/samba-3.5.6-kerberos-dummy.patch')
-rw-r--r-- | net-fs/samba/files/3.5/samba-3.5.6-kerberos-dummy.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-fs/samba/files/3.5/samba-3.5.6-kerberos-dummy.patch b/net-fs/samba/files/3.5/samba-3.5.6-kerberos-dummy.patch new file mode 100644 index 000000000000..ef76afff7ef6 --- /dev/null +++ b/net-fs/samba/files/3.5/samba-3.5.6-kerberos-dummy.patch @@ -0,0 +1,30 @@ +diff -NrU5 samba-3.5.6.original/source3/include/krb5_protos.h samba-3.5.6/source3/include/krb5_protos.h +--- samba-3.5.6.original/source3/include/krb5_protos.h 2010-10-07 10:41:16.000000000 -0600 ++++ samba-3.5.6/source3/include/krb5_protos.h 2010-12-23 11:01:09.000000000 -0600 +@@ -86,15 +86,10 @@ + const char *name, + krb5_principal *principal); + 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); + krb5_error_code smb_krb5_free_addresses(krb5_context context, smb_krb5_addresses *addr); + NTSTATUS krb5_to_nt_status(krb5_error_code kerberos_error); +@@ -144,5 +139,10 @@ + krb5_creds **creds_p); + 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); |