summaryrefslogtreecommitdiff
path: root/lib/krb5_wrap/krb5_samba.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-05-03 17:10:27 +0200
committerSimo Sorce <idra@samba.org>2012-05-08 08:30:51 +0200
commite8e5afd4d4038043f1125c5e2afc41e9e87ebfde (patch)
treeeb58ee594314d0f0b6beb716f59e1b66e07675f6 /lib/krb5_wrap/krb5_samba.h
parent7f9e4d70b9a2db7400791fbfef284dd63e79f078 (diff)
downloadsamba-e8e5afd4d4038043f1125c5e2afc41e9e87ebfde.tar.gz
samba-e8e5afd4d4038043f1125c5e2afc41e9e87ebfde.tar.bz2
samba-e8e5afd4d4038043f1125c5e2afc41e9e87ebfde.zip
krb5samba: Add smb_krb5_make_pac_checksum.
Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue May 8 08:30:52 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/krb5_wrap/krb5_samba.h')
-rw-r--r--lib/krb5_wrap/krb5_samba.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h
index a164ea34a8..15da39c037 100644
--- a/lib/krb5_wrap/krb5_samba.h
+++ b/lib/krb5_wrap/krb5_samba.h
@@ -259,6 +259,13 @@ void smb_krb5_free_checksum_contents(krb5_context ctx, krb5_checksum *cksum);
#error krb5_free_checksum_contents/free_Checksum is not vailable
#endif
+krb5_error_code smb_krb5_make_pac_checksum(TALLOC_CTX *mem_ctx,
+ DATA_BLOB *pac_data,
+ krb5_context context,
+ const krb5_keyblock *keyblock,
+ uint32_t *sig_type,
+ DATA_BLOB *sig_blob);
+
char *smb_krb5_principal_get_realm(krb5_context context,
krb5_principal principal);