s3-net: Implemented net rpc conf import command
authorVicentiu Ciorbaru <cvicentiu@gmail.com>
Wed, 3 Aug 2011 20:19:21 +0000 (23:19 +0300)
committerMichael Adam <obnox@samba.org>
Mon, 22 Aug 2011 11:59:28 +0000 (13:59 +0200)
commit57b7fb7256e0d4e09c29e48950820f80d5c613dc
tree88c441b68813042f5886d897f47eaed830586f27
parenta00851f33767f466e9d95b4bcac6fecaf26b0fbf
s3-net: Implemented net rpc conf import command

The function takes a local file in smb.conf format,
uses calls to smbconf to create smbconf_service structs,
which are then placed in the remote registry.

The function also provides a test module to only print
the changes that it would make.

Signed-off-by: Michael Adam <obnox@samba.org>
source3/utils/net_rpc_conf.c