summaryrefslogtreecommitdiff
path: root/source3/include/krb5_protos.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-20 12:05:27 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-20 04:31:07 +0200
commitf28f5db15a4bcf4c838ee6e4c6ef82c6b9dbd938 (patch)
treec1f44a3613f01021cfa41be9e9cd44889b5241cb /source3/include/krb5_protos.h
parent0e5482c791b9d99a44ca62323aa4dedbbf8d188e (diff)
downloadsamba-f28f5db15a4bcf4c838ee6e4c6ef82c6b9dbd938.tar.gz
samba-f28f5db15a4bcf4c838ee6e4c6ef82c6b9dbd938.tar.bz2
samba-f28f5db15a4bcf4c838ee6e4c6ef82c6b9dbd938.zip
libcli/auth Move PAC parsing and verification in common.
This uses the source3 PAC code (originally from Samba4) with some small changes to restore functionality needed by the torture tests, and to have a common API. Andrew Bartlett
Diffstat (limited to 'source3/include/krb5_protos.h')
-rw-r--r--source3/include/krb5_protos.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/include/krb5_protos.h b/source3/include/krb5_protos.h
index 530122b79e..d80e77d2eb 100644
--- a/source3/include/krb5_protos.h
+++ b/source3/include/krb5_protos.h
@@ -58,21 +58,6 @@ krb5_principal kerberos_fetch_salt_princ_for_host_princ(krb5_context context, kr
void kerberos_set_creds_enctype(krb5_creds *pcreds, int enctype);
bool kerberos_compatible_enctypes(krb5_context context, krb5_enctype enctype1, krb5_enctype enctype2);
void kerberos_free_data_contents(krb5_context context, krb5_data *pdata);
-NTSTATUS decode_pac_data(TALLOC_CTX *mem_ctx,
- DATA_BLOB *pac_data_blob,
- krb5_context context,
- krb5_keyblock *service_keyblock,
- krb5_const_principal client_principal,
- time_t tgs_authtime,
- struct PAC_DATA **pac_data_out);
-void smb_krb5_checksum_from_pac_sig(krb5_checksum *cksum,
- struct PAC_SIGNATURE_DATA *sig);
-krb5_error_code smb_krb5_verify_checksum(krb5_context context,
- const krb5_keyblock *keyblock,
- krb5_keyusage usage,
- krb5_checksum *cksum,
- uint8 *data,
- size_t length);
time_t get_authtime_from_tkt(krb5_ticket *tkt);
krb5_error_code smb_krb5_get_keyinfo_from_ap_req(krb5_context context,
const krb5_data *inbuf,