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