From b5dc54883bbc4f72e20e29f71b844a7403139c5e Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 1 Nov 2007 08:00:36 +0100 Subject: r25773: update frsrpc.idl and add some more comments (This used to be commit ae20e2b30390ea5aa42110e1a3528a30595f0430) --- source4/librpc/idl/frsrpc.idl | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/frsrpc.idl b/source4/librpc/idl/frsrpc.idl index f680214ffb..404d567ddf 100644 --- a/source4/librpc/idl/frsrpc.idl +++ b/source4/librpc/idl/frsrpc.idl @@ -13,6 +13,24 @@ interface frsrpc { /*****************/ /* Function 0x00 */ + + /* TAG:3 this TLV contains a GUID and the name of the server sending + * the call + */ + typedef struct { + [subcontext(4)] GUID unknown1; + [subcontext(4)] nstring source_server; + } frsrpc_FrsSendCommPktChunkDataSSRV; + + /* TAG:4 this TLV contains a GUID and the name of the destination + * server the PDU is sent to + */ + typedef struct { + [subcontext(4)] GUID unknown1; + [subcontext(4)] nstring dest_server; + } frsrpc_FrsSendCommPktChunkDataDSRV; + + typedef struct { uint32 unknown1; } frsrpc_FrsSendCommPktChunkDataA; @@ -36,8 +54,8 @@ interface frsrpc [default,flag(NDR_REMAINING)] DATA_BLOB blob; [case(1)] frsrpc_FrsSendCommPktChunkDataA A; [case(2)] frsrpc_FrsSendCommPktChunkDataA A; - [case(3)] frsrpc_FrsSendCommPktChunkDataB B; - [case(4)] frsrpc_FrsSendCommPktChunkDataB B; + [case(3)] frsrpc_FrsSendCommPktChunkDataSSRV SSRV; + [case(4)] frsrpc_FrsSendCommPktChunkDataDSRV DSRV; [case(5)] frsrpc_FrsSendCommPktChunkDataB B; [case(8)] frsrpc_FrsSendCommPktChunkDataB B; [case(6)] frsrpc_FrsSendCommPktChunkDataC C; @@ -73,10 +91,10 @@ interface frsrpc uint32 unknown8; uint32 unknown9; /* - * the format of this blob is this: - * - * some of the folloeing chunks are concatenated: + * The format of this blob is this a concatenation + * of TLVs which are not really NDR encoded. * + * The individual TLVs are encoded as : * struct { * uint16 type; * [subcontext(4),switch_is(type)] chunk_data data; @@ -89,6 +107,12 @@ interface frsrpc * struct GUID guid; * lstring string; * } ...; + * + * + * The tags are (might be) : + * 3: Source server sending the PDU + * 4: Destination server the PDU is sent to + * */ [subcontext(4)/*,size_is(tlv_size)*/] frsrpc_FrsSendCommPktChunkCtr *chunks; uint32 unknown10; -- cgit