diff options
author | Vicentiu Ciorbaru <cvicentiu@gmail.com> | 2011-08-03 16:07:46 +0300 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-08-22 13:59:28 +0200 |
commit | a00851f33767f466e9d95b4bcac6fecaf26b0fbf (patch) | |
tree | 69b62508ac67d418913cfa45836f0d9f590777a9 /source3/utils | |
parent | 66583da28d002397ff281efdd9b1a4af5ed497ec (diff) | |
download | samba-a00851f33767f466e9d95b4bcac6fecaf26b0fbf.tar.gz samba-a00851f33767f466e9d95b4bcac6fecaf26b0fbf.tar.bz2 samba-a00851f33767f466e9d95b4bcac6fecaf26b0fbf.zip |
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>
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc_conf.c | 16 |
1 files changed, 16 insertions, 0 deletions
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) { @@ -1980,6 +1986,16 @@ int net_rpc_conf(struct net_context *c, int argc, }, { + "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, NET_TRANSPORT_RPC, |