summaryrefslogtreecommitdiff
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
commit2a3c62b74789ebb53218094b3153f4b766338291 (patch)
tree2c7cb38af3091730d3ebe3a929e22da9397dc0e1
parent13e5145b1aea0f5cdcb2eefbcc09c5a5ff6b2f6f (diff)
downloadsamba-2a3c62b74789ebb53218094b3153f4b766338291.tar.gz
samba-2a3c62b74789ebb53218094b3153f4b766338291.tar.bz2
samba-2a3c62b74789ebb53218094b3153f4b766338291.zip
Sync up with 3.0 heimdal.
Jeremy. (This used to be commit 371f4aca9204f3c093af622ec6c9ea7c5145bf85)
-rw-r--r--source3/include/includes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index a823af5909..988913d16c 100644
--- a/source3/include/includes.h
+++ b/source3/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 */