summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_conf.c
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-07-26 13:36:23 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 13:59:27 +0200
commit689edf8ae1e6a3df60b11a7b1e0c2dcfae2c119a (patch)
tree8c1159bb026924d5d1ed4c2193b66c5f805c3093 /source3/utils/net_rpc_conf.c
parentf370965c34052855e577dea17bb510372bdc496d (diff)
downloadsamba-689edf8ae1e6a3df60b11a7b1e0c2dcfae2c119a.tar.gz
samba-689edf8ae1e6a3df60b11a7b1e0c2dcfae2c119a.tar.bz2
samba-689edf8ae1e6a3df60b11a7b1e0c2dcfae2c119a.zip
s3-net: Added net rpc conf delparm 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/utils/net_rpc_conf.c')
-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 c6dba02f6b..ed2f69bb54 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -1257,6 +1257,12 @@ static int rpc_conf_getparm(struct net_context *c, int argc,
rpc_conf_getparm_internal, argc, argv );
}
+static int rpc_conf_delparm(struct net_context *c, int argc,
+ const char **argv)
+{
+ d_printf("Function not yet implemented\n");
+ return 0;
+}
static int rpc_conf_getincludes(struct net_context *c, int argc,
const char **argv)
{
@@ -1330,6 +1336,14 @@ int net_rpc_conf(struct net_context *c, int argc,
" Retrieve the value of a parameter.")
},
{
+ "delparm",
+ rpc_conf_delparm,
+ NET_TRANSPORT_RPC,
+ N_("Delete a parameter."),
+ N_("net rpc conf delparm\n"
+ " Delete a parameter.")
+ },
+ {
"getincludes",
rpc_conf_getincludes,
NET_TRANSPORT_RPC,