[Samba] Transfer file server to new DC
rpenny at samba.org
Mon Mar 25 21:26:56 UTC 2019
On Mon, 25 Mar 2019 20:43:39 +0000
Piers Kittel via samba <samba at lists.samba.org> wrote:
> Hello all,
> Have joined a new DC to an existing active directory consisting of a
> sole DC. So, we now have two domain controllers, the original being
> ad.DOMAIN.intranet (192.168.0.17), and the new one being
> DOMAIN-ad.DOMAIN.intranet (192.168.0.11). The old DC is also the
> file server - I'm aware this is strongly advised against. I want the
> new DC to become the file server but can't find any instructions
> online on how to do this - is it just simply following
> https://wiki.samba.org/index.php/Samba_File_Serving for the new DC
> and reverse the instructions for the old DC, syncing everything up
> and sorted?
> Servers are Debian 9 with 4.5.16-Debian, both are identical
> software-wise (but definitely not hardware-wise!)
> Many thanks!
To be honest, you would have been better off using the second computer
as a Unix domain member instead of a DC.
Secondly, Go here: http://apt.van-belle.nl/
Use the repo you will find there and upgrade Samba, but you will have
to do it by major version by major version i.e. upgrade to 4.7.x first,
then 4.8.x, then finally 4.9.x
There is a reason for the version climb, it doesn't work if you go
directly from 4.5.x to 4.9.x . However it does work if you update
version by version (allowing Samba to run for a short while at each
version. This does not apply to Unix domain members, only DC's.
To move the data between DC's, you will need to use something like
rsync, but only when you have the same ID's on both computers.
More information about the samba