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