Rowland Penny
2023-Mar-25 11:29 UTC
[Samba] Need to upgrade very old samba: 4.6 AD to current release
On 24/03/2023 19:54, xyz via samba wrote:> Hello > I need to upgrade Samba v.4.6 with AD enabled, which is built from sources > and installed on Ubuntu 12.04.Ouch, they are both very old.> > Trying .configure script in v.4.9 it complains: Samba AD DC and > --enable-selftest requires lmdb 0.9.16 or laterDo really need selftest ?> > In this state of the outdated system upgrade will fail due to missed > dependencies. > > I planned to upgrade OS before parallel to samba upgrade, but sadly repos > of Ubuntu 12.04 and 14.04 has been removed. > > Maybe I should install ubuntu 16.04 on the test machine,I would go for 18.04, it is still just in support and this will get you Samba 4.7.6 (if I remember correctly). Set up a new computer and join this to the domain as a DC, then transfer the FSMO roles to it. After that, I would abandon Ubuntu, install Debian buster and join this as a DC (this will get you to 4.9.5), then either join bullseye using backports, or upgrade in place to bullseye using backports, this will get you to 4.17.6 You may be able to directly join a debian bullseye machine to your 18.04 DC, but probably better safe than sorry.> restore the backup of the samba installation on itIf your backup was taken using the old Samba backup method, then I wouldn't rely on it, there was no restore method for a start. What ever way you go, I would test it in sandbox first. Rowland
xyz
2023-Mar-25 21:35 UTC
[Samba] Need to upgrade very old samba: 4.6 AD to current release
Thank you Rowland I will verify proposed path h in a lab environment. The most important thing for me is that I have confirmation that it is better to add new controllers and transfer roles than to restore copies and update backups Cheers! sob., 25 mar 2023 o 12:30 Rowland Penny via samba <samba at lists.samba.org> napisa?(a):> > > On 24/03/2023 19:54, xyz via samba wrote: > > Hello > > I need to upgrade Samba v.4.6 with AD enabled, which is built from > sources > > and installed on Ubuntu 12.04. > > Ouch, they are both very old. > > > > > Trying .configure script in v.4.9 it complains: Samba AD DC and > > --enable-selftest requires lmdb 0.9.16 or later > > Do really need selftest ? > > > > > In this state of the outdated system upgrade will fail due to missed > > dependencies. > > > > I planned to upgrade OS before parallel to samba upgrade, but sadly repos > > of Ubuntu 12.04 and 14.04 has been removed. > > > > Maybe I should install ubuntu 16.04 on the test machine, > > I would go for 18.04, it is still just in support and this will get you > Samba 4.7.6 (if I remember correctly). Set up a new computer and join > this to the domain as a DC, then transfer the FSMO roles to it. > > After that, I would abandon Ubuntu, install Debian buster and join this > as a DC (this will get you to 4.9.5), then either join bullseye using > backports, or upgrade in place to bullseye using backports, this will > get you to 4.17.6 > You may be able to directly join a debian bullseye machine to your 18.04 > DC, but probably better safe than sorry. > > > restore the backup of the samba installation on it > > If your backup was taken using the old Samba backup method, then I > wouldn't rely on it, there was no restore method for a start. > > What ever way you go, I would test it in sandbox first. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Maybe Matching Threads
- Need to upgrade very old samba: 4.6 AD to current release
- Need to upgrade very old samba: 4.6 AD to current release
- Need to upgrade very old samba: 4.6 AD to current release
- Updating samba version 4.17.5 to version 4.17.6 from Debian backports - armel architecture
- Updating samba version 4.17.5 to version 4.17.6 from Debian backports - armel architecture