samba/SOURCES
2023-09-27 14:10:26 +00:00
..
pam_winbind.conf import samba-4.10.4-0.el8 2021-10-08 16:36:56 +00:00
README.downgrade import samba-4.10.4-0.el8 2021-10-08 16:36:56 +00:00
samba-4.18.6.tar.asc import CS samba-4.18.6-1.el8 2023-09-27 14:10:26 +00:00
samba-systemd-sysusers.conf import samba-4.17.5-2.el8 2023-03-29 11:07:33 +00:00
samba-usershares-systemd-sysusers.conf import samba-4.17.5-2.el8 2023-03-29 11:07:33 +00:00
samba.abignore import samba-4.16.4-2.el8 2022-09-28 18:36:05 +00:00
samba.logrotate import samba-4.11.2-7.el8 2021-10-08 16:37:00 +00:00
samba.pamd import samba-4.10.4-0.el8 2021-10-08 16:36:56 +00:00
smb.conf.example import samba-4.17.5-2.el8 2023-03-29 11:07:33 +00:00
smb.conf.vendor import samba-4.17.5-2.el8 2023-03-29 11:07:33 +00:00
usershares.conf.vendor import samba-4.17.5-2.el8 2023-03-29 11:07:33 +00:00

Downgrading Samba
=================

Short version: data-preserving downgrades between Samba versions are not supported

Long version:
With Samba development there are cases when on-disk database format evolves.
In general, Samba Team attempts to maintain forward compatibility and
automatically upgrade databases during runtime when requires.
However, when downgrade is required Samba will not perform downgrade to
existing databases. It may be impossible if new features that caused database
upgrade are in use. Thus, one needs to consider a downgrade procedure before
actually downgrading Samba setup.

Please always perform back up prior both upgrading and downgrading across major
version changes. Restoring database files is easiest and simplest way to get to
previously working setup.

Easiest way to downgrade is to remove all created databases and start from scratch.
This means losing all authentication and domain relationship data, as well as
user databases (in case of tdb storage), printers, registry settings, and winbindd
caches.

Remove databases in following locations:
/var/lib/samba/*.tdb
/var/lib/samba/private/*.tdb

In particular, registry settings are known to prevent running downgraded versions
(Samba 4 to Samba 3) as registry format has changed between Samba 3 and Samba 4.