diff options
author | Vicentiu Ciorbaru <cvicentiu@gmail.com> | 2011-07-30 16:51:44 +0300 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-08-22 13:59:27 +0200 |
commit | ffe98b51eff0522d76371e9fb556ca91ddef2d9e (patch) | |
tree | a67e7b6b682b3bd0c9dd30a0f5ff8d9c54d25462 | |
parent | 1a3b88cfb369a9d3ab5545b56b5242489cef6c2d (diff) | |
download | samba-ffe98b51eff0522d76371e9fb556ca91ddef2d9e.tar.gz samba-ffe98b51eff0522d76371e9fb556ca91ddef2d9e.tar.bz2 samba-ffe98b51eff0522d76371e9fb556ca91ddef2d9e.zip |
s3-net: Added net rpc conf setparm 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.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 b25faef57b..7fffbe601b 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -1331,6 +1331,12 @@ static int rpc_conf_getparm(struct net_context *c, int argc, rpc_conf_getparm_internal, argc, argv ); } +static int rpc_conf_setparm(struct net_context *c, int argc, + const char **argv) +{ + d_printf("Function not yet implemented\n"); + return 0; +} static int rpc_conf_delparm(struct net_context *c, int argc, const char **argv) { @@ -1411,6 +1417,14 @@ int net_rpc_conf(struct net_context *c, int argc, " Retrieve the value of a parameter.") }, { + "setparm", + rpc_conf_setparm, + NET_TRANSPORT_RPC, + N_("Store a parameter."), + N_("net rpc conf setparm\n" + " Store a parameter.") + }, + { "delparm", rpc_conf_delparm, NET_TRANSPORT_RPC, |