drsuapi.idl: directly use mszip in level 2
authorStefan Metzmacher <metze@samba.org>
Thu, 7 Aug 2008 16:15:26 +0000 (16:15 +0000)
committerStefan Metzmacher <metze@samba.org>
Thu, 7 Aug 2008 16:44:49 +0000 (18:44 +0200)
This fixes the push because the switch_level doesn't work
otherwise because the pointer is the same as for
the outer switch_level.

metze

source/librpc/idl/drsuapi.idl

index c19da4fa19aa852c8f44f314ae618b94112bed8d..88d2126d0bb0db842429a6f3debf6f2c98bf2e7c 100644 (file)
@@ -662,13 +662,7 @@ interface drsuapi
        } drsuapi_DsGetNCChangesCompressedCtr;
 
        typedef struct {
-               /* 
-                * this is a bit ugly, as the compression depends on the flags
-                * in the DsBind(), but only w2k uses DsGetNCChangesReq5
-                * and will get DsGetNCChangesCtr2 replies, and w2k only knowns
-                * about MSZIP and level 1 replies
-                */
-               [switch_is(1|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] drsuapi_DsGetNCChangesCompressedCtr ctr;
+               drsuapi_DsGetNCChangesMSZIPCtr1 mszip1;
        } drsuapi_DsGetNCChangesCtr2;
 
        typedef struct {