From 16b463739b00cb18e7c16933d066b603f365ee7d Mon Sep 17 00:00:00 2001 From: Vicentiu Ciorbaru Date: Wed, 3 Aug 2011 15:58:54 +0300 Subject: s3-net: Added net rpc conf addshare command to net rpc conf The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam --- source3/utils/net_rpc_conf.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c index e8bfb14193..aa1d3aacbc 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -1641,6 +1641,13 @@ static int rpc_conf_showshare(struct net_context *c, int argc, rpc_conf_showshare_internal, argc, argv ); } +static int rpc_conf_addshare(struct net_context *c, int argc, + const char **argv) +{ + d_printf("Function not yet implemented\n"); + return 0; +} + static int rpc_conf_listshares(struct net_context *c, int argc, const char **argv) { @@ -1746,6 +1753,14 @@ int net_rpc_conf(struct net_context *c, int argc, " Show the definition of a remote share.") }, + { + "addshare", + rpc_conf_addshare, + NET_TRANSPORT_RPC, + N_("Create a new remote share."), + N_("net rpc conf addshare\n" + " Create a new remote share.") + }, { "delshare", rpc_conf_delshare, -- cgit