From 2c0a1f53910a6be9515e4f456426a73a9aa72308 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 29 Jan 2005 03:17:14 +0000 Subject: r5084: - handle arbitrary data in the NULL record reply type for nbt name queries - fixed unaligned pulls at the end of the packet in the ndr lib (This used to be commit 61c43509f7a538541d87bd505ca241e08a50f605) --- source4/librpc/idl/nbt.idl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/librpc/idl/nbt.idl') diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl index e12ec6290a..429a35267c 100644 --- a/source4/librpc/idl/nbt.idl +++ b/source4/librpc/idl/nbt.idl @@ -142,13 +142,13 @@ interface nbt } nbt_rdata_status; typedef struct { - nbt_operation operation; - } nbt_rdata_wack; + [flag(NDR_REMAINING)] DATA_BLOB data; + } nbt_rdata_data; typedef [nodiscriminant] union { [case(NBT_QTYPE_NETBIOS)] nbt_rdata_netbios netbios; [case(NBT_QTYPE_STATUS)] nbt_rdata_status status; - [case(NBT_QTYPE_NULL)] nbt_rdata_wack wack; + [default] nbt_rdata_data data; } nbt_rdata; typedef [flag(LIBNDR_PRINT_ARRAY_HEX)] struct { -- cgit