summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-28 19:47:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:59 -0500
commit71b8fdff85559213f5b880946cc918777c2389cc (patch)
tree30e9c65fa145e19b80e77af904c17318345c6fe3 /source3/include
parent73c8eee9b2f65dc4d97b7aef379f7a087f043d21 (diff)
downloadsamba-71b8fdff85559213f5b880946cc918777c2389cc.tar.gz
samba-71b8fdff85559213f5b880946cc918777c2389cc.tar.bz2
samba-71b8fdff85559213f5b880946cc918777c2389cc.zip
r22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdc
call as smb_krb5_locate_kdc to prevent incorrect linking and crashes on Solaris. Jeremy. (This used to be commit 7d30737c8d851505e81a60443baf9a8c7e523472)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 5b81cfbfab..8bdf9c992f 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1120,7 +1120,10 @@ int create_kerberos_key_from_string(krb5_context context, krb5_principal host_pr
int create_kerberos_key_from_string_direct(krb5_context context, krb5_principal host_princ, krb5_data *password, krb5_keyblock *key, krb5_enctype enctype);
BOOL get_auth_data_from_tkt(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, krb5_ticket *tkt);
krb5_const_principal get_principal_from_tkt(krb5_ticket *tkt);
+krb5_error_code smb_krb5_locate_kdc(krb5_context ctx, const krb5_data *realm, struct sockaddr **addr_pp, int *naddrs, int get_masters);
+#if defined(HAVE_KRB5_LOCATE_KDC)
krb5_error_code krb5_locate_kdc(krb5_context ctx, const krb5_data *realm, struct sockaddr **addr_pp, int *naddrs, int get_masters);
+#endif
krb5_error_code get_kerberos_allowed_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);