From 01e80f81d80d318c321e873fde78e9e1efafaf72 Mon Sep 17 00:00:00 2001 From: Vicentiu Ciorbaru Date: Thu, 14 Jul 2011 00:01:15 +0300 Subject: s3-net: Added net rpc conf drop 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 7a9d2c932b..3c9f3cf10c 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -651,6 +651,13 @@ error: return status; } +static int rpc_conf_drop(struct net_context *c, int argc, + const char **argv) +{ + d_printf("Function not implemented yet\n"); + return 0; +} + static int rpc_conf_showshare(struct net_context *c, int argc, const char **argv) { @@ -696,6 +703,15 @@ int net_rpc_conf(struct net_context *c, int argc, N_("net rpc conf list\n" " List the remote share names.") + }, + { + "drop", + rpc_conf_drop, + NET_TRANSPORT_RPC, + N_("Delete the complete remote configuration."), + N_("net rpc conf drop\n" + " Delete the complete remote configuration.") + }, { "showshare", -- cgit