[WIP] Fix samba-tool domain demote to remove another dead DC

Andrew Bartlett abartlet at samba.org
Wed Oct 14 10:34:34 UTC 2015


At 
git://git.catalyst.net.nz/samba.git demote-dc 
and 
http://git.catalyst.net.nz/gw?p=samba.git;a=shortlog;h=refs/heads/demote-dc

I have a series of patches to make demotion of a existing dead DC work
in a Samba domain.  The new code can be run with:


samba-tool domain demote --remove-other-dead-server=deaddc -H /path/to/sam.ldb

To date it hans't been possible, with Samba or windows tools, to remove
all references to a dead DC.  Finally this issue is fixed.

Testing welcome, I suggest doing so on a copy of the domain created
using 'samba-tool drs clone-dc-database', which is also included.  

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba-technical mailing list