Rowland Penny
2022-Nov-11 13:13 UTC
[Samba] Upgrade a self-compiled DC to a repository version
On 11/11/2022 12:51, Carlos Jesus via samba wrote:> Hi all, > I think I've seen this addressed on the mailing list before, but I can't > seem to find it so, any help will be appreciated. > > I have 2 DC's Debian Buster based with Samba-ad-dc self compiled to version > 4.13.12. One is a physical machine the other is a VM on different hardware. > At that time (samba 4.4) self compiling seemed like a good idea, but now > I'd like to move to a repository based version (it seems Van Bell's repo is > not an option anymore, hope he's doing well). Buster backport it is then. > The plan is to move to 4.14, then 4.15 then 4.16 on a weekly plan to check > all is well. > > The question is, how to do it? > * Just adding backports to sources.list and apt update/ apt install samba > is most probably not an option. > * Running a full > https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller > is probably the safer path. > * Just keep self compiling stuff if nothing else works. > > Any clues/references? > > Best regards, > CarlosI would create a new DC running bullseye and samba from backports, join this to the domain and when you are sure everything is working correctly (replication etc), demote one of the old DC's. Repeat for all your other existing DC's. Rowland
Carlos Jesus
2022-Nov-11 14:49 UTC
[Samba] Upgrade a self-compiled DC to a repository version
Hello Rowland thanks for your help. So, at a certain point I'll have a mix of 4.16 and 4.13 DC's until both DC's are upgraded and replicated. Is this safe to do online? Or do I need to "stop the press"? Best regards, CJ Rowland Penny via samba <samba at lists.samba.org> escreveu no dia sexta, 11/11/2022 ?(s) 13:14:> > > On 11/11/2022 12:51, Carlos Jesus via samba wrote: > > Hi all, > > I think I've seen this addressed on the mailing list before, but I can't > > seem to find it so, any help will be appreciated. > > > > I have 2 DC's Debian Buster based with Samba-ad-dc self compiled to > version > > 4.13.12. One is a physical machine the other is a VM on different > hardware. > > At that time (samba 4.4) self compiling seemed like a good idea, but now > > I'd like to move to a repository based version (it seems Van Bell's repo > is > > not an option anymore, hope he's doing well). Buster backport it is then. > > The plan is to move to 4.14, then 4.15 then 4.16 on a weekly plan to > check > > all is well. > > > > The question is, how to do it? > > * Just adding backports to sources.list and apt update/ apt install samba > > is most probably not an option. > > * Running a full > > > https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller > > is probably the safer path. > > * Just keep self compiling stuff if nothing else works. > > > > Any clues/references? > > > > Best regards, > > Carlos > > I would create a new DC running bullseye and samba from backports, join > this to the domain and when you are sure everything is working correctly > (replication etc), demote one of the old DC's. Repeat for all your other > existing DC's. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >