summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-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,