summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-08-15 08:17:22 +0200
committerVolker Lendecke <vl@samba.org>2017-10-22 17:46:15 +0200
commit0bd5d7bcbeebed9308bedf5c3854be37d9d33f72 (patch)
tree1649c2ea3a1228dc70bdd82a2dff59ebd8032bea
parentabcb98343020d771ce1ae99f034b137fbce0d2b3 (diff)
downloadsamba-0bd5d7bcbeebed9308bedf5c3854be37d9d33f72.tar.gz
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 <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r--librpc/idl/nfs4acl.idl6
-rw-r--r--librpc/idl/wscript_build3
-rw-r--r--source4/librpc/wscript_build1
3 files changed, 3 insertions, 7 deletions
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')
diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index a381a65e3fa..024e17682a6 100644
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -110,7 +110,6 @@ bld.SAMBA_SUBSYSTEM('ndr-table',
NDR_FRSRPC
NDR_FRSAPI
NDR_FRSTRANS
- NDR_NFS4ACL
NDR_NTP_SIGND
NDR_DCOM
NDR_WMI