[Samba] Migrate and Update (Samba 4.1 ADDC to Samba Latest Version on different Server).

Rowland Penny rpenny at samba.org
Wed Nov 16 16:26:49 UTC 2022



On 16/11/2022 14:21, Juan Ignacio wrote:
> Hi Rowland and Samba Team:
> 
> I finally had time to clone the old server with Debian 7 and Samba 4.1 
> to a VM on proxmox and updated the Debian distro to Debian 10.

I would normally suggest you keep upgrading the distro to Bullseye (11), 
but in your case, I would pause here.

> 
> I think now its time to update the Samba installation, i have vm backups 
> so im secure right now.
> 
> What is the best procedure to start the update to the latest versión of 
> Samba, the server is a AD Samba 4.1 with 2 Linux Member Servers who work 
> like file servers.

Forget the Unix domain members in the short term, they are the least of 
your worries.

I would upgrade the DC's by adding a new DC on your new VM, once this 
has been joined and is running correctly, I would then transfer all the 
FSMO roles to the new DC.

Now demote every other DC, just leaving your new DC.

Create another VM, but this time use Bullseye and Samba from Debian 
backports, this will get 4.16.6. Repeat the procedure above, until you 
just have a DC running Samba 4.16.6 with all the FSMO roles.

You can now add further DC's and test the Unix domain members, they 
should still work.

> Is using winbind and the all the needed packages, some webapps login the 
> users using this server.

You may have to alter how the webapps login, but then you may not.

Rowland



More information about the samba mailing list