summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-07-14 00:01:15 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 13:59:25 +0200
commit01e80f81d80d318c321e873fde78e9e1efafaf72 (patch)
tree9944b5b3c3d67b74974af2fe09d45503a9f97fcf
parent5f8ec78768ade79e2fb8db92a4ca534284ea4d87 (diff)
downloadsamba-01e80f81d80d318c321e873fde78e9e1efafaf72.tar.gz
samba-01e80f81d80d318c321e873fde78e9e1efafaf72.tar.bz2
samba-01e80f81d80d318c321e873fde78e9e1efafaf72.zip
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 <obnox@samba.org>
-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 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)
{
@@ -698,6 +705,15 @@ int net_rpc_conf(struct net_context *c, int argc,
},
{
+ "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",
rpc_conf_showshare,
NET_TRANSPORT_RPC,