samba-tool domain demote: Remove all references to the demoted host, even in DNS
authorAndrew Bartlett <abartlet@samba.org>
Wed, 14 Oct 2015 03:57:31 +0000 (16:57 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 Oct 2015 04:11:22 +0000 (05:11 +0100)
commit145bb6fd7b0e7c9364005ea140c8ea7bc9b65395
tree15f84a09d3d00745dcf42d04b971159a23c6ce0a
parent3226077627c9301bd27b9bdff6ea5db4c1579659
samba-tool domain demote: Remove all references to the demoted host, even in DNS

We search the in-directory DNS records for entries that point to the
name or IP that the dead DC was using, and remove them

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/remove_dc.py