source: networking/netprogs/samba.xml@ d5c4c3b5

12.2 gimp3 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since d5c4c3b5 was efc10aa3, checked in by Bruce Dubbs <bdubbs@…>, 5 months ago

Spelling

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