netlogon.idl: fix the marshalling of netr_OsVersion for NDR64
authorStefan Metzmacher <metze@samba.org>
Thu, 15 Aug 2019 11:22:43 +0000 (13:22 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 20 Sep 2019 01:14:43 +0000 (01:14 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
librpc/idl/netlogon.idl

index 0f9bda8af81242b76ca357b3ff7d308702cb8175..e6fda421ea59e822671a128f2b7569da06d45424 100644 (file)
@@ -1347,9 +1347,10 @@ interface netlogon
                   actually encodes this structure as a UNICODE_STRING
                   - see MS-NRPC section 2.2.1.3.9 */
                /* 142 * 2 = 284 (length of structure "netr_OsVersionInfoEx") */
-               [value(142)] uint32 length;
-               [value(0)] uint32 dummy;
-               [value(142)] uint32 size;
+               [value(142)] uint3264 length;
+               [value(0)] uint3264 dummy;
+               [value(142)] uint3264 size;
+               [subcontext(0),subcontext_size(size*2)]
                netr_OsVersionInfoEx os;
        } netr_OsVersion;