summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-07-15 19:22:34 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 13:59:25 +0200
commit4728cf66c5627ad19a1bcf819fd1f090d1e87a44 (patch)
tree1af7baa8f359ba6039ce090ce92b066636b169cc /source3/utils
parentf94c8e366fa72328c242130cf105e0e3d80f23aa (diff)
downloadsamba-4728cf66c5627ad19a1bcf819fd1f090d1e87a44.tar.gz
samba-4728cf66c5627ad19a1bcf819fd1f090d1e87a44.tar.bz2
samba-4728cf66c5627ad19a1bcf819fd1f090d1e87a44.zip
s3-net: Added net rpc conf delshare 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.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 abcf73398b..bc77fb1703 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -794,6 +794,13 @@ static int rpc_conf_list(struct net_context *c, int argc,
rpc_conf_list_internal, argc, argv );
}
+static int rpc_conf_delshare(struct net_context *c, int argc,
+ const char **argv)
+{
+ d_printf("Function not yet implemented\n");
+ return 0;
+};
+
/* function calls */
int net_rpc_conf(struct net_context *c, int argc,
const char **argv)
@@ -837,6 +844,14 @@ int net_rpc_conf(struct net_context *c, int argc,
" Show the definition of a remote share.")
},
+ {
+ "delshare",
+ rpc_conf_delshare,
+ NET_TRANSPORT_RPC,
+ N_("Delete a remote share."),
+ N_("net rpc conf delshare\n"
+ " Delete a remote share.")
+ },
{NULL, NULL, 0, NULL, NULL}
};