From 613acb284f1d1bbd49991607a80d5f6f4f0324a0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 16 Feb 2007 16:02:30 +0000 Subject: r21392: - decode the salt utf16 string into a unix string - fix parsing of Primary:Kerberos blob metze (This used to be commit c6fa95ef2263774901c8871396b4eec5b7409c5e) --- source4/librpc/idl/drsblobs.idl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/drsblobs.idl b/source4/librpc/idl/drsblobs.idl index 3389308b2c..eddb49d0b1 100644 --- a/source4/librpc/idl/drsblobs.idl +++ b/source4/librpc/idl/drsblobs.idl @@ -255,9 +255,9 @@ interface drsblobs { ); typedef struct { - [value((string?string->length:0))] uint16 length; - [value((string?string->length:0))] uint16 size; - [relative,subcontext(0),subcontext_size(size),flag(NDR_REMAINING)] DATA_BLOB *string; + [value(2*strlen_m(string))] uint16 length; + [value(2*strlen_m(string))] uint16 size; + [relative,subcontext(0),subcontext_size(size),flag(STR_NOTERM|NDR_REMAINING)] string *string; } package_PrimaryKerberosString; typedef struct { @@ -277,7 +277,8 @@ interface drsblobs { uint32 unknown2; package_PrimaryKerberosKey keys1[num_keys1]; package_PrimaryKerberosKey keys2[num_keys2]; - udlong unknown3[4]; + udlong unknown3_1[num_keys1]; + udlong unknown3_2[num_keys2]; } package_PrimaryKerberosBlob; void decode_PrimaryKerberos( -- cgit