summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_conf.c
diff options
context:
space:
mode:
authorVicentiu Ciorbaru <cvicentiu@gmail.com>2011-07-26 01:16:45 +0300
committerMichael Adam <obnox@samba.org>2011-08-22 13:59:26 +0200
commitb52bfc1a9a5179324e832bd8dbd579e43add6d60 (patch)
tree7648423cd0990bb19566d7f18bf334c754b545e0 /source3/utils/net_rpc_conf.c
parent5a36306704becf60f3a7ea79ec33889a134768f4 (diff)
downloadsamba-b52bfc1a9a5179324e832bd8dbd579e43add6d60.tar.gz
samba-b52bfc1a9a5179324e832bd8dbd579e43add6d60.tar.bz2
samba-b52bfc1a9a5179324e832bd8dbd579e43add6d60.zip
s3-net: Added net rpc conf getincludes 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.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index bddc9b9883..5ddf87b6ab 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -1013,6 +1013,14 @@ static int rpc_conf_getparm(struct net_context *c, int argc,
return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
rpc_conf_getparm_internal, argc, argv );
}
+
+static int rpc_conf_getincludes(struct net_context *c, int argc,
+ const char **argv)
+{
+ d_printf("Function not implemented yet\n");
+ return 0;
+}
+
/* function calls */
int net_rpc_conf(struct net_context *c, int argc,
const char **argv)
@@ -1072,6 +1080,14 @@ int net_rpc_conf(struct net_context *c, int argc,
N_("net rpc conf getparm\n"
" Retrieve the value of a parameter.")
},
+ {
+ "getincludes",
+ rpc_conf_getincludes,
+ NET_TRANSPORT_RPC,
+ N_("Show the includes of a share definition."),
+ N_("net rpc conf getincludes\n"
+ " Show the includes of a share definition.")
+ },
{NULL, NULL, 0, NULL, NULL}
};