1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

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 <obnox@samba.org>
This commit is contained in:
Vicentiu Ciorbaru 2011-08-03 16:07:46 +03:00 committed by Michael Adam
parent 66583da28d
commit a00851f337

View File

@ -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,