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