Carlos Jesus
2022-Nov-11 12:51 UTC
[Samba] Upgrade a self-compiled DC to a repository version
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
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