source: networking/netprogs/samba.xml@ 94bdff09

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 94bdff09 was 94bdff09, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to samba-4.14.4 (security update)
Update to fetchmail-6.4.19
Update to apache-ant-1.10.10
Updaet to fuse-3.10.3

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