nfs4acls: Don't generate an interface table for nfs4acls.idl
authorVolker Lendecke <vl@samba.org>
Tue, 15 Aug 2017 06:17:22 +0000 (08:17 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 22 Oct 2017 15:46:15 +0000 (17:46 +0200)
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>
librpc/idl/nfs4acl.idl
librpc/idl/wscript_build
source4/librpc/wscript_build

index 13a6d131dcf12874e126c590a3b2fb0179fe0751..5a3d0268f21ff4e71704c4dc5808f87faa857fe8 100644 (file)
@@ -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
-               );
 }
index 899708cd5d6665c5796187576ffcb49b17e17600..e19f1a8c1d8e8c8238ab9d879be31b5efc68ae0f 100644 (file)
@@ -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')
 
index a381a65e3fa1c0faad7ce8a28abfac866964adbd..024e17682a64782aefb24e90b24d8825dfcee1bd 100644 (file)
@@ -110,7 +110,6 @@ bld.SAMBA_SUBSYSTEM('ndr-table',
                     NDR_FRSRPC
                     NDR_FRSAPI
                     NDR_FRSTRANS
-                    NDR_NFS4ACL
                     NDR_NTP_SIGND
                     NDR_DCOM
                     NDR_WMI