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