| [988] | 1 | '\" t
|
|---|
| 2 | .\" Title: samba-tool
|
|---|
| 3 | .\" Author: [see the "AUTHOR" section]
|
|---|
| 4 | .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
|---|
| 5 | .\" Date: 05/02/2016
|
|---|
| 6 | .\" Manual: System Administration tools
|
|---|
| 7 | .\" Source: Samba 4.4
|
|---|
| 8 | .\" Language: English
|
|---|
| 9 | .\"
|
|---|
| 10 | .TH "SAMBA\-TOOL" "8" "05/02/2016" "Samba 4\&.4" "System Administration tools"
|
|---|
| 11 | .\" -----------------------------------------------------------------
|
|---|
| 12 | .\" * Define some portability stuff
|
|---|
| 13 | .\" -----------------------------------------------------------------
|
|---|
| 14 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|---|
| 15 | .\" http://bugs.debian.org/507673
|
|---|
| 16 | .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|---|
| 17 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|---|
| 18 | .ie \n(.g .ds Aq \(aq
|
|---|
| 19 | .el .ds Aq '
|
|---|
| 20 | .\" -----------------------------------------------------------------
|
|---|
| 21 | .\" * set default formatting
|
|---|
| 22 | .\" -----------------------------------------------------------------
|
|---|
| 23 | .\" disable hyphenation
|
|---|
| 24 | .nh
|
|---|
| 25 | .\" disable justification (adjust text to left margin only)
|
|---|
| 26 | .ad l
|
|---|
| 27 | .\" -----------------------------------------------------------------
|
|---|
| 28 | .\" * MAIN CONTENT STARTS HERE *
|
|---|
| 29 | .\" -----------------------------------------------------------------
|
|---|
| 30 | .SH "NAME"
|
|---|
| 31 | samba-tool \- Main Samba administration tool\&.
|
|---|
| 32 | .SH "SYNOPSIS"
|
|---|
| 33 | .HP \w'\ 'u
|
|---|
| 34 | samba\-tool [\-h] [\-W\ myworkgroup] [\-U\ user] [\-d\ debuglevel] [\-\-v]
|
|---|
| 35 | .SH "DESCRIPTION"
|
|---|
| 36 | .PP
|
|---|
| 37 | This tool is part of the
|
|---|
| 38 | \fBsamba\fR(7)
|
|---|
| 39 | suite\&.
|
|---|
| 40 | .SH "OPTIONS"
|
|---|
| 41 | .PP
|
|---|
| 42 | \-h|\-\-help
|
|---|
| 43 | .RS 4
|
|---|
| 44 | Show this help message and exit
|
|---|
| 45 | .RE
|
|---|
| 46 | .PP
|
|---|
| 47 | \-\-realm=REALM
|
|---|
| 48 | .RS 4
|
|---|
| 49 | Set the realm name
|
|---|
| 50 | .RE
|
|---|
| 51 | .PP
|
|---|
| 52 | \-\-simple\-bind\-dn=DN
|
|---|
| 53 | .RS 4
|
|---|
| 54 | DN to use for a simple bind
|
|---|
| 55 | .RE
|
|---|
| 56 | .PP
|
|---|
| 57 | \-\-password=PASSWORD
|
|---|
| 58 | .RS 4
|
|---|
| 59 | Password
|
|---|
| 60 | .RE
|
|---|
| 61 | .PP
|
|---|
| 62 | \-U USERNAME|\-\-username=USERNAME
|
|---|
| 63 | .RS 4
|
|---|
| 64 | Username
|
|---|
| 65 | .RE
|
|---|
| 66 | .PP
|
|---|
| 67 | \-W WORKGROUP|\-\-workgroup=WORKGROUP
|
|---|
| 68 | .RS 4
|
|---|
| 69 | Workgroup
|
|---|
| 70 | .RE
|
|---|
| 71 | .PP
|
|---|
| 72 | \-N|\-\-no\-pass
|
|---|
| 73 | .RS 4
|
|---|
| 74 | Don\*(Aqt ask for a password
|
|---|
| 75 | .RE
|
|---|
| 76 | .PP
|
|---|
| 77 | \-k KERBEROS|\-\-kerberos=KERBEROS
|
|---|
| 78 | .RS 4
|
|---|
| 79 | Use Kerberos
|
|---|
| 80 | .RE
|
|---|
| 81 | .PP
|
|---|
| 82 | \-\-ipaddress=IPADDRESS
|
|---|
| 83 | .RS 4
|
|---|
| 84 | IP address of the server
|
|---|
| 85 | .RE
|
|---|
| 86 | .SH "COMMANDS"
|
|---|
| 87 | .SS "dbcheck"
|
|---|
| 88 | .PP
|
|---|
| 89 | Check the local AD database for errors\&.
|
|---|
| 90 | .SS "delegation"
|
|---|
| 91 | .PP
|
|---|
| 92 | Manage Delegations\&.
|
|---|
| 93 | .SS "delegation add-service accountname principal [options]"
|
|---|
| 94 | .PP
|
|---|
| 95 | Add a service principal as msDS\-AllowedToDelegateTo\&.
|
|---|
| 96 | .SS "delegation del-service accountname principal [options]"
|
|---|
| 97 | .PP
|
|---|
| 98 | Delete a service principal as msDS\-AllowedToDelegateTo\&.
|
|---|
| 99 | .SS "delegation for-any-protocol accountname [(on|off)] [options]"
|
|---|
| 100 | .PP
|
|---|
| 101 | Set/unset UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION (S4U2Proxy) for an account\&.
|
|---|
| 102 | .SS "delegation for-any-service accountname [(on|off)] [options]"
|
|---|
| 103 | .PP
|
|---|
| 104 | Set/unset UF_TRUSTED_FOR_DELEGATION for an account\&.
|
|---|
| 105 | .SS "delegation show accountname [options] "
|
|---|
| 106 | .PP
|
|---|
| 107 | Show the delegation setting of an account\&.
|
|---|
| 108 | .SS "dns"
|
|---|
| 109 | .PP
|
|---|
| 110 | Manage Domain Name Service (DNS)\&.
|
|---|
| 111 | .SS "dns add server zone name A|AAAA|PTR|CNAME|NS|MX|SRV|TXT data"
|
|---|
| 112 | .PP
|
|---|
| 113 | Add a DNS record\&.
|
|---|
| 114 | .SS "dns delete server zone name A|AAAA|PTR|CNAME|NS|MX|SRV|TXT data"
|
|---|
| 115 | .PP
|
|---|
| 116 | Delete a DNS record\&.
|
|---|
| 117 | .SS "dns query server zone name A|AAAA|PTR|CNAME|NS|MX|SRV|TXT|ALL [options] data"
|
|---|
| 118 | .PP
|
|---|
| 119 | Query a name\&.
|
|---|
| 120 | .SS "dns roothints server [name] [options]"
|
|---|
| 121 | .PP
|
|---|
| 122 | Query root hints\&.
|
|---|
| 123 | .SS "dns serverinfo server [options]"
|
|---|
| 124 | .PP
|
|---|
| 125 | Query server information\&.
|
|---|
| 126 | .SS "dns update server zone name A|AAAA|PTR|CNAME|NS|MX|SRV|TXT olddata newdata"
|
|---|
| 127 | .PP
|
|---|
| 128 | Update a DNS record\&.
|
|---|
| 129 | .SS "dns zonecreate server zone [options]"
|
|---|
| 130 | .PP
|
|---|
| 131 | Create a zone\&.
|
|---|
| 132 | .SS "dns zonedelete server zone [options]"
|
|---|
| 133 | .PP
|
|---|
| 134 | Delete a zone\&.
|
|---|
| 135 | .SS "dns zoneinfo server zone [options]"
|
|---|
| 136 | .PP
|
|---|
| 137 | Query zone information\&.
|
|---|
| 138 | .SS "dns zonelist server [options]"
|
|---|
| 139 | .PP
|
|---|
| 140 | List zones\&.
|
|---|
| 141 | .SS "domain"
|
|---|
| 142 | .PP
|
|---|
| 143 | Manage Domain\&.
|
|---|
| 144 | .SS "domain classicupgrade [options] classic_smb_conf"
|
|---|
| 145 | .PP
|
|---|
| 146 | Upgrade from Samba classic (NT4\-like) database to Samba AD DC database\&.
|
|---|
| 147 | .SS "domain dcpromo dnsdomain [DC|RODC] [options]"
|
|---|
| 148 | .PP
|
|---|
| 149 | Promote an existing domain member or NT4 PDC to an AD DC\&.
|
|---|
| 150 | .SS "domain demote"
|
|---|
| 151 | .PP
|
|---|
| 152 | Demote ourselves from the role of domain controller\&.
|
|---|
| 153 | .SS "domain exportkeytab keytab [options]"
|
|---|
| 154 | .PP
|
|---|
| 155 | Dumps Kerberos keys of the domain into a keytab\&.
|
|---|
| 156 | .SS "domain info ip_address [options]"
|
|---|
| 157 | .PP
|
|---|
| 158 | Print basic info about a domain and the specified DC\&.
|
|---|
| 159 | .SS "domain join dnsdomain [DC|RODC|MEMBER|SUBDOMAIN] [options]"
|
|---|
| 160 | .PP
|
|---|
| 161 | Join a domain as either member or backup domain controller\&.
|
|---|
| 162 | .SS "domain level show|raise options [options]"
|
|---|
| 163 | .PP
|
|---|
| 164 | Show/raise domain and forest function levels\&.
|
|---|
| 165 | .SS "domain passwordsettings show|set options [options]"
|
|---|
| 166 | .PP
|
|---|
| 167 | Show/set password settings\&.
|
|---|
| 168 | .SS "domain provision"
|
|---|
| 169 | .PP
|
|---|
| 170 | Promote an existing domain member or NT4 PDC to an AD DC\&.
|
|---|
| 171 | .SS "domain trust"
|
|---|
| 172 | .PP
|
|---|
| 173 | Domain and forest trust management\&.
|
|---|
| 174 | .SS "domain trust create DOMAIN options [options]"
|
|---|
| 175 | .PP
|
|---|
| 176 | Create a domain or forest trust\&.
|
|---|
| 177 | .SS "domain trust delete DOMAIN options [options]"
|
|---|
| 178 | .PP
|
|---|
| 179 | Delete a domain trust\&.
|
|---|
| 180 | .SS "domain trust list options [options]"
|
|---|
| 181 | .PP
|
|---|
| 182 | List domain trusts\&.
|
|---|
| 183 | .SS "domain trust namespaces [DOMAIN] options [options]"
|
|---|
| 184 | .PP
|
|---|
| 185 | Manage forest trust namespaces\&.
|
|---|
| 186 | .SS "domain trust show DOMAIN options [options]"
|
|---|
| 187 | .PP
|
|---|
| 188 | Show trusted domain details\&.
|
|---|
| 189 | .SS "domain trust validate DOMAIN options [options]"
|
|---|
| 190 | .PP
|
|---|
| 191 | Validate a domain trust\&.
|
|---|
| 192 | .SS "drs"
|
|---|
| 193 | .PP
|
|---|
| 194 | Manage Directory Replication Services (DRS)\&.
|
|---|
| 195 | .SS "drs bind"
|
|---|
| 196 | .PP
|
|---|
| 197 | Show DRS capabilities of a server\&.
|
|---|
| 198 | .SS "drs kcc"
|
|---|
| 199 | .PP
|
|---|
| 200 | Trigger knowledge consistency center run\&.
|
|---|
| 201 | .SS "drs options"
|
|---|
| 202 | .PP
|
|---|
| 203 | Query or change
|
|---|
| 204 | \fIoptions\fR
|
|---|
| 205 | for NTDS Settings object of a domain controller\&.
|
|---|
| 206 | .SS "drs replicate destination_DC source_DC NC [options]"
|
|---|
| 207 | .PP
|
|---|
| 208 | Replicate a naming context between two DCs\&.
|
|---|
| 209 | .SS "drs showrepl"
|
|---|
| 210 | .PP
|
|---|
| 211 | Show replication status\&.
|
|---|
| 212 | .SS "dsacl"
|
|---|
| 213 | .PP
|
|---|
| 214 | Administer DS ACLs
|
|---|
| 215 | .SS "dsacl set"
|
|---|
| 216 | .PP
|
|---|
| 217 | Modify access list on a directory object\&.
|
|---|
| 218 | .SS "fsmo"
|
|---|
| 219 | .PP
|
|---|
| 220 | Manage Flexible Single Master Operations (FSMO)\&.
|
|---|
| 221 | .SS "fsmo seize [options]"
|
|---|
| 222 | .PP
|
|---|
| 223 | Seize the role\&.
|
|---|
| 224 | .SS "fsmo show"
|
|---|
| 225 | .PP
|
|---|
| 226 | Show the roles\&.
|
|---|
| 227 | .SS "fsmo transfer [options]"
|
|---|
| 228 | .PP
|
|---|
| 229 | Transfer the role\&.
|
|---|
| 230 | .SS "gpo"
|
|---|
| 231 | .PP
|
|---|
| 232 | Manage Group Policy Objects (GPO)\&.
|
|---|
| 233 | .SS "gpo create displayname [options]"
|
|---|
| 234 | .PP
|
|---|
| 235 | Create an empty GPO\&.
|
|---|
| 236 | .SS "gpo del gpo [options]"
|
|---|
| 237 | .PP
|
|---|
| 238 | Delete GPO\&.
|
|---|
| 239 | .SS "gpo dellink container_dn gpo [options]"
|
|---|
| 240 | .PP
|
|---|
| 241 | Delete GPO link from a container\&.
|
|---|
| 242 | .SS "gpo fetch gpo [options]"
|
|---|
| 243 | .PP
|
|---|
| 244 | Download a GPO\&.
|
|---|
| 245 | .SS "gpo getinheritance container_dn [options]"
|
|---|
| 246 | .PP
|
|---|
| 247 | Get inheritance flag for a container\&.
|
|---|
| 248 | .SS "gpo getlink container_dn [options]"
|
|---|
| |
|---|