[Samba] Upgrading samba and OS - can I rejoin ?

Rowland penny rpenny at samba.org
Sun Aug 25 20:16:04 UTC 2019

On 25/08/2019 20:49, gizmo via samba wrote:
> Hi,
> I want to upgrade samba 4.8.2 to samba 4.10.7. According to here:
>    https://wiki.samba.org/index.php/Upgrading_a_Samba_AD_DC#Rejoining_the_upgraded_DC
> best way is to rejoin the server after the upgrade.
> But also I need to upgrade the OS, in my case it means a new installation from the OS,
> because an upgrade is not possible, the old and the new version are to different.
> Can I do this the same way as described in the samba docu "Rejoining the upgraded DC"?
> Means:
> I stop all samba services, then install a complete new OS and after this I install the new samba version
> and (re)join the server ?
> Just asking, because I didnt know, that I can (re)join a server, which was already joined.
> I thought it is necessary to demote this server, before I can join a server with a name, which already exists.
> Thanks
I would set up a completely new computer with your new OS, with a 
different hostname and IP, install Samba and join as a DC to the domain, 
then demote the old DC once you are sure everything is working OK. I 
would not demote a DC and then re-use its hostname (well, not for at 
least 6 months).


More information about the samba mailing list