From 0bd5d7bcbeebed9308bedf5c3854be37d9d33f72 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 15 Aug 2017 08:17:22 +0200 Subject: nfs4acls: Don't generate an interface table for nfs4acls.idl Nobody uses the function nfs4acl_test. It took a while to figure out how to get this to build. The "uuid" line in the idl file triggers pidl to generate the function table entry, which in turn then triggers tables.pl to register this interface ./bin/default/source4/librpc/gen_ndr/tables.c. We could for example do the same with xattr_parse_DOSATTRIB. Nobody uses this. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- librpc/idl/nfs4acl.idl | 6 +----- librpc/idl/wscript_build | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'librpc') diff --git a/librpc/idl/nfs4acl.idl b/librpc/idl/nfs4acl.idl index 13a6d131dcf..5a3d0268f21 100644 --- a/librpc/idl/nfs4acl.idl +++ b/librpc/idl/nfs4acl.idl @@ -7,7 +7,7 @@ import "misc.idl", "security.idl"; -[ uuid("18763978-8625-abc3-54ca-9892bacdf321"), +[ version(1.0), pointer_default(unique) ] @@ -39,8 +39,4 @@ interface nfs4acl_interface uint32 a_other_mask; nfs4ace ace[a_count]; } nfs4acl; - - NTSTATUS nfs4acl_test( - [in] nfs4acl acl - ); } diff --git a/librpc/idl/wscript_build b/librpc/idl/wscript_build index 899708cd5d6..e19f1a8c1d8 100644 --- a/librpc/idl/wscript_build +++ b/librpc/idl/wscript_build @@ -37,12 +37,13 @@ bld.SAMBA_PIDL_LIST('PIDL', printcap.idl fsrvp_state.idl cab.idl + nfs4acl.idl ''', options='--header --ndr-parser', output_dir='../gen_ndr') bld.SAMBA_PIDL_LIST('PIDL', - 'dnsp.idl nfs4acl.idl', + 'dnsp.idl', options='--header --ndr-parser --client --python', output_dir='../gen_ndr') -- cgit v1.2.1