samba-tool domain demote

steve steve at steve-ss.com
Sat Aug 18 08:47:20 MDT 2012


On 18/08/12 14:51, Andrew Bartlett wrote:
> On Sat, 2012-08-18 at 12:50 +0200, steve wrote:
>> Hi everyone
>>
>> I want to reinstall our secondary DC and start with a new install. This
>> is to test the new openSUSE 12.2 RC2 with Samba4.
>>
>> How about this on the secodary DC?
>> samba-tool domain demote -UAdministrator
>>
>> Question:
>> 1. Is that all?
>> 2. Does samba need to be running on both DC's?
>
> Yes, this is an on-line tool, to run on the DC being demoted.  Both DCs
> must be up and operational at the time of the demote.
>
> Andrew Bartlett
>
Hi Andrew
Thanks. it worked fine.
I think we need to stop samba on the demoted DC and stop and start it a 
few times on the live DC otherwise it still keeps trying to replicate:

Failed to connect host 192.168.1.6 
(d1929b53-0de5-43c6-a3d7-2686e8f7bffe._msdcs.hh3.site) on port 135 - 
NT_STATUS_CONNECTION_REFUSED.
Failed to connect host 192.168.1.6 on port 135 - 
NT_STATUS_CONNECTION_REFUSED

Otherwise fine.
Cheers,
Steve




More information about the samba-technical mailing list