summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-01-30 20:36:59 +0000
committerJeremy Allison <jra@samba.org>2003-01-30 20:36:59 +0000
commit371f4aca9204f3c093af622ec6c9ea7c5145bf85 (patch)
tree8cb475256015f249a130525fdf208834cfec2aff /source/include
parentd63849db6d02b1a9430072e6e15a67e1c526e5e7 (diff)
downloadsamba-371f4aca9204f3c093af622ec6c9ea7c5145bf85.tar.gz
samba-371f4aca9204f3c093af622ec6c9ea7c5145bf85.tar.xz
samba-371f4aca9204f3c093af622ec6c9ea7c5145bf85.zip
Sync up with 3.0 heimdal.
Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/includes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index a823af59097..988913d16c7 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -1218,8 +1218,16 @@ krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_
krb5_error_code krb5_set_default_tgs_ktypes(krb5_context ctx, const krb5_enctype *enc);
#endif
+#if defined(HAVE_KRB5_AUTH_CON_SETKEY) && !defined(HAVE_KRB5_AUTH_CON_SETUSERUSERKEY)
+krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock);
+#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);
+void get_auth_data_from_tkt(DATA_BLOB *auth_data, krb5_ticket *tkt);
+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);
#endif /* HAVE_KRB5 */