summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-07-30 16:55:43 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 13:59:27 +0200
commitf9862971c1d97dae251da5f21662b09d87a5aa62 (patch)
tree4991840159c198a7f5897874ddeddf7952437413 /source3
parent0c7f1d32e8718897c7aa207ae78489e3c455ff67 (diff)
downloadsamba-f9862971c1d97dae251da5f21662b09d87a5aa62.tar.gz
samba-f9862971c1d97dae251da5f21662b09d87a5aa62.tar.bz2
samba-f9862971c1d97dae251da5f21662b09d87a5aa62.zip
s3-net: Added net rpc conf setincludes command to net rpc conf
The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_conf.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index bfcd9959df..504570e6fc 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -1550,12 +1550,20 @@ static int rpc_conf_getincludes(struct net_context *c, int argc,
rpc_conf_getincludes_internal, argc, argv );
}
+static int rpc_conf_setincludes(struct net_context *c, int argc,
+ const char **argv)
+{
+ d_printf("Function not yet implemented\n");
+ return 0;
+}
+
static int rpc_conf_delincludes(struct net_context *c, int argc,
const char **argv)
{
return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
rpc_conf_delincludes_internal, argc, argv );
}
+
/* function calls */
int net_rpc_conf(struct net_context *c, int argc,
const char **argv)
@@ -1640,6 +1648,14 @@ int net_rpc_conf(struct net_context *c, int argc,
" Show the includes of a share definition.")
},
{
+ "setincludes",
+ rpc_conf_setincludes,
+ NET_TRANSPORT_RPC,
+ N_("Set includes for a share."),
+ N_("net rpc conf setincludes\n"
+ " Set includes for a share.")
+ },
+ {
"delincludes",
rpc_conf_delincludes,
NET_TRANSPORT_RPC,