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

Luis Peromarta lperoma at icloud.com
Mon Nov 3 18:45:32 UTC 2025


There is no issue demoting and joining with same old host name and IP.

Actually in order to upgrade major versions of samba this is the recommended way.

By self compiling you are exposed to a number of risks I don’t see worth assuming.


On 3 Nov 2025 at 18:00 +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...
>
> Thanks,
>
> --
>
> Olivier B
>
> Le 2025-11-03 14:35, Luis Peromarta
> via samba a écrit :
>
> > It will be easier, safer and future proof.
> >
> >
> These notes are valid for Trixie except the backports.
> >
> >
> http://atpscan.global.hornetsecurity.com?d=uB-YFc9CxlLH0ewdeTtzkU8BNMOLheg7yr-UciRGsO0U7SYNuVCkt9OYx6vopftA&f=I2jtl_NB0sFP6p3sRi25cH9-UwJ46AICdju6sOQK5nVuUHtXdrhdNpfOASYR0mpn&i=&k=TUNm&m=y6aHr48WR_xBqjcfuuvRXbtbEPKiewijYs30kGTF4oBje9OrN7HJDf7RTypS4IbcNim6TQwus7lFW93TErx5DhWLxVN8WDEyAP9aL9A48g_MfMjcVhe6aimP9xPO8aoZ&n=rNaBH2giTAjyq7oDuRd5gXH8W0QqjHBnrpvym1OxLyM&r=2MSHxQmwbuiIAUiV9Nf6kxYXI12_CHU_cvMUyhDzO6VlKJbW5OL6Ef2v64qduBgFpK17U0yPIhAdUhtl4qUsyg&s=7cfbcec183cf8a856a6eb93b4697bf05d136fed74e96099bb39210999753c8bc&u=http%3A%2F%2Fsamba.bigbird.es%2Fdoku.php%3Fid%3Dsamba%3Aaditional-dc
> >
> On 3 Nov 2025 at 14:33 +0100, samba at lists.samba.org
> <samba at lists.samba.org>, wrote:
> >
> > > > It might be easier to add a
> > > > new
> DC and then demote the old one.
> > > >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba


More information about the samba mailing list