summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-07-18 09:02:06 -0700
committerMatthieu Patou <mat@samba.org>2014-10-02 12:02:01 +0200
commitc396660f06bae80a652c228895eb7102f7e1658a (patch)
treef07c514d104207482fa6f45c217dbe5568aa1b00 /librpc
parenta5701c298f308908ebd580aa8c1b9a9066296def (diff)
downloadsamba-c396660f06bae80a652c228895eb7102f7e1658a.tar.gz
samba-c396660f06bae80a652c228895eb7102f7e1658a.tar.xz
samba-c396660f06bae80a652c228895eb7102f7e1658a.zip
idl: Add frs blobs for dumping of frs related blobs with ndrdump
Change-Id: I5f8375fee663e452c26f264d73f637beffb1f209 Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/frsblobs.idl31
-rw-r--r--librpc/idl/wscript_build2
-rw-r--r--librpc/wscript_build12
3 files changed, 43 insertions, 2 deletions
diff --git a/librpc/idl/frsblobs.idl b/librpc/idl/frsblobs.idl
new file mode 100644
index 0000000000..e5f0f936ef
--- /dev/null
+++ b/librpc/idl/frsblobs.idl
@@ -0,0 +1,31 @@
+#include "idl_types.h"
+
+import "misc.idl";
+import "security.idl";
+import "frsrpc.idl";
+import "bkupblobs.idl";
+import "fscc.idl";
+/* frs related blobs decoding. Used for debug/dump of FRS related structures */
+
+[
+ pointer_default(unique),
+ helpstring("bkup blobs"),
+ uuid("12345777-1234-abcd-0001-00000004")
+]
+
+interface frsblobs
+{
+
+ void decode_nt_backup_file(
+ [in] bkup_NTBackupFile file
+ );
+
+ void decode_frsrpc_StageHeader(
+ [in] frsrpc_StageHeader header,
+ [in] bkup_NTBackupFile data
+ );
+
+ void decode_FileNetworkOpenInformation(
+ [in] fscc_FileNetworkOpenInformation data
+ );
+}
diff --git a/librpc/idl/wscript_build b/librpc/idl/wscript_build
index 3838b33656..ad6664fbfc 100644
--- a/librpc/idl/wscript_build
+++ b/librpc/idl/wscript_build
@@ -13,7 +13,7 @@ bld.SAMBA_PIDL_LIST('PIDL',
notify.idl
smb2_lease_struct.idl
policyagent.idl scerpc.idl svcctl.idl wkssvc.idl eventlog6.idl backupkey.idl
- fsrvp.idl bkupblobs.idl fscc.idl witness.idl''',
+ fsrvp.idl bkupblobs.idl fscc.idl frsblobs.idl witness.idl''',
options='--header --ndr-parser --samba3-ndr-server --server --client --python',
output_dir='../gen_ndr')
diff --git a/librpc/wscript_build b/librpc/wscript_build
index f39dbf5b62..f598d74363 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -65,6 +65,11 @@ bld.SAMBA_SUBSYSTEM('NDR_FRSRPC',
public_deps='ndr'
)
+bld.SAMBA_SUBSYSTEM('RPC_NDR_FRSRPC',
+ source='gen_ndr/ndr_frsrpc_c.c',
+ public_deps='NDR_FRSRPC'
+ )
+
bld.SAMBA_SUBSYSTEM('NDR_FRSAPI',
source='gen_ndr/ndr_frsapi.c',
public_deps='ndr'
@@ -81,7 +86,7 @@ bld.SAMBA_SUBSYSTEM('NDR_DFSBLOBS',
)
bld.SAMBA_SUBSYSTEM('NDR_BKUPBLOBS',
- source='gen_ndr/ndr_bkupblobs.c',
+ source='ndr/ndr_bkupblobs.c gen_ndr/ndr_bkupblobs.c',
public_deps='ndr'
)
@@ -90,6 +95,11 @@ bld.SAMBA_SUBSYSTEM('NDR_FSCC',
public_deps='ndr'
)
+bld.SAMBA_SUBSYSTEM('NDR_FRSBLOBS',
+ source='gen_ndr/ndr_frsblobs.c',
+ public_deps='ndr'
+ )
+
bld.SAMBA_SUBSYSTEM('NDR_POLICYAGENT',
source='gen_ndr/ndr_policyagent.c',
public_deps='ndr'