source: networking/netprogs/samba.xml@ a206343

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn elogind 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 a206343 was a206343, checked in by Ken Moffat <ken@…>, 5 years ago

Trunk: merge perl modules branch.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20709 af4574ff-66df-0310-9fd7-8a98e5e911e0

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