From 8e2ee72bcd16d1fe3d2ac472ca3f7ce8cb264e75 Mon Sep 17 00:00:00 2001 From: Vicentiu Ciorbaru Date: Mon, 25 Jul 2011 18:20:01 +0300 Subject: s3-net: Added net rpc conf getparm 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 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source3/utils') diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c index e38e922f96..50d438c2d1 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -894,6 +894,12 @@ static int rpc_conf_delshare(struct net_context *c, int argc, rpc_conf_delshare_internal, argc, argv ); } +static int rpc_conf_getparm(struct net_context *c, int argc, + const char **argv) +{ + + return 0; +} /* function calls */ int net_rpc_conf(struct net_context *c, int argc, const char **argv) @@ -945,6 +951,14 @@ int net_rpc_conf(struct net_context *c, int argc, N_("net rpc conf delshare\n" " Delete a remote share.") }, + { + "getparm", + rpc_conf_getparm, + NET_TRANSPORT_RPC, + N_("Retrieve the value of a parameter."), + N_("net rpc conf getparm\n" + " Retrieve the value of a parameter.") + }, {NULL, NULL, 0, NULL, NULL} }; -- cgit