summaryrefslogtreecommitdiff
path: root/source4/torture/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-07-05 06:13:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:13 -0500
commita33178fc72cce0ec439ada961829100a07e33e10 (patch)
treeea47cc3cf94d13f5b5c389b01e5933ad16214619 /source4/torture/auth
parent1451c67ff37f321bf380b02f532dcf45f2dbc4d6 (diff)
downloadsamba-a33178fc72cce0ec439ada961829100a07e33e10.tar.gz
samba-a33178fc72cce0ec439ada961829100a07e33e10.tar.bz2
samba-a33178fc72cce0ec439ada961829100a07e33e10.zip
r8156: I found out that the unknown[2] field of the unknown[4] array is a length too,
it's always 16 bytes smaller than the size in the PAC_BUFFER we now dump the blob's on LOCAL-PAC with -d 10 metze (This used to be commit 4ef721ce53539ac56ca8ac4d601f512149ca7283)
Diffstat (limited to 'source4/torture/auth')
-rw-r--r--source4/torture/auth/pac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c
index ebf876c651..ecf67a9014 100644
--- a/source4/torture/auth/pac.c
+++ b/source4/torture/auth/pac.c
@@ -119,7 +119,7 @@ static BOOL torture_pac_self_check(void)
return False;
}
- /* dump_data(0,tmp_blob.data,tmp_blob.length); */
+ dump_data(10,tmp_blob.data,tmp_blob.length);
/* Now check that we can read it back */
nt_status = kerberos_decode_pac(mem_ctx, &pac_info,
@@ -230,7 +230,7 @@ static BOOL torture_pac_saved_check(void)
/*tmp_blob.data = file_load(lp_parm_string(-1,"torture","pac_file"), &tmp_blob.length);*/
- /*dump_data(0,tmp_blob.data,tmp_blob.length);*/
+ dump_data(10,tmp_blob.data,tmp_blob.length);
/* Decode and verify the signaure on the PAC */
nt_status = kerberos_decode_pac(mem_ctx, &pac_info,
@@ -263,7 +263,7 @@ static BOOL torture_pac_saved_check(void)
return False;
}
- /* dump_data(0,validate_blob.data,validate_blob.length); */
+ dump_data(10,validate_blob.data,validate_blob.length);
/* all we can check is the length of the buffers,
* to check that the alignment and padding is ok,