summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man8/samba_downgrade_db.8
blob: f24edaa29262c17cd5ec15830a9eacc2b3e53440 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
'\" t
.\"     Title: samba_downgrade_db
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 02/19/2024
.\"    Manual: User Commands
.\"    Source: Samba 4.19.5
.\"  Language: English
.\"
.TH "SAMBA_DOWNGRADE_DB" "8" "02/19/2024" "Samba 4\&.19\&.5" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
samba_downgrade_db \- Samba tool for downgrading AD databases
.SH "SYNOPSIS"
.HP \w'\ 'u
samba_downgrade_db [\-H] [\-s]
.SH "DESCRIPTION"
.PP
This tool is part of the
\fBsamba\fR(8)
suite\&.
.PP
The format of the Samba Active Directory (AD) database changed in version 4\&.8 and 4\&.11\&. When downgrading a Samba AD Domain Controller (DC) to a release that is older than either of these versions (e\&.g\&. 4\&.11 to 4\&.10), the AD database must be manually downgraded
\fIbefore\fR
the Samba packages can be safely downgraded\&.
.PP
This tool downgrades a Samba sam\&.ldb database from the format used in version 4\&.19\&.5 to that of version 4\&.7\&. The v4\&.7 database format can safely be read by any version of Samba\&. If necessary, later versions of Samba will repack and reconfigure a v4\&.7\-format database when the samba executable is first started\&.
.PP
Note that all Samba services must be stopped on the DC before running this tool\&. Once the tool has run, do not restart samba or modify the database before the Samba software package has been downgraded\&.
.SH "OPTIONS"
.PP
\-H [sam\&.ldb file]
.RS 4
Link directly to a sam\&.ldb file instead of using path in system smb\&.conf
.RE
.PP
\-s [smb\&.conf file]
.RS 4
Link directly to smb\&.conf file instead of system default (usually in /usr/local/samba/etc/smb\&.conf)
.RE
.SH "VERSION"
.PP
This man page is complete for version 4\&.19\&.5 of the Samba suite\&.
.SH "AUTHOR"
.PP
The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
.PP
The samba_downgrade_db tool was developed by the Samba team at Catalyst IT Ltd\&.