[0931098] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[0931098] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[676876ba] | 7 | <!ENTITY samba-download-http "https://download.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz">
|
---|
[1c73261] | 8 | <!ENTITY samba-download-ftp " ">
|
---|
[79736ae6] | 9 | <!ENTITY samba-md5sum "0bcbee83dc1918055873691bb6007838">
|
---|
| 10 | <!ENTITY samba-size "40 MB">
|
---|
| 11 | <!ENTITY samba-buildsize "696 MB (add 73 MB for quicktest)">
|
---|
| 12 | <!ENTITY samba-time "2.1 SBU (using parallelism=4; add 0.4 SBU for quicktest)">
|
---|
[0931098] | 13 | ]>
|
---|
[cdddf067] | 14 |
|
---|
[45f56ac] | 15 | <sect1 id="samba" xreflabel="Samba-&samba-version;">
|
---|
| 16 | <?dbhtml filename="samba.html"?>
|
---|
[99ef1fc] | 17 |
|
---|
| 18 |
|
---|
[45f56ac] | 19 | <title>Samba-&samba-version;</title>
|
---|
[99ef1fc] | 20 |
|
---|
[45f56ac] | 21 | <indexterm zone="samba">
|
---|
[99ef1fc] | 22 | <primary sortas="a-Samba">Samba</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
[4e82a189] | 25 | <sect2 role="package">
|
---|
[99ef1fc] | 26 | <title>Introduction to Samba</title>
|
---|
| 27 |
|
---|
[b51fe6e] | 28 | <para>
|
---|
| 29 | The <application>Samba</application> package provides file and print
|
---|
| 30 | services to SMB/CIFS clients and Windows networking to Linux clients.
|
---|
| 31 | <application>Samba</application> can also be configured as a Windows
|
---|
| 32 | Domain Controller replacement, a file/print server acting as a member
|
---|
[cdddf067] | 33 | of a Windows Active Directory domain and a NetBIOS (RFC1001/1002)
|
---|
[b51fe6e] | 34 | nameserver (which among other things provides LAN browsing support).
|
---|
| 35 | </para>
|
---|
[99ef1fc] | 36 |
|
---|
[ff2a896] | 37 | &lfs120_checked;
|
---|
[ee792ef] | 38 |
|
---|
[99ef1fc] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[b51fe6e] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&samba-download-http;"/>
|
---|
| 44 | </para>
|
---|
[99ef1fc] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[b51fe6e] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&samba-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[99ef1fc] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[b51fe6e] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &samba-md5sum;
|
---|
| 54 | </para>
|
---|
[99ef1fc] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[b51fe6e] | 57 | <para>
|
---|
| 58 | Download size: &samba-size;
|
---|
| 59 | </para>
|
---|
[99ef1fc] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[b51fe6e] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &samba-buildsize;
|
---|
| 64 | </para>
|
---|
[99ef1fc] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[b51fe6e] | 67 | <para>
|
---|
| 68 | Estimated build time: &samba-time;
|
---|
| 69 | </para>
|
---|
[99ef1fc] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Samba Dependencies</bridgehead>
|
---|
| 74 |
|
---|
[e85edcc] | 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[7cae14c] | 76 | <para role="required">
|
---|
[bfa397b] | 77 | <xref linkend="gnutls"/>,
|
---|
[7d25056d] | 78 | <xref linkend="jansson"/>,
|
---|
[1aa7410a] | 79 | <xref linkend="perl-json"/>,
|
---|
[51f8de3] | 80 | <xref linkend="libtirpc"/>,
|
---|
[64e4b6f1] | 81 | <xref linkend="perl-parse-yapp"/>, and
|
---|
[51f8de3] | 82 | <xref linkend="rpcsvc-proto"/>
|
---|
[7cae14c] | 83 | </para>
|
---|
[e85edcc] | 84 |
|
---|
[6e08e9c0] | 85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[e242b9a] | 86 | <para role="recommended">
|
---|
[d514a90] | 87 | <phrase revision="sysv"><xref linkend="dbus"/> (for vfs_snapper, which is
|
---|
| 88 | useful on systems that support Volume Shadow Copies on Windows),</phrase>
|
---|
[d38746e] | 89 | <xref linkend="fuse3"/>,
|
---|
[60d4af1] | 90 | <xref linkend="gpgme"/>,
|
---|
[c8635a0] | 91 | <xref linkend="icu"/>,
|
---|
[94bdff09] | 92 | <xref linkend="libtasn1"/>,
|
---|
[2f81d97a] | 93 | <xref linkend="libxslt"/> (for documentation),
|
---|
[e678daee] | 94 | <xref linkend="linux-pam"/>, and
|
---|
[94b42903] | 95 | <xref linkend="openldap"/>
|
---|
[6e08e9c0] | 96 | </para>
|
---|
| 97 |
|
---|
[99ef1fc] | 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7cae14c] | 99 | <para role="optional">
|
---|
[5f1ca9f] | 100 | <xref linkend="avahi"/>,
|
---|
[8c602db7] | 101 | <xref linkend="bind"/>,
|
---|
[7cae14c] | 102 | <xref linkend="cups"/>,
|
---|
[3fdc9b0] | 103 | <xref linkend="cyrus-sasl"/>,
|
---|
| 104 | <xref linkend="gdb"/>,
|
---|
| 105 | <xref linkend="git"/>,
|
---|
[030e18a] | 106 | <xref linkend="gnupg2"/> (required for ADS and the test suite),
|
---|
[d38746e] | 107 | <xref linkend="libaio"/>,
|
---|
[64e4b6f1] | 108 | <xref linkend="libarchive"/> (for tar in smbclient),
|
---|
[5f1ca9f] | 109 | <xref linkend="libcap-pam"/>,
|
---|
[3fdc9b0] | 110 | <xref linkend="libgcrypt"/>,
|
---|
[3310eeb1] | 111 | <xref linkend="libnsl"/>,
|
---|
[d2ec0e0] | 112 | <xref linkend="libunwind"/>,
|
---|
[e678daee] | 113 | <xref linkend="lmdb"/>,
|
---|
[4825f68] | 114 | <xref linkend="markdown"/>,
|
---|
[5ca14bdd] | 115 | <xref linkend="mitkrb"/>,
|
---|
[3fdc9b0] | 116 | <xref linkend="nss"/>,
|
---|
[5f1ca9f] | 117 | <xref linkend="popt"/>,
|
---|
[e5f33088] | 118 | <xref linkend="talloc"/> (included),
|
---|
[3fdc9b0] | 119 | <xref linkend="vala"/>,
|
---|
[5f1ca9f] | 120 | <xref linkend="valgrind"/> (optionally used by the test suite),
|
---|
[7cae14c] | 121 | <xref linkend="xfsprogs"/>,
|
---|
[e650cfe9] | 122 | <ulink url="https://cmocka.org/">cmocka</ulink>,
|
---|
[6e2729c] | 123 | <ulink url="https://cryptography.io/en/latest/">cryptography</ulink>,
|
---|
[e5f33088] | 124 | <ulink url="https://ctdb.samba.org/">ctdb</ulink> (included),
|
---|
[8c602db7] | 125 | <ulink url="https://cwrap.org/">cwrap</ulink>,
|
---|
| 126 | <ulink url="&pypi;/dnspython/">dnspython</ulink>,
|
---|
[c7b1dcc] | 127 | <ulink url="https://packages.debian.org/stretch/fam">FAM</ulink>,
|
---|
[6b7a631] | 128 | <ulink url="https://packages.debian.org/sid/gamin">Gamin</ulink>,
|
---|
[0f5f10b] | 129 | <ulink url="https://www.gluster.org/">GlusterFS</ulink>,
|
---|
[a5f7042] | 130 | <ulink url="https://github.com/heimdal/">Heimdal</ulink> (included),
|
---|
[6e2729c] | 131 | <ulink url="https://pypi.org/project/iso8601/">iso8601</ulink>,
|
---|
[f89b587] | 132 | <ulink url="https://ldb.samba.org/">ldb</ulink> (included),
|
---|
[75e3e09] | 133 | <ulink url="https://www.openafs.org/">OpenAFS</ulink>,
|
---|
[030e18a] | 134 | <ulink url="https://github.com/python-poetry/poetry-core">poetry-core (required for ADS)</ulink>,
|
---|
[6e2729c] | 135 | <ulink url="https://pypi.org/project/pyasn1/">pyasn1</ulink>,
|
---|
[676876ba] | 136 | <ulink url="https://tevent.samba.org/">tevent</ulink> (included),
|
---|
| 137 | <ulink url="https://tdb.samba.org/">tdb</ulink> (included), and
|
---|
| 138 | <ulink url="https://download.gnome.org/sources/tracker/2.3/">tracker-2</ulink>
|
---|
[f1607a4] | 139 | </para>
|
---|
[6dcdcde] | 140 |
|
---|
[e5f33088] | 141 | <bridgehead renderas="sect4">Optional (for the Developer Test Suite)</bridgehead>
|
---|
[b51fe6e] | 142 | <para role="optional">
|
---|
| 143 | Install in listed order:
|
---|
| 144 | <xref linkend="six"/>,
|
---|
[8b819c5] | 145 | <xref linkend="pytest"/>,
|
---|
[b51fe6e] | 146 | <ulink url="&pypi;/argparse/">argparse</ulink>,
|
---|
| 147 | <ulink url="&pypi;/testtools/">testtools</ulink>,
|
---|
[030e18a] | 148 | <ulink url="&pypi;/testscenarios/">testscenarios</ulink>, and
|
---|
[b51fe6e] | 149 | <ulink url="&pypi;/python-subunit/">python-subunit</ulink>
|
---|
| 150 | </para>
|
---|
[e5f33088] | 151 |
|
---|
[42ddc30] | 152 | <para condition="html" role="usernotes">Editor Notes:
|
---|
[216b521] | 153 | <ulink url="&blfs-wiki;/samba4"/></para>
|
---|
[3cb0c57] | 154 |
|
---|
[99ef1fc] | 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="installation">
|
---|
| 158 | <title>Installation of Samba</title>
|
---|
[2ae8864] | 159 |
|
---|
[6e2729c] | 160 | <para>
|
---|
[c7f6a7e1] | 161 | To support the test suite, set up a Python virtual environment
|
---|
| 162 | for some Python modules out of the scope of BLFS:
|
---|
[6e2729c] | 163 | </para>
|
---|
| 164 |
|
---|
[c7f6a7e1] | 165 | <screen><userinput remap="pre">python3 -m venv pyvenv &&
|
---|
| 166 | ./pyvenv/bin/pip3 install cryptography pyasn1 iso8601</userinput></screen>
|
---|
[6e2729c] | 167 |
|
---|
[b51fe6e] | 168 | <para>
|
---|
| 169 | Install <application>Samba</application> by running the following
|
---|
| 170 | commands:
|
---|
| 171 | </para>
|
---|
[65dea1b6] | 172 |
|
---|
[d1348fd] | 173 | <screen revision="sysv"><userinput>PYTHON=$PWD/pyvenv/bin/python3 \
|
---|
| 174 | PATH=$PWD/pyvenv/bin:$PATH \
|
---|
| 175 | ./configure \
|
---|
| 176 | --prefix=/usr \
|
---|
| 177 | --sysconfdir=/etc \
|
---|
| 178 | --localstatedir=/var \
|
---|
| 179 | --with-piddir=/run/samba \
|
---|
| 180 | --with-pammodulesdir=/usr/lib/security \
|
---|
| 181 | --enable-fhs \
|
---|
| 182 | --without-ad-dc \
|
---|
| 183 | --without-systemd \
|
---|
| 184 | --enable-selftest &&
|
---|
[7cae14c] | 185 | make</userinput></screen>
|
---|
[2ae8864] | 186 |
|
---|
[d1348fd] | 187 | <screen revision="systemd"><userinput>PYTHON=$PWD/pyvenv/bin/python3 \
|
---|
| 188 | ./configure \
|
---|
| 189 | --prefix=/usr \
|
---|
| 190 | --sysconfdir=/etc \
|
---|
| 191 | --localstatedir=/var \
|
---|
| 192 | --with-piddir=/run/samba \
|
---|
| 193 | --with-pammodulesdir=/usr/lib/security \
|
---|
| 194 | --enable-fhs \
|
---|
| 195 | --without-ad-dc \
|
---|
| 196 | --enable-selftest &&
|
---|
[7b478500] | 197 | make</userinput></screen>
|
---|
| 198 |
|
---|
[b51fe6e] | 199 | <para>
|
---|
[acb648f] | 200 | To test the results, issue:
|
---|
[94bdff09] | 201 | <command>PATH=$PWD/pyvenv/bin:$PATH make quicktest</command>. The test
|
---|
| 202 | suite will produce lines that look like failures, but these are innocuous.
|
---|
| 203 | The last few lines of output should report <emphasis>"ALL OK"</emphasis>
|
---|
| 204 | for a good test run. A summary of any failures can be found in
|
---|
[d2b7cae] | 205 | <filename class="directory">./st/summary</filename>.
|
---|
[b51fe6e] | 206 | </para>
|
---|
| 207 |
|
---|
| 208 | <!--
|
---|
| 209 | If doing a security update or a new minor version (point releases do not
|
---|
| 210 | apply here), run 'make testenv' before running 'make test' and 'make
|
---|
[b59e5eb3] | 211 | subunit-test'. This will set up the test environment and make the tests
|
---|
[b51fe6e] | 212 | run faster, as well as point out any glaring issues that might affect
|
---|
| 213 | the new Samba installation. With 4.10.4, I got 236 failures, 73 errors,
|
---|
| 214 | and 2 unexpected successes. These were all known upstream, and you can
|
---|
| 215 | find them in the knownfail list in their git repo. This is per
|
---|
| 216 | Upstream's recommendation over IRC.
|
---|
| 217 | -->
|
---|
[8c602db7] | 218 |
|
---|
[e5f33088] | 219 | <note>
|
---|
[b51fe6e] | 220 | <para>
|
---|
| 221 | Additionally, developer test suites are available. If you've installed
|
---|
[c7f6a7e1] | 222 | the optional python modules above in the Python virtual environment
|
---|
| 223 | for building this package, you can run these tests with
|
---|
[b51fe6e] | 224 | <command>make test</command>. It is not recommended for the average
|
---|
| 225 | builder at around 290 SBU and over a gigabyte of disk space, and you
|
---|
| 226 | should expect ~73 errors and ~30 failures from the 3000+ tests.
|
---|
| 227 | </para>
|
---|
[e5f33088] | 228 | </note>
|
---|
[0f53ca47] | 229 |
|
---|
[b51fe6e] | 230 | <para>
|
---|
[f5f8a5d0] | 231 | Fix hard coded paths to Python 3 interpreter:
|
---|
[c7f6a7e1] | 232 | </para>
|
---|
| 233 |
|
---|
| 234 | <screen><userinput>sed '1s@^.*$@#!/usr/bin/python3@' \
|
---|
[f5f8a5d0] | 235 | -i ./bin/default/source4/scripting/bin/*.inst</userinput></screen>
|
---|
[c7f6a7e1] | 236 |
|
---|
| 237 | <para>
|
---|
| 238 | If upgrading from an old version of samba, as the
|
---|
| 239 | <systemitem class="username">root</systemitem> user, remove the old
|
---|
[03eca7f9] | 240 | Python support files to prevent some issues:
|
---|
[c7f6a7e1] | 241 | </para>
|
---|
| 242 |
|
---|
| 243 | <screen role="root"><userinput>rm -rf /usr/lib/python&python3-majorver;/site-packages/samba</userinput></screen>
|
---|
| 244 |
|
---|
| 245 | <para>
|
---|
| 246 | Still as the <systemitem class="username">root</systemitem> user,
|
---|
| 247 | install the package:
|
---|
[b51fe6e] | 248 | </para>
|
---|
[38b41c2] | 249 |
|
---|
[214b9ac] | 250 | <screen role="root"><userinput>make install &&
|
---|
| 251 |
|
---|
[b0ed6bdf] | 252 | install -v -m644 examples/smb.conf.default /etc/samba &&
|
---|
[214b9ac] | 253 |
|
---|
[db91d7e] | 254 | sed -e "s;log file =.*;log file = /var/log/samba/%m.log;" \
|
---|
| 255 | -e "s;path = /usr/spool/samba;path = /var/spool/samba;" \
|
---|
| 256 | -i /etc/samba/smb.conf.default &&
|
---|
| 257 |
|
---|
[7cae14c] | 258 | mkdir -pv /etc/openldap/schema &&
|
---|
| 259 |
|
---|
| 260 | install -v -m644 examples/LDAP/README \
|
---|
[457bcc4e] | 261 | /etc/openldap/schema/README.samba &&
|
---|
[f3429309] | 262 |
|
---|
[7cae14c] | 263 | install -v -m644 examples/LDAP/samba* \
|
---|
| 264 | /etc/openldap/schema &&
|
---|
[f3429309] | 265 |
|
---|
[96770a19] | 266 | install -v -m755 examples/LDAP/{get*,ol*} \
|
---|
[d9e0208] | 267 | /etc/openldap/schema</userinput></screen>
|
---|
[7cae14c] | 268 |
|
---|
[99ef1fc] | 269 | </sect2>
|
---|
| 270 |
|
---|
| 271 | <sect2 role="commands">
|
---|
| 272 | <title>Command Explanations</title>
|
---|
| 273 |
|
---|
[b51fe6e] | 274 | <para>
|
---|
| 275 | <parameter>--enable-fhs</parameter>: Assigns all other file paths in
|
---|
| 276 | a manner compliant with the Filesystem Hierarchy Standard (FHS).
|
---|
| 277 | </para>
|
---|
[99ef1fc] | 278 |
|
---|
[b51fe6e] | 279 | <para revision="sysv">
|
---|
| 280 | <parameter>--without-systemd</parameter>: Disable
|
---|
| 281 | <application>systemd</application> integration, since it is not built
|
---|
| 282 | in the System V version of LFS/BLFS.
|
---|
| 283 | </para>
|
---|
[5ca14bdd] | 284 |
|
---|
[5761707] | 285 | <para revision="sysv">
|
---|
| 286 | <parameter>--with-shared-modules='!vfs_snapper'</parameter>: Disable
|
---|
| 287 | the vfs_snapper module if you want to build samba without <application>dbus</application> support, for setups without graphical user intefaces.
|
---|
| 288 | </para>
|
---|
| 289 |
|
---|
[b51fe6e] | 290 | <para>
|
---|
[204252e] | 291 | <parameter>--without-ad-dc</parameter>: Disables
|
---|
[b51fe6e] | 292 | Active Directory Domain Controller functionality. See <ulink url=
|
---|
| 293 | "https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller">
|
---|
[b59e5eb3] | 294 | Set up a Samba Active Directory Domain Controller</ulink> for detailed
|
---|
[b51fe6e] | 295 | information. Remove this switch if you've installed the Python modules
|
---|
| 296 | needed for ADS support. Note that BLFS does not provide a samba bootscript
|
---|
[65a15acc] | 297 | or systemd unit for an Active Directory domain controller.
|
---|
[b51fe6e] | 298 | </para>
|
---|
[6dcdcde] | 299 |
|
---|
[b51fe6e] | 300 | <para>
|
---|
| 301 | <option>--with-selftest-prefix=SELFTEST_PREFIX</option>: This option
|
---|
| 302 | specifies the test suite work directory (default=./st).
|
---|
| 303 | </para>
|
---|
[99ece5d] | 304 |
|
---|
[b51fe6e] | 305 | <para>
|
---|
| 306 | <command>install -v -m644 examples/LDAP/* /etc/openldap/schema</command>:
|
---|
| 307 | These commands are used to copy sample Samba schemas to the OpenLDAP
|
---|
| 308 | <filename class='directory'>schema</filename> directory.
|
---|
| 309 | </para>
|
---|
[99ef1fc] | 310 |
|
---|
[b51fe6e] | 311 | <para>
|
---|
| 312 | <command>install -v -m644 ../examples/smb.conf.default
|
---|
| 313 | /etc/samba</command>: This copies a default <filename>smb.conf</filename>
|
---|
| 314 | file into <filename>/etc/samba</filename>. This sample configuration will
|
---|
| 315 | not work until you copy it to <filename>/etc/samba/smb.conf</filename> and
|
---|
| 316 | make the appropriate changes for your installation. See the configuration
|
---|
| 317 | section for minimum values which must be set.
|
---|
| 318 | </para>
|
---|
[99ef1fc] | 319 |
|
---|
| 320 | </sect2>
|
---|
| 321 |
|
---|
| 322 | <sect2 role="configuration">
|
---|
| 323 | <title>Configuring Samba</title>
|
---|
| 324 |
|
---|
[45f56ac] | 325 | <sect3 id="samba-config">
|
---|
[99ef1fc] | 326 | <title>Config Files</title>
|
---|
| 327 |
|
---|
[b51fe6e] | 328 | <para>
|
---|
| 329 | /etc/samba/smb.conf
|
---|
| 330 | </para>
|
---|
[99ef1fc] | 331 |
|
---|
[45f56ac] | 332 | <indexterm zone="samba samba-config">
|
---|
[99ef1fc] | 333 | <primary sortas="e-etc-samba-smb.conf">/etc/samba/smb.conf</primary>
|
---|
| 334 | </indexterm>
|
---|
| 335 |
|
---|
| 336 | </sect3>
|
---|
[e75747d1] | 337 |
|
---|
[2ccb0dc] | 338 | <sect3>
|
---|
[fc290c7] | 339 | <title>Printing to SMB Clients</title>
|
---|
[2ccb0dc] | 340 |
|
---|
[b51fe6e] | 341 | <para>
|
---|
| 342 | If you use <application>CUPS</application> for print services, and you
|
---|
| 343 | wish to print to a printer attached to an SMB client, you need to
|
---|
| 344 | create an SMB backend device. To create the device, issue the following
|
---|
| 345 | command as the <systemitem class="username">root</systemitem> user:
|
---|
| 346 | </para>
|
---|
[2ccb0dc] | 347 |
|
---|
[b51fe6e] | 348 | <screen role="root"><userinput>install -dvm 755 /usr/lib/cups/backend &&
|
---|
| 349 | ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</userinput></screen>
|
---|
[2ccb0dc] | 350 |
|
---|
| 351 | </sect3>
|
---|
| 352 |
|
---|
[99ef1fc] | 353 | <sect3>
|
---|
[fc290c7] | 354 | <title>Configuration Information</title>
|
---|
[99ef1fc] | 355 |
|
---|
[b51fe6e] | 356 | <para>
|
---|
| 357 | Due to the complexity and the many various uses for
|
---|
| 358 | <application>Samba</application>, complete configuration for all the
|
---|
| 359 | package's capabilities is well beyond the scope of the BLFS book. This
|
---|
| 360 | section provides instructions to configure the
|
---|
| 361 | <filename>/etc/samba/smb.conf</filename> file for two common scenarios.
|
---|
| 362 | The complete contents of <filename>/etc/samba/smb.conf</filename> will
|
---|
| 363 | depend on the purpose of <application>Samba</application>
|
---|
| 364 | installation.
|
---|
| 365 | </para>
|
---|
[fc290c7] | 366 |
|
---|
| 367 | <note>
|
---|
[b51fe6e] | 368 | <para>
|
---|
| 369 | You may find it easier to copy the configuration parameters shown
|
---|
| 370 | below into an empty <filename>/etc/samba/smb.conf</filename> file
|
---|
| 371 | instead of copying and editing the default file as mentioned in the
|
---|
| 372 | <quote>Command Explanations</quote> section. How you create/edit the
|
---|
| 373 | <filename>/etc/samba/smb.conf</filename> file will be left up to
|
---|
[b9c353b] | 374 | you. Do ensure the file is only writable by the
|
---|
[b51fe6e] | 375 | <systemitem class="username">root</systemitem> user (mode 644).
|
---|
| 376 | </para>
|
---|
[fc290c7] | 377 | </note>
|
---|
| 378 |
|
---|
| 379 | <sect4>
|
---|
| 380 | <title>Scenario 1: Minimal Standalone Client-Only Installation</title>
|
---|
| 381 |
|
---|
[b51fe6e] | 382 | <para>
|
---|
| 383 | Choose this variant if you only want to transfer files using
|
---|
| 384 | <command>smbclient</command>, mount Windows shares and print to
|
---|
| 385 | Windows printers, and don't want to share your files and printers to
|
---|
| 386 | Windows machines.
|
---|
| 387 | </para>
|
---|
[fc290c7] | 388 |
|
---|
[b51fe6e] | 389 | <para>
|
---|
| 390 | A <filename>/etc/samba/smb.conf</filename> file with the following
|
---|
| 391 | three parameters is sufficient:
|
---|
| 392 | </para>
|
---|
[fc290c7] | 393 |
|
---|
| 394 | <screen role='root'><literal>[global]
|
---|
[acb648f] | 395 | workgroup = <replaceable>WORKGROUP</replaceable>
|
---|
[fc290c7] | 396 | dos charset = <replaceable>cp850</replaceable>
|
---|
| 397 | unix charset = <replaceable>ISO-8859-1</replaceable></literal></screen>
|
---|
| 398 |
|
---|
[b51fe6e] | 399 | <para>
|
---|
| 400 | The values in this example specify that the computer belongs to a
|
---|
| 401 | Windows workgroup named
|
---|
[acb648f] | 402 | <quote><replaceable>WORKGROUP</replaceable></quote>, uses the
|
---|
[b51fe6e] | 403 | <quote><replaceable>cp850</replaceable></quote> character set on the
|
---|
| 404 | wire when talking to MS-DOS and MS Windows 9x, and that the filenames
|
---|
| 405 | are stored in the <quote><replaceable>ISO-8859-1</replaceable></quote>
|
---|
| 406 | encoding on the disk. Adjust these values appropriately for your
|
---|
| 407 | installation. The <quote>unix charset</quote> value must be the same
|
---|
| 408 | as the output of <command>locale charmap</command> when executed with
|
---|
| 409 | the <envar>LANG</envar> variable set to your preferred locale,
|
---|
| 410 | otherwise the <command>ls</command> command may not display correct
|
---|
| 411 | filenames of downloaded files.
|
---|
| 412 | </para>
|
---|
| 413 |
|
---|
| 414 | <para>
|
---|
| 415 | There is no need to run any <application>Samba</application>
|
---|
| 416 | servers in this scenario, thus you don't need to install the provided
|
---|
[94bdff09] | 417 | <phrase revision="sysv">bootscripts.</phrase>
|
---|
| 418 | <phrase revision="systemd">systemd units.</phrase>
|
---|
[b51fe6e] | 419 | </para>
|
---|
[fc290c7] | 420 |
|
---|
| 421 | </sect4>
|
---|
| 422 |
|
---|
| 423 | <sect4>
|
---|
| 424 | <title>Scenario 2: Standalone File/Print Server</title>
|
---|
| 425 |
|
---|
[b51fe6e] | 426 | <para>
|
---|
| 427 | Choose this variant if you want to share your files and printers
|
---|
| 428 | to Windows machines in your workgroup in addition to the capabilities
|
---|
| 429 | described in Scenario 1.
|
---|
| 430 | </para>
|
---|
| 431 |
|
---|
| 432 | <para>
|
---|
| 433 | In this case, the <filename>/etc/samba/smb.conf.default</filename>
|
---|
[d1348fd] | 434 | file may be a good template to start from. Also, you should add the
|
---|
[b51fe6e] | 435 | <quote>dos charset</quote> and <quote>unix charset</quote> parameters
|
---|
| 436 | to the <quote>[global]</quote> section as described in Scenario 1 in
|
---|
| 437 | order to prevent filename corruption. For security reasons, you may
|
---|
| 438 | wish to define
|
---|
| 439 | <replaceable>path = /home/alice/shared-files</replaceable>,
|
---|
| 440 | assuming your user name is <replaceable>alice</replaceable> and you
|
---|
| 441 | only want to share the files in that directory, instead of your entire
|
---|
| 442 | home. Then, replace <replaceable>homes</replaceable> by
|
---|
| 443 | <replaceable>shared-files</replaceable> and change also the
|
---|
| 444 | <quote><literal>comment</literal></quote> if used the configuration
|
---|
| 445 | file below or the <filename>/etc/samba/smb.conf.default</filename>
|
---|
| 446 | to create yours.
|
---|
| 447 | </para>
|
---|
| 448 |
|
---|
| 449 | <para>
|
---|
| 450 | The following configuration file creates a separate share for each
|
---|
| 451 | user's home directory and also makes all printers available to Windows
|
---|
| 452 | machines:
|
---|
| 453 | </para>
|
---|
[fc290c7] | 454 |
|
---|
| 455 | <screen role='root'><literal>[global]
|
---|
[acb648f] | 456 | workgroup = <replaceable>WORKGROUP</replaceable>
|
---|
[fc290c7] | 457 | dos charset = <replaceable>cp850</replaceable>
|
---|
| 458 | unix charset = <replaceable>ISO-8859-1</replaceable>
|
---|
| 459 |
|
---|
| 460 | [homes]
|
---|
| 461 | comment = Home Directories
|
---|
| 462 | browseable = no
|
---|
| 463 | writable = yes
|
---|
| 464 |
|
---|
| 465 | [printers]
|
---|
| 466 | comment = All Printers
|
---|
| 467 | path = /var/spool/samba
|
---|
| 468 | browseable = no
|
---|
| 469 | guest ok = no
|
---|
| 470 | printable = yes</literal></screen>
|
---|
| 471 |
|
---|
[b51fe6e] | 472 | <para>
|
---|
| 473 | Other parameters you may wish to customize in the
|
---|
| 474 | <quote>[global]</quote> section include:
|
---|
| 475 | </para>
|
---|
[fc290c7] | 476 |
|
---|
| 477 | <screen role='root'><literal> server string =
|
---|
| 478 | security =
|
---|
| 479 | hosts allow =
|
---|
| 480 | load printers =
|
---|
| 481 | log file =
|
---|
| 482 | max log size =
|
---|
| 483 | socket options =
|
---|
| 484 | local master =</literal></screen>
|
---|
| 485 |
|
---|
[b51fe6e] | 486 | <para>
|
---|
| 487 | Reference the comments in the
|
---|
| 488 | <filename>/etc/samba/smb.conf.default</filename> file for information
|
---|
| 489 | regarding these parameters.
|
---|
| 490 | </para>
|
---|
[fc290c7] | 491 |
|
---|
[b51fe6e] | 492 | <para>
|
---|
| 493 | Since the <command>smbd</command> and <command>nmbd</command> daemons
|
---|
| 494 | are needed in this case, install the <filename>samba</filename>
|
---|
[94bdff09] | 495 | <phrase revision="sysv">bootscript.</phrase>
|
---|
| 496 | <phrase revision="systemd">systemd unit.</phrase>
|
---|
| 497 | Be sure to run <command>smbpasswd</command> (with the
|
---|
[b51fe6e] | 498 | <option>-a</option> option to add users) to enable and set passwords
|
---|
| 499 | for all accounts that need <application>Samba</application> access.
|
---|
| 500 | Using the default <application>Samba</application> passdb backend,
|
---|
| 501 | any user you attempt to add will also be required to exist in the
|
---|
| 502 | <filename>/etc/passwd</filename> file.
|
---|
| 503 | </para>
|
---|
[fc290c7] | 504 |
|
---|
| 505 | </sect4>
|
---|
| 506 |
|
---|
| 507 | <sect4>
|
---|
| 508 | <title>Advanced Requirements</title>
|
---|
| 509 |
|
---|
[b51fe6e] | 510 | <para>
|
---|
| 511 | More complex scenarios involving domain control or membership are
|
---|
| 512 | possible. Such setups are advanced topics and cannot be adequately
|
---|
| 513 | covered in BLFS. Many complete books have been written on these topics
|
---|
| 514 | alone. Note that in some domain membership scenarios, the
|
---|
[94bdff09] | 515 | <command>winbindd</command> daemon and the corresponding
|
---|
| 516 | <phrase revision="sysv">bootscript</phrase>
|
---|
| 517 | <phrase revision="systemd">systemd unit</phrase> are needed.
|
---|
[b51fe6e] | 518 | </para>
|
---|
[fc290c7] | 519 |
|
---|
| 520 | </sect4>
|
---|
[99ef1fc] | 521 |
|
---|
[8c2155e] | 522 | <sect4>
|
---|
| 523 | <title>Guest account</title>
|
---|
| 524 |
|
---|
[b51fe6e] | 525 | <para>
|
---|
| 526 | The default <application>Samba</application> installation uses the
|
---|
| 527 | <systemitem class='username'>nobody</systemitem> user for guest
|
---|
| 528 | access to the server. This can be overridden by setting the
|
---|
| 529 | <option>guest account =</option> parameter in the
|
---|
| 530 | <filename>/etc/samba/smb.conf</filename> file. If you utilize the
|
---|
| 531 | <option>guest account =</option> parameter, ensure this user exists
|
---|
| 532 | in the <filename>/etc/passwd</filename> file.
|
---|
| 533 | </para>
|
---|
[8c2155e] | 534 |
|
---|
| 535 | </sect4>
|
---|
| 536 |
|
---|
[7b478500] | 537 | <sect4 id="samba-init" revision="sysv">
|
---|
[75f9474f] | 538 | <title>Boot Script</title>
|
---|
[0d7900a] | 539 |
|
---|
[b51fe6e] | 540 | <para>
|
---|
| 541 | For your convenience, boot scripts have been provided for
|
---|
| 542 | <application>Samba</application>. There are two included in the
|
---|
| 543 | <xref linkend="bootscripts"/> package. The first,
|
---|
| 544 | <filename>samba</filename>, will start the <command>smbd</command>
|
---|
| 545 | and <command>nmbd</command> daemons needed to provide SMB/CIFS
|
---|
| 546 | services. The second script, <filename>winbind</filename>, starts
|
---|
| 547 | the <command>winbindd</command> daemon, used for providing Windows
|
---|
| 548 | domain services to Linux clients.
|
---|
| 549 | </para>
|
---|
[0d7900a] | 550 |
|
---|
[45f56ac] | 551 | <indexterm zone="samba samba-init">
|
---|
[75f9474f] | 552 | <primary sortas="f-samba">samba</primary>
|
---|
[fc290c7] | 553 | </indexterm>
|
---|
[0d7900a] | 554 |
|
---|
[45f56ac] | 555 | <indexterm zone="samba samba-init">
|
---|
[75f9474f] | 556 | <primary sortas="f-winbind">winbind</primary>
|
---|
[fc290c7] | 557 | </indexterm>
|
---|
[0d7900a] | 558 |
|
---|
[75f9474f] | 559 | <screen role="root"><userinput>make install-samba</userinput></screen>
|
---|
[99ef1fc] | 560 |
|
---|
[97926ab] | 561 | <screen role="root"><userinput>make install-winbindd</userinput></screen>
|
---|
[99ef1fc] | 562 |
|
---|
[7b478500] | 563 | </sect4>
|
---|
| 564 |
|
---|
| 565 | <sect4 id="samba-init-sysd" revision="systemd">
|
---|
| 566 | <title>Systemd Units</title>
|
---|
| 567 |
|
---|
| 568 | <para>
|
---|
| 569 | To start the <application>Samba</application> daemons at boot,
|
---|
| 570 | install the systemd units from the <xref linkend="systemd-units"/>
|
---|
| 571 | package by running the following command as the
|
---|
| 572 | <systemitem class="username">root</systemitem> user:
|
---|
| 573 | </para>
|
---|
| 574 |
|
---|
| 575 | <indexterm zone="samba samba-init-sysd">
|
---|
| 576 | <primary sortas="f-samba">samba</primary>
|
---|
| 577 | </indexterm>
|
---|
| 578 |
|
---|
| 579 | <screen role="root"><userinput>make install-samba</userinput></screen>
|
---|
| 580 |
|
---|
| 581 | <para>
|
---|
| 582 | To start the <command>winbindd</command> daemon at boot,
|
---|
| 583 | install the systemd unit from the <xref linkend="systemd-units"/>
|
---|
| 584 | package by running the following command as the
|
---|
| 585 | <systemitem class="username">root</systemitem> user:
|
---|
| 586 | </para>
|
---|
| 587 |
|
---|
| 588 | <indexterm zone="samba samba-init-sysd">
|
---|
| 589 | <primary sortas="f-winbindd">winbindd</primary>
|
---|
| 590 | </indexterm>
|
---|
| 591 |
|
---|
| 592 | <screen role="root"><userinput>make install-winbindd</userinput></screen>
|
---|
| 593 |
|
---|
| 594 | <note>
|
---|
[b51fe6e] | 595 | <para>
|
---|
| 596 | This package comes with two types of units: A service file and a
|
---|
| 597 | socket file. The service file will start the smbd daemon once at
|
---|
| 598 | boot and it will keep running until the system shuts down. The
|
---|
| 599 | socket file will make systemd listen on the smbd port (Default 445,
|
---|
| 600 | needs to be edited for anything else) and will start the smbd
|
---|
| 601 | daemon when something tries to connect to that port and stop the
|
---|
| 602 | daemon when the connection is terminated. This is called socket
|
---|
| 603 | activation and is analogous to using
|
---|
| 604 | <application>{,x}inetd</application> on a SysVinit based system.
|
---|
| 605 | </para>
|
---|
| 606 |
|
---|
| 607 | <para>
|
---|
| 608 | By default, the first method is used - the smbd daemon is started
|
---|
| 609 | at boot and stopped at shutdown. If the socket method is desired,
|
---|
| 610 | you need to run the following commands as the <systemitem
|
---|
| 611 | class="username">root</systemitem> user:
|
---|
| 612 | </para>
|
---|
[7b478500] | 613 |
|
---|
| 614 | <screen role="root"><userinput>systemctl stop smbd &&
|
---|
| 615 | systemctl disable smbd &&
|
---|
| 616 | systemctl enable smbd.socket &&
|
---|
| 617 | systemctl start smbd.socket</userinput></screen>
|
---|
| 618 |
|
---|
[b51fe6e] | 619 | <para>
|
---|
| 620 | Note that only the smbd daemon can be socket activated.
|
---|
| 621 | </para>
|
---|
[7b478500] | 622 | </note>
|
---|
| 623 | </sect4>
|
---|
[99ef1fc] | 624 |
|
---|
[75f9474f] | 625 | </sect3>
|
---|
[99ef1fc] | 626 |
|
---|
| 627 | </sect2>
|
---|
| 628 |
|
---|
| 629 | <sect2 role="content">
|
---|
| 630 | <title>Contents</title>
|
---|
| 631 |
|
---|
| 632 | <segmentedlist>
|
---|
| 633 | <segtitle>Installed Programs</segtitle>
|
---|
| 634 | <segtitle>Installed Libraries</segtitle>
|
---|
| 635 | <segtitle>Installed Directories</segtitle>
|
---|
| 636 |
|
---|
| 637 | <seglistitem>
|
---|
[7cae14c] | 638 |
|
---|
[defca61] | 639 | <seg>
|
---|
[676876ba] | 640 | cifsdd, dbwrap_tool, dumpmscat, eventlogadm, gentest,
|
---|
[8558044] | 641 | ldbadd, ldbdel, ldbedit, ldbmodify, ldbrename, ldbsearch, locktest,
|
---|
[acb648f] | 642 | masktest, mdsearch, mvxattr, ndrdump, net, nmbd, nmblookup, ntlm_auth,
|
---|
[676876ba] | 643 | oLschema2ldif, pdbedit, profiles, regdiff, regpatch, regshell,
|
---|
[79736ae6] | 644 | regtree, rpcclient, samba-log-parser, samba-gpupdate, samba-regedit,
|
---|
| 645 | samba-tool, sharesec, smbcacls, smbclient, smbcontrol, smbcquotas,
|
---|
| 646 | smbd, smbget, smbpasswd, smbspool, smbstatus, smbtar, smbtorture,
|
---|
| 647 | smbtree, tdbbackup, tdbdump, tdbrestore, tdbtool, testparm, wbinfo,
|
---|
| 648 | and winbindd
|
---|
[defca61] | 649 | </seg>
|
---|
| 650 |
|
---|
| 651 | <seg>
|
---|
[676876ba] | 652 | libdcerpc-binding.so, libdcerpc-samr.so,
|
---|
[cdddf067] | 653 | libdcerpc-server-core.so, libdcerpc.so,
|
---|
[676876ba] | 654 | libndr-krb5pac.so, libndr-nbt.so, libndr.so,
|
---|
[8558044] | 655 | libndr-standard.so, libnetapi.so, libnss_winbind.so, libnss_wins.so,
|
---|
[676876ba] | 656 | libsamba-credentials.so, libsamba-errors.so,
|
---|
[3fdc9b0] | 657 | libsamba-hostconfig.so, libsamba-passdb.so,
|
---|
[79736ae6] | 658 | libsamba-policy.cpython-311-x86_64-linux-gnu.so, libsamba-util.so,
|
---|
[676876ba] | 659 | libsamdb.so, libsmbclient.so,
|
---|
[8558044] | 660 | libsmbconf.so, libsmbldap.so, libtevent-util.so,
|
---|
[676876ba] | 661 | libwbclient.so, and filesystem and support modules under
|
---|
[6f3f40f3] | 662 | /usr/lib/{python&python3-majorver;,samba}
|
---|
[defca61] | 663 | </seg>
|
---|
[f3429309] | 664 |
|
---|
[defca61] | 665 | <seg>
|
---|
| 666 | /etc/samba, /run/samba, /usr/include/samba-4.0,
|
---|
[9f5acea] | 667 | /usr/lib/python&python3-majorver;/site-packages/samba,
|
---|
[7a9a7b26] | 668 | /usr/{lib,libexec,share}/samba,
|
---|
[9f5acea] | 669 | and /var/{cache,lib,lock,log,run}/samba
|
---|
[defca61] | 670 | </seg>
|
---|
[7cae14c] | 671 |
|
---|
[99ef1fc] | 672 | </seglistitem>
|
---|
| 673 | </segmentedlist>
|
---|
| 674 |
|
---|
| 675 | <variablelist>
|
---|
| 676 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 677 | <?dbfo list-presentation="list"?>
|
---|
| 678 | <?dbhtml list-presentation="table"?>
|
---|
| 679 |
|
---|
[72d90b67] | 680 | <varlistentry id="cifsdd">
|
---|
| 681 | <term><command>cifsdd</command></term>
|
---|
| 682 | <listitem>
|
---|
[b51fe6e] | 683 | <para>
|
---|
[4c24eb0a] | 684 | is the dd command for SMB
|
---|
[b51fe6e] | 685 | </para>
|
---|
[72d90b67] | 686 | <indexterm zone="samba cifsdd">
|
---|
| 687 | <primary sortas="b-cifsdd">cifsdd</primary>
|
---|
| 688 | </indexterm>
|
---|
| 689 | </listitem>
|
---|
| 690 | </varlistentry>
|
---|
| 691 |
|
---|
| 692 | <varlistentry id="dbwrap_tool">
|
---|
| 693 | <term><command>dbwrap_tool</command></term>
|
---|
| 694 | <listitem>
|
---|
[b51fe6e] | 695 | <para>
|
---|
| 696 | is used to read and manipulate TDB/CTDB databases using
|
---|
[4c24eb0a] | 697 | the dbwrap interface
|
---|
[b51fe6e] | 698 | </para>
|
---|
[72d90b67] | 699 | <indexterm zone="samba dbwrap_tool">
|
---|
| 700 | <primary sortas="b-dbwrap_tool">dbwrap_tool</primary>
|
---|
| 701 | </indexterm>
|
---|
| 702 | </listitem>
|
---|
| 703 | </varlistentry>
|
---|
| 704 |
|
---|
[676876ba] | 705 | <varlistentry id="dumpmscat">
|
---|
| 706 | <term><command>dumpmscat</command></term>
|
---|
[a8ecf657] | 707 | <listitem>
|
---|
[b51fe6e] | 708 | <para>
|
---|
[676876ba] | 709 | dumps the content of MS catalog files
|
---|
[b51fe6e] | 710 | </para>
|
---|
[676876ba] | 711 | <indexterm zone="samba dumpmscat">
|
---|
| 712 | <primary sortas="b-dumpmscat">dumpmscat</primary>
|
---|
[a8ecf657] | 713 | </indexterm>
|
---|
| 714 | </listitem>
|
---|
| 715 | </varlistentry>
|
---|
| 716 |
|
---|
[676876ba] | 717 | <varlistentry id="eventlogadm">
|
---|
| 718 | <term><command>eventlogadm</command></term>
|
---|
[a6e9ec1] | 719 | <listitem>
|
---|
[b51fe6e] | 720 | <para>
|
---|
[676876ba] | 721 | is used to write records to eventlogs from STDIN, add the
|
---|
| 722 | specified source and DLL eventlog registry entries and display the
|
---|
| 723 | active eventlog names (from <filename>smb.conf</filename>)
|
---|
[b51fe6e] | 724 | </para>
|
---|
[676876ba] | 725 | <indexterm zone="samba eventlogadm">
|
---|
| 726 | <primary sortas="b-eventlogadm">eventlogadm</primary>
|
---|
[a6e9ec1] | 727 | </indexterm>
|
---|
| 728 | </listitem>
|
---|
| 729 | </varlistentry>
|
---|
| 730 |
|
---|
[72d90b67] | 731 | <varlistentry id="gentest">
|
---|
| 732 | <term><command>gentest</command></term>
|
---|
| 733 | <listitem>
|
---|
[b51fe6e] | 734 | <para>
|
---|
| 735 | is used to run random generic SMB operations against two
|
---|
[4c24eb0a] | 736 | SMB servers and show the differences in behavior
|
---|
[b51fe6e] | 737 | </para>
|
---|
[72d90b67] | 738 | <indexterm zone="samba gentest">
|
---|
| 739 | <primary sortas="b-gentest">gentest</primary>
|
---|
| 740 | </indexterm>
|
---|
| 741 | </listitem>
|
---|
| 742 | </varlistentry>
|
---|
| 743 |
|
---|
[f4c0a45] | 744 | <varlistentry id="ldbadd">
|
---|
| 745 | <term><command>ldbadd</command></term>
|
---|
| 746 | <listitem>
|
---|
[b51fe6e] | 747 | <para>
|
---|
| 748 | is a command-line utility for adding records to an LDB
|
---|
[4c24eb0a] | 749 | database
|
---|
[b51fe6e] | 750 | </para>
|
---|
[45f56ac] | 751 | <indexterm zone="samba ldbadd">
|
---|
[f4c0a45] | 752 | <primary sortas="b-ldbadd">ldbadd</primary>
|
---|
| 753 | </indexterm>
|
---|
| 754 | </listitem>
|
---|
| 755 | </varlistentry>
|
---|
| 756 |
|
---|
| 757 | <varlistentry id="ldbdel">
|
---|
| 758 | <term><command>ldbdel</command></term>
|
---|
| 759 | <listitem>
|
---|
[b51fe6e] | 760 | <para>
|
---|
[cdddf067] | 761 | is a command-line utility for deleting LDB database records
|
---|
[b51fe6e] | 762 | </para>
|
---|
[45f56ac] | 763 | <indexterm zone="samba ldbdel">
|
---|
[f4c0a45] | 764 | <primary sortas="b-ldbdel">ldbdel</primary>
|
---|
| 765 | </indexterm>
|
---|
| 766 | </listitem>
|
---|
| 767 | </varlistentry>
|
---|
| 768 |
|
---|
| 769 | <varlistentry id="ldbedit">
|
---|
| 770 | <term><command>ldbedit</command></term>
|
---|
| 771 | <listitem>
|
---|
[b51fe6e] | 772 | <para>
|
---|
[4c24eb0a] | 773 | allows you to edit LDB databases using your preferred editor
|
---|
[b51fe6e] | 774 | </para>
|
---|
[45f56ac] | 775 | <indexterm zone="samba ldbedit">
|
---|
[f4c0a45] | 776 | <primary sortas="b-ldbedit">ldbedit</primary>
|
---|
| 777 | </indexterm>
|
---|
| 778 | </listitem>
|
---|
| 779 | </varlistentry>
|
---|
| 780 |
|
---|
| 781 | <varlistentry id="ldbmodify">
|
---|
| 782 | <term><command>ldbmodify</command></term>
|
---|
| 783 | <listitem>
|
---|
[b51fe6e] | 784 | <para>
|
---|
[4c24eb0a] | 785 | allows you to modify records in an LDB database
|
---|
[b51fe6e] | 786 | </para>
|
---|
[45f56ac] | 787 | <indexterm zone="samba ldbmodify">
|
---|
[f4c0a45] | 788 | <primary sortas="b-ldbmodify">ldbmodify</primary>
|
---|
| 789 | </indexterm>
|
---|
| 790 | </listitem>
|
---|
| 791 | </varlistentry>
|
---|
| 792 |
|
---|
| 793 | <varlistentry id="ldbrename">
|
---|
| 794 | <term><command>ldbrename</command></term>
|
---|
| 795 | <listitem>
|
---|
[b51fe6e] | 796 | <para>
|
---|
[4c24eb0a] | 797 | allows you to rename LDB databases
|
---|
[b51fe6e] | 798 | </para>
|
---|
[45f56ac] | 799 | <indexterm zone="samba ldbrename">
|
---|
[f4c0a45] | 800 | <primary sortas="b-ldbrename">ldbrename</primary>
|
---|
| 801 | </indexterm>
|
---|
| 802 | </listitem>
|
---|
| 803 | </varlistentry>
|
---|
| 804 |
|
---|
| 805 | <varlistentry id="ldbsearch">
|
---|
| 806 | <term><command>ldbsearch</command></term>
|
---|
| 807 | <listitem>
|
---|
[b51fe6e] | 808 | <para>
|
---|
| 809 | searches an LDB database for records matching a specified
|
---|
[4c24eb0a] | 810 | expression
|
---|
[b51fe6e] | 811 | </para>
|
---|
[45f56ac] | 812 | <indexterm zone="samba ldbsearch">
|
---|
[f4c0a45] | 813 | <primary sortas="b-ldbsearch">ldbsearch</primary>
|
---|
| 814 | </indexterm>
|
---|
| 815 | </listitem>
|
---|
| 816 | </varlistentry>
|
---|
| 817 |
|
---|
[72d90b67] | 818 | <varlistentry id="locktest">
|
---|
| 819 | <term><command>locktest</command></term>
|
---|
| 820 | <listitem>
|
---|
[b51fe6e] | 821 | <para>
|
---|
[4c24eb0a] | 822 | is used to find differences in locking between two SMB servers
|
---|
[b51fe6e] | 823 | </para>
|
---|
[72d90b67] | 824 | <indexterm zone="samba locktest">
|
---|
| 825 | <primary sortas="b-locktest">locktest</primary>
|
---|
| 826 | </indexterm>
|
---|
| 827 | </listitem>
|
---|
| 828 | </varlistentry>
|
---|
| 829 |
|
---|
| 830 | <varlistentry id="masktest">
|
---|
| 831 | <term><command>masktest</command></term>
|
---|
| 832 | <listitem>
|
---|
[b51fe6e] | 833 | <para>
|
---|
| 834 | is used to find differences in wildcard matching between
|
---|
[4c24eb0a] | 835 | Samba's implementation and that of a remote server
|
---|
[b51fe6e] | 836 | </para>
|
---|
[72d90b67] | 837 | <indexterm zone="samba masktest">
|
---|
| 838 | <primary sortas="b-masktest">masktest</primary>
|
---|
[a6e9ec1] | 839 | </indexterm>
|
---|
| 840 | </listitem>
|
---|
| 841 | </varlistentry>
|
---|
| 842 |
|
---|
[acb648f] | 843 | <varlistentry id="mdsearch">
|
---|
| 844 | <term><command>mdsearch</command></term>
|
---|
[6f3f40f3] | 845 | <listitem>
|
---|
| 846 | <para>
|
---|
| 847 | runs <application>Spotlight</application> searches against a SMB
|
---|
[4c24eb0a] | 848 | server
|
---|
[6f3f40f3] | 849 | </para>
|
---|
[acb648f] | 850 | <indexterm zone="samba mdsearch">
|
---|
| 851 | <primary sortas="b-mdsearch">mdsearch</primary>
|
---|
[6f3f40f3] | 852 | </indexterm>
|
---|
| 853 | </listitem>
|
---|
| 854 | </varlistentry>
|
---|
| 855 |
|
---|
[a6e9ec1] | 856 | <varlistentry id="mvxattr">
|
---|
| 857 | <term><command>mvxattr</command></term>
|
---|
| 858 | <listitem>
|
---|
[b51fe6e] | 859 | <para>
|
---|
[4c24eb0a] | 860 | is used to recursively rename extended attributes
|
---|
[b51fe6e] | 861 | </para>
|
---|
[a6e9ec1] | 862 | <indexterm zone="samba mvxattr">
|
---|
| 863 | <primary sortas="b-mvxattr">mvxattr</primary>
|
---|
[72d90b67] | 864 | </indexterm>
|
---|
| 865 | </listitem>
|
---|
| 866 | </varlistentry>
|
---|
| 867 |
|
---|
| 868 | <varlistentry id="ndrdump">
|
---|
| 869 | <term><command>ndrdump</command></term>
|
---|
| 870 | <listitem>
|
---|
[b51fe6e] | 871 | <para>
|
---|
[4c24eb0a] | 872 | is a DCE/RPC Packet Parser and Dumper
|
---|
[b51fe6e] | 873 | </para>
|
---|
[72d90b67] | 874 | <indexterm zone="samba ndrdump">
|
---|
| 875 | <primary sortas="b-ndrdump">ndrdump</primary>
|
---|
| 876 | </indexterm>
|
---|
| 877 | </listitem>
|
---|
| 878 | </varlistentry>
|
---|
| 879 |
|
---|
[99ef1fc] | 880 | <varlistentry id="net">
|
---|
| 881 | <term><command>net</command></term>
|
---|
| 882 | <listitem>
|
---|
[b51fe6e] | 883 | <para>
|
---|
| 884 | is a tool for administration of <application>Samba</application>
|
---|
| 885 | and remote CIFS servers, similar to the <command>net</command>
|
---|
[4c24eb0a] | 886 | utility for DOS/Windows
|
---|
[b51fe6e] | 887 | </para>
|
---|
[45f56ac] | 888 | <indexterm zone="samba net">
|
---|
[99ef1fc] | 889 | <primary sortas="b-net">net</primary>
|
---|
| 890 | </indexterm>
|
---|
| 891 | </listitem>
|
---|
| 892 | </varlistentry>
|
---|
| 893 |
|
---|
| 894 | <varlistentry id="nmbd">
|
---|
| 895 | <term><command>nmbd</command></term>
|
---|
| 896 | <listitem>
|
---|
[b51fe6e] | 897 | <para>
|
---|
[4c24eb0a] | 898 | is the <application>Samba</application> NetBIOS name server
|
---|
[b51fe6e] | 899 | </para>
|
---|
[45f56ac] | 900 | <indexterm zone="samba nmbd">
|
---|
[99ef1fc] | 901 | <primary sortas="b-nmbd">nmbd</primary>
|
---|
| 902 | </indexterm>
|
---|
| 903 | </listitem>
|
---|
| 904 | </varlistentry>
|
---|
| 905 |
|
---|
| 906 | <varlistentry id="nmblookup">
|
---|
| 907 | <term><command>nmblookup</command></term>
|
---|
| 908 | <listitem>
|
---|
[b51fe6e] | 909 | <para>
|
---|
[4c24eb0a] | 910 | is used to query NetBIOS names and map them to IP addresses
|
---|
[b51fe6e] | 911 | </para>
|
---|
[45f56ac] | 912 | <indexterm zone="samba nmblookup">
|
---|
[99ef1fc] | 913 | <primary sortas="b-nmblookup">nmblookup</primary>
|
---|
| 914 | </indexterm>
|
---|
| 915 | </listitem>
|
---|
| 916 | </varlistentry>
|
---|
| 917 |
|
---|
| 918 | <varlistentry id="ntlm_auth">
|
---|
| 919 | <term><command>ntlm_auth</command></term>
|
---|
| 920 | <listitem>
|
---|
[b51fe6e] | 921 | <para>
|
---|
| 922 | is a tool to allow external access to Winbind's
|
---|
[4c24eb0a] | 923 | NTLM authentication function
|
---|
[b51fe6e] | 924 | </para>
|
---|
[45f56ac] | 925 | <indexterm zone="samba ntlm_auth">
|
---|
[99ef1fc] | 926 | <primary sortas="b-ntlm_auth">ntlm_auth</primary>
|
---|
| 927 | </indexterm>
|
---|
| 928 | </listitem>
|
---|
| 929 | </varlistentry>
|
---|
| 930 |
|
---|
[72d90b67] | 931 | <varlistentry id="oLschema2ldif">
|
---|
| 932 | <term><command>oLschema2ldif</command></term>
|
---|
| 933 | <listitem>
|
---|
[b51fe6e] | 934 | <para>
|
---|
[4c24eb0a] | 935 | converts LDAP schema's to LDB-compatible LDIF
|
---|
[b51fe6e] | 936 | </para>
|
---|
[72d90b67] | 937 | <indexterm zone="samba oLschema2ldif">
|
---|
| 938 | <primary sortas="b-oLschema2ldif">oLschema2ldif</primary>
|
---|
| 939 | </indexterm>
|
---|
| 940 | </listitem>
|
---|
| 941 | </varlistentry>
|
---|
| 942 |
|
---|
[99ef1fc] | 943 | <varlistentry id="pdbedit">
|
---|
| 944 | <term><command>pdbedit</command></term>
|
---|
| 945 | <listitem>
|
---|
[b51fe6e] | 946 | <para>
|
---|
[4c24eb0a] | 947 | is a tool used to manage the SAM database
|
---|
[b51fe6e] | 948 | </para>
|
---|
[45f56ac] | 949 | <indexterm zone="samba pdbedit">
|
---|
[99ef1fc] | 950 | <primary sortas="b-pdbedit">pdbedit</primary>
|
---|
| 951 | </indexterm>
|
---|
| 952 | </listitem>
|
---|
| 953 | </varlistentry>
|
---|
| 954 |
|
---|
| 955 | <varlistentry id="profiles">
|
---|
| 956 | <term><command>profiles</command></term>
|
---|
| 957 | <listitem>
|
---|
[b51fe6e] | 958 | <para>
|
---|
| 959 | is a utility that reports and changes SIDs in Windows
|
---|
[cdddf067] | 960 | registry files
|
---|
[b51fe6e] | 961 | </para>
|
---|
[45f56ac] | 962 | <indexterm zone="samba profiles">
|
---|
[99ef1fc] | 963 | <primary sortas="b-profiles">profiles</primary>
|
---|
| 964 | </indexterm>
|
---|
| 965 | </listitem>
|
---|
| 966 | </varlistentry>
|
---|
| 967 |
|
---|
[72d90b67] | 968 | <varlistentry id="regdiff">
|
---|
| 969 | <term><command>regdiff</command></term>
|
---|
| 970 | <listitem>
|
---|
[b51fe6e] | 971 | <para>
|
---|
[4c24eb0a] | 972 | is a Diff program for Windows registry files
|
---|
[b51fe6e] | 973 | </para>
|
---|
[72d90b67] | 974 | <indexterm zone="samba regdiff">
|
---|
| 975 | <primary sortas="b-regdiff">regdiff</primary>
|
---|
| 976 | </indexterm>
|
---|
| 977 | </listitem>
|
---|
| 978 | </varlistentry>
|
---|
| 979 |
|
---|
| 980 | <varlistentry id="regpatch">
|
---|
| 981 | <term><command>regpatch</command></term>
|
---|
| 982 | <listitem>
|
---|
[b51fe6e] | 983 | <para>
|
---|
[4c24eb0a] | 984 | applies registry patches to registry files
|
---|
[b51fe6e] | 985 | </para>
|
---|
[72d90b67] | 986 | <indexterm zone="samba regpatch">
|
---|
| 987 | <primary sortas="b-regpatch">regpatch</primary>
|
---|
| 988 | </indexterm>
|
---|
| 989 | </listitem>
|
---|
| 990 | </varlistentry>
|
---|
| 991 |
|
---|
| 992 | <varlistentry id="regshell">
|
---|
| 993 | <term><command>regshell</command></term>
|
---|
| 994 | <listitem>
|
---|
[b51fe6e] | 995 | <para>
|
---|
[4c24eb0a] | 996 | is a Windows registry file browser using readline
|
---|
[b51fe6e] | 997 | </para>
|
---|
[72d90b67] | 998 | <indexterm zone="samba regshell">
|
---|
| 999 | <primary sortas="b-regshell">regshell</primary>
|
---|
| 1000 | </indexterm>
|
---|
| 1001 | </listitem>
|
---|
| 1002 | </varlistentry>
|
---|
| 1003 |
|
---|
| 1004 | <varlistentry id="regtree">
|
---|
| 1005 | <term><command>regtree</command></term>
|
---|
| 1006 | <listitem>
|
---|
[b51fe6e] | 1007 | <para>
|
---|
[4c24eb0a] | 1008 | is a text-mode registry viewer
|
---|
[b51fe6e] | 1009 | </para>
|
---|
[72d90b67] | 1010 | <indexterm zone="samba regtree">
|
---|
| 1011 | <primary sortas="b-regtree">regtree</primary>
|
---|
| 1012 | </indexterm>
|
---|
| 1013 | </listitem>
|
---|
| 1014 | </varlistentry>
|
---|
| 1015 |
|
---|
[99ef1fc] | 1016 | <varlistentry id="rpcclient">
|
---|
| 1017 | <term><command>rpcclient</command></term>
|
---|
| 1018 | <listitem>
|
---|
[b51fe6e] | 1019 | <para>
|
---|
[4c24eb0a] | 1020 | is used to execute MS-RPC client side functions
|
---|
[b51fe6e] | 1021 | </para>
|
---|
[45f56ac] | 1022 | <indexterm zone="samba rpcclient">
|
---|
[99ef1fc] | 1023 | <primary sortas="b-rpcclient">rpcclient</primary>
|
---|
| 1024 | </indexterm>
|
---|
| 1025 | </listitem>
|
---|
| 1026 | </varlistentry>
|
---|
| 1027 |
|
---|
[79736ae6] | 1028 | <varlistentry id="samba-log-parser">
|
---|
| 1029 | <term><command>samba-log-parser</command></term>
|
---|
[72d90b67] | 1030 | <listitem>
|
---|
[b51fe6e] | 1031 | <para>
|
---|
[79736ae6] | 1032 | parses winbind logs generated by Samba
|
---|
[b51fe6e] | 1033 | </para>
|
---|
[79736ae6] | 1034 | <indexterm zone="samba samba-log-parser">
|
---|
| 1035 | <primary sortas="b-samba-log-parser">samba-log-parser</primary>
|
---|
[72d90b67] | 1036 | </indexterm>
|
---|
| 1037 | </listitem>
|
---|
| 1038 | </varlistentry>
|
---|
| 1039 |
|
---|
[7d25056d] | 1040 | <varlistentry id="samba-gpupdate">
|
---|
| 1041 | <term><command>samba-gpupdate</command></term>
|
---|
| 1042 | <listitem>
|
---|
[b51fe6e] | 1043 | <para>
|
---|
[4c24eb0a] | 1044 | allows you to edit Microsoft Group Policy Objects (GPOs)
|
---|
[b51fe6e] | 1045 | </para>
|
---|
[7d25056d] | 1046 | <indexterm zone="samba samba-gpupdate">
|
---|
| 1047 | <primary sortas="b-samba-gpupdate">samba-gpupdate</primary>
|
---|
| 1048 | </indexterm>
|
---|
| 1049 | </listitem>
|
---|
| 1050 | </varlistentry>
|
---|
| 1051 |
|
---|
[72d90b67] | 1052 | <varlistentry id="samba-regedit">
|
---|
| 1053 | <term><command>samba-regedit</command></term>
|
---|
| 1054 | <listitem>
|
---|
[b51fe6e] | 1055 | <para>
|
---|
[4c24eb0a] | 1056 | is a ncurses based tool to manage the Samba registry
|
---|
[b51fe6e] | 1057 | </para>
|
---|
[72d90b67] | 1058 | <indexterm zone="samba samba-regedit">
|
---|
| 1059 | <primary sortas="b-samba-regedit">samba-regedit</primary>
|
---|
| 1060 | </indexterm>
|
---|
| 1061 | </listitem>
|
---|
| 1062 | </varlistentry>
|
---|
| 1063 |
|
---|
| 1064 | <varlistentry id="samba-tool">
|
---|
| 1065 | <term><command>samba-tool</command></term>
|
---|
| 1066 | <listitem>
|
---|
[b51fe6e] | 1067 | <para>
|
---|
[4c24eb0a] | 1068 | is the main Samba administration tool
|
---|
[b51fe6e] | 1069 | </para>
|
---|
[72d90b67] | 1070 | <indexterm zone="samba samba-tool">
|
---|
| 1071 | <primary sortas="b-samba-tool">samba-tool</primary>
|
---|
| 1072 | </indexterm>
|
---|
| 1073 | </listitem>
|
---|
| 1074 | </varlistentry>
|
---|
| 1075 |
|
---|
[f4c0a45] | 1076 | <varlistentry id="sharesec">
|
---|
| 1077 | <term><command>sharesec</command></term>
|
---|
| 1078 | <listitem>
|
---|
[b51fe6e] | 1079 | <para>
|
---|
[4c24eb0a] | 1080 | manipulates share ACL permissions on SMB file shares
|
---|
[b51fe6e] | 1081 | </para>
|
---|
[45f56ac] | 1082 | <indexterm zone="samba sharesec">
|
---|
[f4c0a45] | 1083 | <primary sortas="b-sharesec">sharesec</primary>
|
---|
| 1084 | </indexterm>
|
---|
| 1085 | </listitem>
|
---|
| 1086 | </varlistentry>
|
---|
| 1087 |
|
---|
[99ef1fc] | 1088 | <varlistentry id="smbcacls">
|
---|
| 1089 | <term><command>smbcacls</command></term>
|
---|
| 1090 | <listitem>
|
---|
[b51fe6e] | 1091 | <para>
|
---|
[4c24eb0a] | 1092 | is used to manipulate Windows NT access control lists
|
---|
[b51fe6e] | 1093 | </para>
|
---|
[45f56ac] | 1094 | <indexterm zone="samba smbcacls">
|
---|
[99ef1fc] | 1095 | <primary sortas="b-smbcacls">smbcacls</primary>
|
---|
| 1096 | </indexterm>
|
---|
| 1097 | </listitem>
|
---|
| 1098 | </varlistentry>
|
---|
| 1099 |
|
---|
| 1100 | <varlistentry id="smbclient">
|
---|
| 1101 | <term><command>smbclient</command></term>
|
---|
| 1102 | <listitem>
|
---|
[b51fe6e] | 1103 | <para>
|
---|
[4c24eb0a] | 1104 | is a SMB/CIFS access utility, similar to FTP
|
---|
[b51fe6e] | 1105 | </para>
|
---|
[45f56ac] | 1106 | <indexterm zone="samba smbclient">
|
---|
[99ef1fc] | 1107 | <primary sortas="b-smbclient">smbclient</primary>
|
---|
| 1108 | </indexterm>
|
---|
| 1109 | </listitem>
|
---|
| 1110 | </varlistentry>
|
---|
| 1111 |
|
---|
| 1112 | <varlistentry id="smbcontrol">
|
---|
| 1113 | <term><command>smbcontrol</command></term>
|
---|
| 1114 | <listitem>
|
---|
[b51fe6e] | 1115 | <para>
|
---|
| 1116 | is used to control running <command>smbd</command>,
|
---|
[4c24eb0a] | 1117 | <command>nmbd</command> and <command>winbindd</command> daemons
|
---|
[b51fe6e] | 1118 | </para>
|
---|
[45f56ac] | 1119 | <indexterm zone="samba smbcontrol">
|
---|
[99ef1fc] | 1120 | <primary sortas="b-smbcontrol">smbcontrol</primary>
|
---|
| 1121 | </indexterm>
|
---|
| 1122 | </listitem>
|
---|
| 1123 | </varlistentry>
|
---|
| 1124 |
|
---|
| 1125 | <varlistentry id="smbcquotas">
|
---|
| 1126 | <term><command>smbcquotas</command></term>
|
---|
| 1127 | <listitem>
|
---|
[b51fe6e] | 1128 | <para>
|
---|
[4c24eb0a] | 1129 | is used to manipulate Windows NT quotas on SMB file shares
|
---|
[b51fe6e] | 1130 | </para>
|
---|
[45f56ac] | 1131 | <indexterm zone="samba smbcquotas">
|
---|
[99ef1fc] | 1132 | <primary sortas="b-smbcquotas">smbcquotas</primary>
|
---|
| 1133 | </indexterm>
|
---|
| 1134 | </listitem>
|
---|
| 1135 | </varlistentry>
|
---|
| 1136 |
|
---|
| 1137 | <varlistentry id="smbd">
|
---|
| 1138 | <term><command>smbd</command></term>
|
---|
| 1139 | <listitem>
|
---|
[b51fe6e] | 1140 | <para>
|
---|
| 1141 | is the main <application>Samba</application> daemon which
|
---|
[4c24eb0a] | 1142 | provides SMB/CIFS services to clients
|
---|
[b51fe6e] | 1143 | </para>
|
---|
[45f56ac] | 1144 | <indexterm zone="samba smbd">
|
---|
[99ef1fc] | 1145 | <primary sortas="b-smbd">smbd</primary>
|
---|
| 1146 | </indexterm>
|
---|
| 1147 | </listitem>
|
---|
| 1148 | </varlistentry>
|
---|
| 1149 |
|
---|
[a8ecf657] | 1150 | <varlistentry id="smbget">
|
---|
| 1151 | <term><command>smbget</command></term>
|
---|
| 1152 | <listitem>
|
---|
[b51fe6e] | 1153 | <para>
|
---|
| 1154 | is a simple utility with <command>wget</command>-like semantics,
|
---|
| 1155 | that can download files from SMB servers. You can specify the
|
---|
[4c24eb0a] | 1156 | files you would like to download on the command-line
|
---|
[b51fe6e] | 1157 | </para>
|
---|
[45f56ac] | 1158 | <indexterm zone="samba smbget">
|
---|
[a8ecf657] | 1159 | <primary sortas="b-smbget">smbget</primary>
|
---|
| 1160 | </indexterm>
|
---|
| 1161 | </listitem>
|
---|
| 1162 | </varlistentry>
|
---|
| 1163 |
|
---|
[99ef1fc] | 1164 | <varlistentry id="smbpasswd">
|
---|
| 1165 | <term><command>smbpasswd</command></term>
|
---|
| 1166 | <listitem>
|
---|
[b51fe6e] | 1167 | <para>
|
---|
[4c24eb0a] | 1168 | changes a user's <application>Samba</application> password
|
---|
[b51fe6e] | 1169 | </para>
|
---|
[45f56ac] | 1170 | <indexterm zone="samba smbpasswd">
|
---|
[99ef1fc] | 1171 | <primary sortas="b-smbpasswd">smbpasswd</primary>
|
---|
| 1172 | </indexterm>
|
---|
| 1173 | </listitem>
|
---|
| 1174 | </varlistentry>
|
---|
| 1175 |
|
---|
| 1176 | <varlistentry id="smbspool">
|
---|
| 1177 | <term><command>smbspool</command></term>
|
---|
| 1178 | <listitem>
|
---|
[b51fe6e] | 1179 | <para>
|
---|
[831c4508] | 1180 | sends a print job to a SMB printer
|
---|
[b51fe6e] | 1181 | </para>
|
---|
[45f56ac] | 1182 | <indexterm zone="samba smbspool">
|
---|
[99ef1fc] | 1183 | <primary sortas="b-smbspool">smbspool</primary>
|
---|
| 1184 | </indexterm>
|
---|
| 1185 | </listitem>
|
---|
| 1186 | </varlistentry>
|
---|
| 1187 |
|
---|
| 1188 | <varlistentry id="smbstatus">
|
---|
| 1189 | <term><command>smbstatus</command></term>
|
---|
| 1190 | <listitem>
|
---|
[b51fe6e] | 1191 | <para>
|
---|
[4c24eb0a] | 1192 | reports current <application>Samba</application> connections
|
---|
[b51fe6e] | 1193 | </para>
|
---|
[45f56ac] | 1194 | <indexterm zone="samba smbstatus">
|
---|
[99ef1fc] | 1195 | <primary sortas="b-smbstatus">smbstatus</primary>
|
---|
| 1196 | </indexterm>
|
---|
| 1197 | </listitem>
|
---|
| 1198 | </varlistentry>
|
---|
| 1199 |
|
---|
| 1200 | <varlistentry id="smbtar">
|
---|
| 1201 | <term><command>smbtar</command></term>
|
---|
| 1202 | <listitem>
|
---|
[b51fe6e] | 1203 | <para>
|
---|
| 1204 | is a shell script used for backing up SMB/CIFS shares
|
---|
[831c4508] | 1205 | directly to Linux tape drives or to a file
|
---|
[b51fe6e] | 1206 | </para>
|
---|
[45f56ac] | 1207 | <indexterm zone="samba smbtar">
|
---|
[99ef1fc] | 1208 | <primary sortas="b-smbtar">smbtar</primary>
|
---|
| 1209 | </indexterm>
|
---|
| 1210 | </listitem>
|
---|
| 1211 | </varlistentry>
|
---|
| 1212 |
|
---|
[72d90b67] | 1213 | <varlistentry id="smbtorture">
|
---|
| 1214 | <term><command>smbtorture</command></term>
|
---|
| 1215 | <listitem>
|
---|
[b51fe6e] | 1216 | <para>
|
---|
[48771ae] | 1217 | is a test suite that runs several tests against a SMB server
|
---|
[b51fe6e] | 1218 | </para>
|
---|
[72d90b67] | 1219 | <indexterm zone="samba smbtorture">
|
---|
| 1220 | <primary sortas="b-smbtorture">smbtorture</primary>
|
---|
| 1221 | </indexterm>
|
---|
| 1222 | </listitem>
|
---|
| 1223 | </varlistentry>
|
---|
| 1224 |
|
---|
[99ef1fc] | 1225 | <varlistentry id="smbtree">
|
---|
| 1226 | <term><command>smbtree</command></term>
|
---|
| 1227 | <listitem>
|
---|
[b51fe6e] | 1228 | <para>
|
---|
[4c24eb0a] | 1229 | is a text-based SMB network browser
|
---|
[b51fe6e] | 1230 | </para>
|
---|
[45f56ac] | 1231 | <indexterm zone="samba smbtree">
|
---|
[99ef1fc] | 1232 | <primary sortas="b-smbtree">smbtree</primary>
|
---|
| 1233 | </indexterm>
|
---|
| 1234 | </listitem>
|
---|
| 1235 | </varlistentry>
|
---|
| 1236 |
|
---|
| 1237 | <varlistentry id="tdbbackup">
|
---|
| 1238 | <term><command>tdbbackup</command></term>
|
---|
| 1239 | <listitem>
|
---|
[b51fe6e] | 1240 | <para>
|
---|
| 1241 | is a tool for backing up or validating the integrity of
|
---|
[4c24eb0a] | 1242 | <application>Samba</application> <filename>.tdb</filename> files
|
---|
[b51fe6e] | 1243 | </para>
|
---|
[45f56ac] | 1244 | <indexterm zone="samba tdbbackup">
|
---|
[99ef1fc] | 1245 | <primary sortas="b-tdbbackup">tdbbackup</primary>
|
---|
| 1246 | </indexterm>
|
---|
| 1247 | </listitem>
|
---|
| 1248 | </varlistentry>
|
---|
| 1249 |
|
---|
| 1250 | <varlistentry id="tdbdump">
|
---|
| 1251 | <term><command>tdbdump</command></term>
|
---|
| 1252 | <listitem>
|
---|
[b51fe6e] | 1253 | <para>
|
---|
| 1254 | is a tool used to print the contents of a
|
---|
[4c24eb0a] | 1255 | <application>Samba</application> <filename>.tdb</filename> file
|
---|
[b51fe6e] | 1256 | </para>
|
---|
[45f56ac] | 1257 | <indexterm zone="samba tdbdump">
|
---|
[99ef1fc] | 1258 | <primary sortas="b-tdbdump">tdbdump</primary>
|
---|
| 1259 | </indexterm>
|
---|
[72d90b67] | 1260 | </listitem>
|
---|
| 1261 | </varlistentry>
|
---|
| 1262 |
|
---|
| 1263 | <varlistentry id="tdbrestore">
|
---|
| 1264 | <term><command>tdbrestore</command></term>
|
---|
| 1265 | <listitem>
|
---|
[b51fe6e] | 1266 | <para>
|
---|
| 1267 | is a tool for creating a <application>Samba</application>
|
---|
[4c24eb0a] | 1268 | <filename>.tdb</filename> file out of a ntdbdump
|
---|
[b51fe6e] | 1269 | </para>
|
---|
[72d90b67] | 1270 | <indexterm zone="samba tdbrestore">
|
---|
| 1271 | <primary sortas="b-tdbrestore">tdbrestore</primary>
|
---|
| 1272 | </indexterm>
|
---|
[99ef1fc] | 1273 | </listitem>
|
---|
| 1274 | </varlistentry>
|
---|
| 1275 |
|
---|
| 1276 | <varlistentry id="tdbtool">
|
---|
| 1277 | <term><command>tdbtool</command></term>
|
---|
| 1278 | <listitem>
|
---|
[b51fe6e] | 1279 | <para>
|
---|
| 1280 | is a tool which allows simple database manipulation from the
|
---|
[4c24eb0a] | 1281 | command line
|
---|
[b51fe6e] | 1282 | </para>
|
---|
[45f56ac] | 1283 | <indexterm zone="samba tdbtool">
|
---|
[99ef1fc] | 1284 | <primary sortas="b-tdbtool">tdbtool</primary>
|
---|
| 1285 | </indexterm>
|
---|
| 1286 | </listitem>
|
---|
| 1287 | </varlistentry>
|
---|
| 1288 |
|
---|
| 1289 | <varlistentry id="testparm">
|
---|
| 1290 | <term><command>testparm</command></term>
|
---|
| 1291 | <listitem>
|
---|
[b51fe6e] | 1292 | <para>
|
---|
[cdddf067] | 1293 | checks a <filename>smb.conf</filename> file for proper syntax
|
---|
[b51fe6e] | 1294 | </para>
|
---|
[45f56ac] | 1295 | <indexterm zone="samba testparm">
|
---|
[99ef1fc] | 1296 | <primary sortas="b-testparm">testparm</primary>
|
---|
| 1297 | </indexterm>
|
---|
| 1298 | </listitem>
|
---|
| 1299 | </varlistentry>
|
---|
| 1300 |
|
---|
| 1301 | <varlistentry id="wbinfo">
|
---|
| 1302 | <term><command>wbinfo</command></term>
|
---|
| 1303 | <listitem>
|
---|
[b51fe6e] | 1304 | <para>
|
---|
[4c24eb0a] | 1305 | queries a running <command>winbindd</command> daemon
|
---|
[b51fe6e] | 1306 | </para>
|
---|
[45f56ac] | 1307 | <indexterm zone="samba wbinfo">
|
---|
[99ef1fc] | 1308 | <primary sortas="b-wbinfo">wbinfo</primary>
|
---|
| 1309 | </indexterm>
|
---|
| 1310 | </listitem>
|
---|
| 1311 | </varlistentry>
|
---|
| 1312 |
|
---|
| 1313 | <varlistentry id="winbindd">
|
---|
| 1314 | <term><command>winbindd</command></term>
|
---|
| 1315 | <listitem>
|
---|
[b51fe6e] | 1316 | <para>
|
---|
[4c24eb0a] | 1317 | resolves names from Windows NT servers
|
---|
[b51fe6e] | 1318 | </para>
|
---|
[45f56ac] | 1319 | <indexterm zone="samba winbindd">
|
---|
[99ef1fc] | 1320 | <primary sortas="b-winbindd">winbindd</primary>
|
---|
| 1321 | </indexterm>
|
---|
| 1322 | </listitem>
|
---|
| 1323 | </varlistentry>
|
---|
| 1324 |
|
---|
[f4c0a45] | 1325 | <varlistentry id="libnss_winbind">
|
---|
[4c24eb0a] | 1326 | <term><filename class="libraryfile">libnss_winbind.so</filename></term>
|
---|
[f4c0a45] | 1327 | <listitem>
|
---|
[b51fe6e] | 1328 | <para>
|
---|
| 1329 | provides Name Service Switch API functions for resolving names
|
---|
[4c24eb0a] | 1330 | from NT servers
|
---|
[b51fe6e] | 1331 | </para>
|
---|
[45f56ac] | 1332 | <indexterm zone="samba libnss_winbind">
|
---|
[f4c0a45] | 1333 | <primary sortas="c-libnss_winbind">libnss_winbind.so</primary>
|
---|
| 1334 | </indexterm>
|
---|
| 1335 | </listitem>
|
---|
| 1336 | </varlistentry>
|
---|
| 1337 |
|
---|
| 1338 | <varlistentry id="libnss_wins">
|
---|
[4c24eb0a] | 1339 | <term><filename class="libraryfile">libnss_wins.so</filename></term>
|
---|
[f4c0a45] | 1340 | <listitem>
|
---|
[b51fe6e] | 1341 | <para>
|
---|
| 1342 | provides API functions for Samba's implementation of the
|
---|
[4c24eb0a] | 1343 | Windows Internet Naming Service
|
---|
[b51fe6e] | 1344 | </para>
|
---|
[45f56ac] | 1345 | <indexterm zone="samba libnss_wins">
|
---|
[f4c0a45] | 1346 | <primary sortas="c-libnss_wins">libnss_wins.so</primary>
|
---|
| 1347 | </indexterm>
|
---|
| 1348 | </listitem>
|
---|
| 1349 | </varlistentry>
|
---|
| 1350 |
|
---|
| 1351 | <varlistentry id="libnetapi">
|
---|
[4c24eb0a] | 1352 | <term><filename class="libraryfile">libnetapi.so</filename></term>
|
---|
[f4c0a45] | 1353 | <listitem>
|
---|
[b51fe6e] | 1354 | <para>
|
---|
[94bdff09] | 1355 | provides API functions for the administration tools used
|
---|
[4c24eb0a] | 1356 | for Samba and remote CIFS servers
|
---|
[b51fe6e] | 1357 | </para>
|
---|
[45f56ac] | 1358 | <indexterm zone="samba libnetapi">
|
---|
[f4c0a45] | 1359 | <primary sortas="c-libnetapi">libnetapi.so</primary>
|
---|
| 1360 | </indexterm>
|
---|
| 1361 | </listitem>
|
---|
| 1362 | </varlistentry>
|
---|
| 1363 |
|
---|
| 1364 | <varlistentry id="libsmbclient">
|
---|
[4c24eb0a] | 1365 | <term><filename class="libraryfile">libsmbclient.so</filename></term>
|
---|
[f4c0a45] | 1366 | <listitem>
|
---|
[b51fe6e] | 1367 | <para>
|
---|
[94bdff09] | 1368 | provides API functions for the Samba SMB client tools
|
---|
[b51fe6e] | 1369 | </para>
|
---|
[45f56ac] | 1370 | <indexterm zone="samba libsmbclient">
|
---|
[f4c0a45] | 1371 | <primary sortas="c-libsmbclient">libsmbclient.so</primary>
|
---|
| 1372 | </indexterm>
|
---|
| 1373 | </listitem>
|
---|
| 1374 | </varlistentry>
|
---|
[defca61] | 1375 | <!--
|
---|
[f4c0a45] | 1376 | <varlistentry id="libsmbsharemodes">
|
---|
[4c24eb0a] | 1377 | <term><filename class="libraryfile">libsmbsharemodes.so</filename></term>
|
---|
[f4c0a45] | 1378 | <listitem>
|
---|
[b51fe6e] | 1379 | <para>
|
---|
| 1380 | provides API functions for accessing SMB share modes (locks etc.)
|
---|
| 1381 | </para>
|
---|
[45f56ac] | 1382 | <indexterm zone="samba libsmbsharemodes">
|
---|
[f4c0a45] | 1383 | <primary sortas="c-libsmbsharemodes">libsmbsharemodes.so</primary>
|
---|
| 1384 | </indexterm>
|
---|
| 1385 | </listitem>
|
---|
[defca61] | 1386 | </varlistentry>-->
|
---|
[f4c0a45] | 1387 |
|
---|
| 1388 | <varlistentry id="libwbclient">
|
---|
[4c24eb0a] | 1389 | <term><filename class="libraryfile">libwbclient.so</filename></term>
|
---|
[f4c0a45] | 1390 | <listitem>
|
---|
[b51fe6e] | 1391 | <para>
|
---|
[4c24eb0a] | 1392 | provides API functions for Windows domain client services
|
---|
[b51fe6e] | 1393 | </para>
|
---|
[45f56ac] | 1394 | <indexterm zone="samba libwbclient">
|
---|
[f4c0a45] | 1395 | <primary sortas="c-libwbclient">libwbclient.so</primary>
|
---|
| 1396 | </indexterm>
|
---|
| 1397 | </listitem>
|
---|
| 1398 | </varlistentry>
|
---|
| 1399 |
|
---|
[99ef1fc] | 1400 | </variablelist>
|
---|
| 1401 |
|
---|
| 1402 | </sect2>
|
---|
| 1403 |
|
---|
| 1404 | </sect1>
|
---|