From a00851f33767f466e9d95b4bcac6fecaf26b0fbf Mon Sep 17 00:00:00 2001 From: Vicentiu Ciorbaru Date: Wed, 3 Aug 2011 16:07:46 +0300 Subject: s3-net: Added net rpc conf import command to net rpc conf The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam --- source3/utils/net_rpc_conf.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c index 27eab10b0a..02cfc33490 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -1915,6 +1915,12 @@ static int rpc_conf_list(struct net_context *c, int argc, rpc_conf_list_internal, argc, argv ); } +static int rpc_conf_import(struct net_context *c, int argc, + const char **argv) +{ + d_printf("Function not yet implemented\n"); + return 0; +} static int rpc_conf_delshare(struct net_context *c, int argc, const char **argv) { @@ -1979,6 +1985,16 @@ int net_rpc_conf(struct net_context *c, int argc, "like format.") }, + { + "import", + rpc_conf_import, + NET_TRANSPORT_RPC, + N_("Import configuration from file in smb.conf " + "format."), + N_("net rpc conf import\n" + " Import configuration from file in smb.conf " + "format.") + }, { "listshares", rpc_conf_listshares, -- cgit