summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-04-16 16:57:01 +0000
committerJim McDonough <jmcd@samba.org>2003-04-16 16:57:01 +0000
commitbdaac40746567bdadae1150412cdf307b6e8672d (patch)
tree1eb145a0c0288f8e4f5e2e621e9102a660691b08 /source3/libads
parent09a50497d1360659eb8bd1b9f4be510680267bd2 (diff)
downloadsamba-bdaac40746567bdadae1150412cdf307b6e8672d.tar.gz
samba-bdaac40746567bdadae1150412cdf307b6e8672d.tar.bz2
samba-bdaac40746567bdadae1150412cdf307b6e8672d.zip
Move PAC decoding over from HEAD.
(This used to be commit b0fd4e5555dd93c584cd86eaac080663b9e4031f)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos_verify.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c
index 4d9a1bf765..6a50137400 100644
--- a/source3/libads/kerberos_verify.c
+++ b/source3/libads/kerberos_verify.c
@@ -148,6 +148,12 @@ NTSTATUS ads_verify_ticket(ADS_STRUCT *ads, const DATA_BLOB *ticket,
get_auth_data_from_tkt(auth_data, tkt);
+ {
+ TALLOC_CTX *ctx = talloc_init("pac data");
+ decode_pac_data(auth_data, ctx);
+ talloc_destroy(ctx);
+ }
+
#if 0
if (tkt->enc_part2) {
file_save("/tmp/authdata.dat",