1SAMBA_DOWNGRADE_DB(8) User Commands SAMBA_DOWNGRADE_DB(8)
2
3
4
6 samba_downgrade_db - Samba tool for downgrading AD databases
7
9 samba_downgrade_db [-H] [-s]
10
12 This tool is part of the samba(8) suite.
13
14 The format of the Samba Active Directory (AD) database changed in
15 version 4.8 and 4.11. When downgrading a Samba AD Domain Controller
16 (DC) to a release that is older than either of these versions (e.g.
17 4.11 to 4.10), the AD database must be manually downgraded before the
18 Samba packages can be safely downgraded.
19
20 This tool downgrades a Samba sam.ldb database from the format used in
21 version 4.17.5 to that of version 4.7. The v4.7 database format can
22 safely be read by any version of Samba. If necessary, later versions of
23 Samba will repack and reconfigure a v4.7-format database when the samba
24 executable is first started.
25
26 Note that all Samba services must be stopped on the DC before running
27 this tool. Once the tool has run, do not restart samba or modify the
28 database before the Samba software package has been downgraded.
29
31 -H [sam.ldb file]
32 Link directly to a sam.ldb file instead of using path in system
33 smb.conf
34
35 -s [smb.conf file]
36 Link directly to smb.conf file instead of system default (usually
37 in /usr/local/samba/etc/smb.conf)
38
40 This man page is complete for version 4.17.5 of the Samba suite.
41
43 The original Samba software and related utilities were created by
44 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
45 Source project similar to the way the Linux kernel is developed.
46
47 The samba_downgrade_db tool was developed by the Samba team at Catalyst
48 IT Ltd.
49
50
51
52Samba 4.17.5 01/26/2023 SAMBA_DOWNGRADE_DB(8)