diff options
author | Jeremy Allison <jra@samba.org> | 2003-01-30 20:36:44 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-01-30 20:36:44 +0000 |
commit | 59222d70e2b71bff5e97df0b37c4c76b202931fc (patch) | |
tree | c7e36204cb14fa361b8d3366903bdb087f921d30 /source3/include | |
parent | 32bfb31947af7f0a98ce58b317c79d979a753327 (diff) | |
download | samba-59222d70e2b71bff5e97df0b37c4c76b202931fc.tar.gz samba-59222d70e2b71bff5e97df0b37c4c76b202931fc.tar.bz2 samba-59222d70e2b71bff5e97df0b37c4c76b202931fc.zip |
Re-added the Heimdal stuff tpot removed.
Jeremy.
(This used to be commit e79dc0dade1ab1c9f8b3af5c01248bda70cfd582)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 23d6d1c457..d48103cbe3 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1214,8 +1214,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 */ |