samba-tool domain demote: Refuse to remove ourself
authorAndrew Bartlett <abartlet@samba.org>
Tue, 13 Oct 2015 02:26:20 +0000 (15:26 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 Oct 2015 04:11:22 +0000 (05:11 +0100)
commite432c1b6826ecafeb355bd1d06e33f2eb67e58b8
tree4ff41fa783b3d402da40fbb5a227552e2f284ef5
parent097435cfd9ba1bc3778e1637b55e78e5ba182061
samba-tool domain demote: Refuse to remove ourself

This ensures that a different server is the one being demoted from the local database

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