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