CBL-Mariner/SPECS-EXTENDED/samba
Andrew Phelps e9c2afe811
fix extended build breaks in main: libotr, gupnp, samba (#8830)
2024-04-18 11:37:58 -07:00
..
README.downgrade [main] Add SPECS-EXTENDED folder and populate with 2159 packages (#1754) 2021-12-13 10:40:12 -08:00
pam_winbind.conf [main] Add SPECS-EXTENDED folder and populate with 2159 packages (#1754) 2021-12-13 10:40:12 -08:00
samba-4.12.5.tar.asc [main] Add SPECS-EXTENDED folder and populate with 2159 packages (#1754) 2021-12-13 10:40:12 -08:00
samba.logrotate [main] Add SPECS-EXTENDED folder and populate with 2159 packages (#1754) 2021-12-13 10:40:12 -08:00
samba.pamd [main] Add SPECS-EXTENDED folder and populate with 2159 packages (#1754) 2021-12-13 10:40:12 -08:00
samba.signatures.json [main] Add SPECS-EXTENDED folder and populate with 2159 packages (#1754) 2021-12-13 10:40:12 -08:00
samba.spec fix extended build breaks in main: libotr, gupnp, samba (#8830) 2024-04-18 11:37:58 -07:00
smb.conf.example [main] Add SPECS-EXTENDED folder and populate with 2159 packages (#1754) 2021-12-13 10:40:12 -08:00
smb.conf.vendor [main] Add SPECS-EXTENDED folder and populate with 2159 packages (#1754) 2021-12-13 10:40:12 -08:00

README.downgrade

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.