diff options
author | Vicentiu Ciorbaru <cvicentiu@gmail.com> | 2011-07-13 23:01:35 +0300 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-08-22 13:59:24 +0200 |
commit | 1ca6e991415bd1650c1a7e5849d749a8c2e81bc6 (patch) | |
tree | e2766a0247ad0bb901287c5003367cd520747693 /source3 | |
parent | 8efd30ca610692fad3103ae7c9de57fc46206763 (diff) | |
download | samba-1ca6e991415bd1650c1a7e5849d749a8c2e81bc6.tar.gz samba-1ca6e991415bd1650c1a7e5849d749a8c2e81bc6.tar.bz2 samba-1ca6e991415bd1650c1a7e5849d749a8c2e81bc6.zip |
s3-net: Added net rpc conf listshares 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')
-rw-r--r-- | source3/utils/net_rpc_conf.c | 14 |
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} }; |