There's a closed pull request on the Samba Samba Github repository Demote dc https://github.com/samba-team/samba/pull/18 Description: Improve our samba-tool domain demote tool to demote other offline domain controllers. We also add samba-tool drs clone-dc-database and tidy up some aspects of the DNS server