summaryrefslogtreecommitdiff
path: root/source3/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
commit876be25055e0cc6f2c18ddfc377151b2ca68a54f (patch)
treece96a4e4cd7b2b1d644f4647f68e94567d50aec7 /source3/include
parent424d7640b8d3a3e7f464ae429322b943985c11fe (diff)
downloadsamba-876be25055e0cc6f2c18ddfc377151b2ca68a54f.tar.gz
samba-876be25055e0cc6f2c18ddfc377151b2ca68a54f.tar.bz2
samba-876be25055e0cc6f2c18ddfc377151b2ca68a54f.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! (This used to be commit 9b8e179fcc1fb877e8601bfd242ee1fd615b554c)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 0f7b2d86d0..b695253f12 100644
--- a/source3/include/includes.h
+++ b/source3/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);