From dfbd1752a1e8d3d8f40ee1986558be1ae3a2bc74 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 29 Mar 2005 13:07:20 +0000 Subject: r6115: don't try to decompress level 7 buffers yet metze (This used to be commit bbc0f6c5525b03deb9374fd96cb22cff4d3fb2e1) --- source4/librpc/idl/drsuapi.idl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl index 1b81dd6297..c11c5f5e0d 100644 --- a/source4/librpc/idl/drsuapi.idl +++ b/source4/librpc/idl/drsuapi.idl @@ -500,10 +500,16 @@ interface drsuapi typedef struct { uint32 decompressed_length; uint32 compressed_length; - [subcontext(4),compression(NDR_COMPRESSION_ZLIB,compressed_length,decompressed_length),flag(NDR_REMAINING)] DATA_BLOB *decompressed; - /*[subcontext(4),compression(NDR_COMPRESSION_ZLIB,compressed_length,decompressed_length)] drsuapi_DsGetNCChangesCtr1 *ctr1;*/ + [subcontext(4),subcontext_size(r->compressed_length),compression(NDR_COMPRESSION_ZLIB,compressed_length,decompressed_length),flag(NDR_REMAINING)] DATA_BLOB *decompressed; + /*[subcontext(4),subcontext_size(r->compressed_length),compression(NDR_COMPRESSION_ZLIB,compressed_length,decompressed_length)] drsuapi_DsGetNCChangesCtr1 *ctr1;*/ } drsuapi_DsGetNCChangesCompressedInfo; + typedef struct { + uint32 decompressed_length; + uint32 compressed_length; + [subcontext(4),subcontext_size(r->compressed_length),flag(NDR_REMAINING)] DATA_BLOB *decompressed; + } drsuapi_DsGetNCChangesCompressedInfo_Test; + typedef struct { drsuapi_DsGetNCChangesCompressedInfo info; } drsuapi_DsGetNCChangesCtr2; @@ -531,7 +537,7 @@ interface drsuapi typedef struct { uint32 unknown1; uint16 unknown2; /* enum */ - drsuapi_DsGetNCChangesCompressedInfo info; + drsuapi_DsGetNCChangesCompressedInfo_Test info; } drsuapi_DsGetNCChangesCtr7; typedef [switch_type(int32)] union { -- cgit