.. Reminder for header structure: Parts (H1) : #################### with overline Chapters (H2) : ******************** with overline Sections (H3) : ==================== Subsections (H4) : -------------------- Subsubsections (H5) : ^^^^^^^^^^^^^^^^^^^^ Paragraphs (H6) : """"""""""""""""""""" .. |date| date:: .. meta:: :description: Upgrading a Samba domain controller from Debian11 Bullseye to Debian12 Bookworm :keywords: upgrade, Debian, Bullseye, Bookworm, documentation .. _server_upgrade_debian11_to_debian12: ############################################################################### Upgrading a Samba domain controller from Debian11 Bullseye to Debian12 Bookworm ############################################################################### .. warning:: If you use **eth** type network interfaces, you should set yourself in grub to keep your interface in **eth** format. * You need to reconfigure tissamba.list : .. code-block:: bash wget -qO- https://samba.tranquil.it/tissamba-pubkey.gpg | tee /usr/share/keyrings/tissamba.gpg > /dev/null sha256sum /usr/share/keyrings/tissamba.gpg bd0f7140edd098031fcb36106b24a6837b067f1c847f72cf262fa012f14ce2dd /usr/share/keyrings/tissamba.gpg echo "deb [signed-by=/usr/share/keyrings/tissamba.gpg] https://samba.tranquil.it/debian/samba-4.19/ $(lsb_release -c -s) main" > /etc/apt/sources.list.d/tissamba.list * Update repositories configuration for NonFreeFirmware, update all PGP keys and all repositories : .. code-block:: bash echo 'APT::Get::Update::SourceListWarnings::NonFreeFirmware "false";' > /etc/apt/apt.conf.d/no-bookworm-firmware.conf sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list /etc/apt/sources.list.d/* * Update the host: .. code-block:: bash apt-get update apt-get dist-upgrade .. hint:: If you have an error during the dist-upgrade, you can use the command "apt --fix-broken install" to fix it. * Change the ntp configuration with chronyd: :ref:`configure the NTP service (chrony) `. **This is a very important step !** * Restart the host: .. code-block:: bash reboot * Check the version of the Samba server: .. code-block:: bash samba-tool --version