summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-07-13 23:18:00 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 13:59:25 +0200
commit2db3696303962eb4ef764c184f7922958db19562 (patch)
tree2e5904763c6206fd2bc016fee0e727d0da6be2c9 /source3/utils
parented0c5f54aa4c1afb0e39369973be64a22d18eaf4 (diff)
downloadsamba-2db3696303962eb4ef764c184f7922958db19562.tar.gz
samba-2db3696303962eb4ef764c184f7922958db19562.tar.bz2
samba-2db3696303962eb4ef764c184f7922958db19562.zip
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 <obnox@samba.org>
Diffstat (limited to 'source3/utils')
-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 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)
{
@@ -590,6 +597,15 @@ int net_rpc_conf(struct net_context *c, int argc,
" 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}
};