summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-08-03 15:58:54 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 13:59:28 +0200
commit16b463739b00cb18e7c16933d066b603f365ee7d (patch)
tree6597e44bf60609a8e33c089b3575c9d21ed65f45 /source3
parent7ee8a492c67464ce5ac1a999637c639da7b4593f (diff)
downloadsamba-16b463739b00cb18e7c16933d066b603f365ee7d.tar.gz
samba-16b463739b00cb18e7c16933d066b603f365ee7d.tar.bz2
samba-16b463739b00cb18e7c16933d066b603f365ee7d.zip
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 <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_conf.c15
1 files changed, 15 insertions, 0 deletions
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)
{
@@ -1747,6 +1754,14 @@ int net_rpc_conf(struct net_context *c, int argc,
},
{
+ "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,
NET_TRANSPORT_RPC,