r5084: - handle arbitrary data in the NULL record reply type for nbt name queries
[samba.git] / source / librpc / idl / nbt.idl
index e12ec6290a865c78299b5f7ca170651de9b60d03..429a35267c01bfd171c7538f303721fbb1687151 100644 (file)
@@ -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 {