Hi Marc, On 25 May 2017 10:25:> You can build Samba yourself. See Wiki.Thank you, that looks like the solution. Although I'm tempted to wait for 4.7 in case I break something..> A migration documentation (package to self-compiled, self-compiled to > packages, or package to other packages) is currently work in progress. > Maybe I have it finished next week.Am I correct in thinking that to migrate from sernet's packages I'd need to remove one server from the domain, re-compile the samba source using the same configure options, then 'make install', then re-join it to the domain as a DC? Then do the same on my other DC..? Many thanks, Tim
Hi, Am 25.05.2017 um 13:58 schrieb Tim ODriscoll via samba:> Am I correct in thinking that to migrate from sernet's> packages I'd need to remove one server from the domain, > re-compile the samba source using the same configure > options, then 'make install', then re-join it to the > domain as a DC? Then do the same on my other DC..? If you use the same configure options, you don't have to remove the DC from the domain and rejoin later, because then the binaries would use the same paths to the databases which are (usually) not deleted if you uninstall a package. Even if the paths to the databases changes, you don't have to, because you can move the databases. However, this will all be part of the migration documentation I'm working on. Give me some time to finish it. It will cover all these scenarios. Regards, Marc
On Thu, 25 May 2017 14:29:20 +0200 Marc Muehlfeld via samba <samba at lists.samba.org> wrote:> Hi, > > Am 25.05.2017 um 13:58 schrieb Tim ODriscoll via samba: > > Am I correct in thinking that to migrate from sernet's > > packages I'd need to remove one server from the domain, > > re-compile the samba source using the same configure > > options, then 'make install', then re-join it to the > > domain as a DC? Then do the same on my other DC..? > > > If you use the same configure options, you don't have to remove the > DC from the domain and rejoin later, because then the binaries would > use the same paths to the databases which are (usually) not deleted > if you uninstall a package. > > Even if the paths to the databases changes, you don't have to, > because you can move the databases. However, this will all be part of > the migration documentation I'm working on. Give me some time to > finish it. It will cover all these scenarios. > > > Regards, > Marc > >The easiest way to migrate is to set up a new computer, install the version of Samba that you want to use, join this to the domain as a new DC. When you are sure that replication etc is working correctly, demote and remove the old DC. Trying to change from one set of packages to another will always have a slight chance of a mistake creeping, it very probably won't happen, but it might. Rowland
On Fri, 26 May 2017 13:18:20 -0400 (EDT) Kevin Kretz <kevin at kretz.net> wrote:> I want to migrate from Sernet samba as well, and to make matters > worse it's not a current version (I'm on > 4.1.17-SerNet-Debian-10.wheezy) > > If I understand correctly, I should compile the same version of samba > as my Sernet version, join it, demote the Sernet server, and after > that's completed and working properly, upgrade the new samba server.No, there is no need to do that, just use Louis's packages: https://downloads.van-belle.nl/samba4/ Though he doesn't seem to have 4.6.4 out yet, but I am sure he is working on it ;-) When you do get the new packages, run the join command like this: samba-tool domain join ad.xxxx.net DC -U kevin 'AD\kevin' is a Unix user, I don't know if this makes any difference, but it is worth a try, if it still doesn't work, try with 'Administrator' You do not need the dns option, it is the default. Rowland