s3-net: Added net rpc conf delincludes command to net rpc conf
authorVicentiu Ciorbaru <cvicentiu@gmail.com>
Tue, 26 Jul 2011 07:36:17 +0000 (10:36 +0300)
committerMichael Adam <obnox@samba.org>
Mon, 22 Aug 2011 11:59:26 +0000 (13:59 +0200)
The function only appears in the commands list usage of net rpc
conf.

Signed-off-by: Michael Adam <obnox@samba.org>
source3/utils/net_rpc_conf.c

index a2cb5cb251c2239c3587997e570633ab4e85886c..ed7f1b45d76a1985c077045835472a6f08d8e18e 100644 (file)
@@ -1118,6 +1118,12 @@ static int rpc_conf_getincludes(struct net_context *c, int argc,
                rpc_conf_getincludes_internal, argc, argv );
 }
 
+static int rpc_conf_delincludes(struct net_context *c, int argc,
+                               const char **argv)
+{
+       d_printf("Function not yet implemented\n");
+       return 0;
+}
 /* function calls */
 int net_rpc_conf(struct net_context *c, int argc,
                 const char **argv)
@@ -1185,6 +1191,14 @@ int net_rpc_conf(struct net_context *c, int argc,
                        N_("net rpc conf getincludes\n"
                           "    Show the includes of a share definition.")
                },
+               {
+                       "delincludes",
+                       rpc_conf_delincludes,
+                       NET_TRANSPORT_RPC,
+                       N_("Delete includes from a share definition."),
+                       N_("net rpc conf delincludes\n"
+                          "    Delete includes from a share definition.")
+               },
                {NULL, NULL, 0, NULL, NULL}
        };