[Samba] Upgrading Samba AD DCs from Debian 12 (Bookworm) to Debian 13 (Trixie)

Rowland Penny rpenny at samba.org
Mon Nov 3 17:13:07 UTC 2025


On Mon, 03 Nov 2025 17:49:03 +0100
Olivier BILHAUT via samba <samba at lists.samba.org> wrote:

> Hi Luis, Rowland, and Carlos, 
> 
> We are in the same situation than
> Carlos, we host self-compiled samba4 on Debian virtual servers. 
> 
> We use
> to simply upgrade our DC the way Carlos reported, and generally, to
> run the compilation again. 
> 
> Should we expect any particular issue with this
> upgrade or you think this steps should work the same way ? 
> 
> To be
> honest, promote/demote is not really an option since the hostname is
> used in many third-party scripting, firewall configurations, and so
> on... 

You can continue to upgrade the distro and continue to compile Samba if
you wish. However, you could demote the DC, remove your self compiled
Samba, upgrade the distro and then rejoin as a DC. Or you could just
demote the existing DC, shut the computer down and then create a new DC
using the same hostname and IP.

What I wouldn't do is to upgrade the existing DC and try and
upgrade/install Samba unless your self compiled Samba has the parts of
Samba in the same places as where Debian packages place them.

Rowland



More information about the samba mailing list