From 2db3696303962eb4ef764c184f7922958db19562 Mon Sep 17 00:00:00 2001 From: Vicentiu Ciorbaru Date: Wed, 13 Jul 2011 23:18:00 +0300 Subject: s3-net: Added net rpc conf showshare 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 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c index 3e5a1deffe..11d0b0e2a6 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -551,6 +551,13 @@ error: } +static int rpc_conf_showshare(struct net_context *c, int argc, + const char **argv) +{ + d_printf("Function not implemented yet\n"); + return 0; +} + static int rpc_conf_listshares(struct net_context *c, int argc, const char **argv) { @@ -589,6 +596,15 @@ int net_rpc_conf(struct net_context *c, int argc, N_("net rpc conf list\n" " List the remote share names.") + }, + { + "showshare", + rpc_conf_showshare, + NET_TRANSPORT_RPC, + N_("Show the definition of a remote share."), + N_("net rpc conf showshare\n" + " Show the definition of a remote share.") + }, {NULL, NULL, 0, NULL, NULL} }; -- cgit