summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_conf.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index 365d0ee8bb..534ca9bd8f 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -459,6 +459,11 @@ error:
}
+static int rpc_conf_listshares(struct net_context *c, int argc,
+ const char **argv)
+{
+ return 0;
+}
static int rpc_conf_list(struct net_context *c, int argc,
const char **argv)
@@ -483,6 +488,15 @@ int net_rpc_conf(struct net_context *c, int argc,
"like format.")
},
+ {
+ "listshares",
+ rpc_conf_listshares,
+ NET_TRANSPORT_RPC,
+ N_("List the remote share names."),
+ N_("net rpc conf list\n"
+ " List the remote share names.")
+
+ },
{NULL, NULL, 0, NULL, NULL}
};