samba-tool: Add new command 'samba-tool drs clone-dc-database'
authorAndrew Bartlett <abartlet@samba.org>
Mon, 17 Aug 2015 03:33:31 +0000 (15:33 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 Oct 2015 04:11:21 +0000 (05:11 +0100)
commit6d301ad1c9ff0f1ccd4f97bd5f234b10707a15bf
tree4d61f2465b833f6d72b3d928df77ec299ae4d233
parent80171ddcff792081415f4a4cb5614043338d9b81
samba-tool: Add new command 'samba-tool drs clone-dc-database'

This command makes a clone of an existing AD Domain, but does not
join the domain.  This allows us to test if the join would work
without adding objects to the target DC.

The server password will need to be reset for the clone to
be any use, see the source4/scripting/devel/chgtdcpass

(Based on patches written with Garming Sam)

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/join.py
python/samba/netcmd/drs.py
python/samba/tests/__init__.py
python/samba/tests/blackbox/samba_tool_drs.py