summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-10-13 23:43:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:27 -0500
commit9b8e179fcc1fb877e8601bfd242ee1fd615b554c (patch)
tree91541900ac102c371d143b27130c9b2a3d3b3380 /source/include
parent62928734b820f512f940c1ed79048e14b322d060 (diff)
downloadsamba-9b8e179fcc1fb877e8601bfd242ee1fd615b554c.tar.gz
samba-9b8e179fcc1fb877e8601bfd242ee1fd615b554c.tar.xz
samba-9b8e179fcc1fb877e8601bfd242ee1fd615b554c.zip
r19270: Stop depending on internal MIT symbols. These are private on MacOS
x, so we can't get at them even if we wanted to. Kerberos experts, please take a look to make sure I've done the right thing!
Diffstat (limited to 'source/include')
-rw-r--r--source/include/includes.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 0f7b2d86d0a..b695253f12b 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -1105,6 +1105,14 @@ krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context, krb5_auth_con
void krb5_free_unparsed_name(krb5_context ctx, char *val);
#endif
+/* Stub out initialize_krb5_error_table since it is not present in all
+ * Kerberos implementations. If it's not present, it's not necessary to
+ * call it.
+ */
+#ifndef HAVE_INITIALIZE_KRB5_ERROR_TABLE
+#define initialize_krb5_error_table()
+#endif
+
/* Samba wrapper function for krb5 functionality. */
void setup_kaddr( krb5_address *pkaddr, struct sockaddr *paddr);
int create_kerberos_key_from_string(krb5_context context, krb5_principal host_princ, krb5_data *password, krb5_keyblock *key, krb5_enctype enctype);
@@ -1113,7 +1121,6 @@ BOOL get_auth_data_from_tkt(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, krb5_tick
krb5_const_principal get_principal_from_tkt(krb5_ticket *tkt);
krb5_error_code krb5_locate_kdc(krb5_context ctx, const krb5_data *realm, struct sockaddr **addr_pp, int *naddrs, int get_masters);
krb5_error_code get_kerberos_allowed_etypes(krb5_context context, krb5_enctype **enctypes);
-void free_kerberos_etypes(krb5_context context, krb5_enctype *enctypes);
BOOL get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, DATA_BLOB *session_key, BOOL remote);
krb5_error_code smb_krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *kt_entry);
krb5_principal kerberos_fetch_salt_princ_for_host_princ(krb5_context context, krb5_principal host_princ, int enctype);