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