summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-07-25 18:20:01 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 13:59:26 +0200
commit8e2ee72bcd16d1fe3d2ac472ca3f7ce8cb264e75 (patch)
tree5b620021c065cc5ef57fc2dc844ddc5f6afc0ab2
parent7de814c5a74b578a717af512aebf1f2d47995e6d (diff)
downloadsamba-8e2ee72bcd16d1fe3d2ac472ca3f7ce8cb264e75.tar.gz
samba-8e2ee72bcd16d1fe3d2ac472ca3f7ce8cb264e75.tar.bz2
samba-8e2ee72bcd16d1fe3d2ac472ca3f7ce8cb264e75.zip
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 <obnox@samba.org>
-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 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}
};