1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-06 17:44:20 +03:00

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>
This commit is contained in:
Vicentiu Ciorbaru
2011-07-30 16:51:44 +03:00
committed by Michael Adam
parent 1a3b88cfb3
commit ffe98b51ef

View File

@@ -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)
{
@@ -1410,6 +1416,14 @@ int net_rpc_conf(struct net_context *c, int argc,
N_("net rpc conf getparm\n"
" 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,