diff options
author | Vicentiu Ciorbaru <cvicentiu@gmail.com> | 2011-07-13 21:17:08 +0300 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-08-22 13:59:24 +0200 |
commit | 283da12a73ea3edc49a63f7375bc2c64ed36e2b1 (patch) | |
tree | 2db4883aa44fe7e4355c2d290f7cdb3fe83e8422 /source3/utils/net_rpc_conf.c | |
parent | b46655bd18a92560524ea8d1a6859ac56feea2a9 (diff) | |
download | samba-283da12a73ea3edc49a63f7375bc2c64ed36e2b1.tar.gz samba-283da12a73ea3edc49a63f7375bc2c64ed36e2b1.tar.xz samba-283da12a73ea3edc49a63f7375bc2c64ed36e2b1.zip |
s3-net: Added the command rpc conf to the net binary.
The net binary now has an extra item linked to it, the
net_rpc_conf.c module.
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.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c new file mode 100644 index 00000000000..e27201904ab --- /dev/null +++ b/source3/utils/net_rpc_conf.c @@ -0,0 +1,46 @@ +/* + * Samba Unix/Linux SMB client library + * Distributed SMB/CIFS Server Management Utility + * Local configuration interface + * Copyright (C) Vicentiu Ciorbaru 2011 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see <http://www.gnu.org/licenses/>. + */ + +/* + * This is an interface to Samba's configuration. + * + * This tool supports local as well as remote interaction via rpc + * with the configuration stored in the registry. + */ + + +#include "includes.h" +#include "utils/net.h" +#include "rpc_client/cli_pipe.h" +#include "../librpc/gen_ndr/ndr_samr_c.h" +#include "rpc_client/init_samr.h" +#include "../librpc/gen_ndr/ndr_winreg_c.h" +#include "../libcli/registry/util_reg.h" +#include "rpc_client/cli_winreg.h" +#include "../lib/smbconf/smbconf.h" + + +/* function calls */ +int net_rpc_conf(struct net_context *c, int argc, + const char **argv) +{ + return 0; + +} |