Olivier BILHAUT
2025-Nov-03 16:49 UTC
[Samba] Upgrading Samba AD DCs from Debian 12 (Bookworm) to Debian 13 (Trixie)
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 >> newDC and then demote the old one.>>
Rowland Penny
2025-Nov-03 17:13 UTC
[Samba] Upgrading Samba AD DCs from Debian 12 (Bookworm) to Debian 13 (Trixie)
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
Luis Peromarta
2025-Nov-03 18:45 UTC
[Samba] Upgrading Samba AD DCs from Debian 12 (Bookworm) to Debian 13 (Trixie)
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