source: networking/netprogs/samba.xml@ d6d0a2cb

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 d6d0a2cb was d6d0a2cb, checked in by Douglas R. Reno <renodr@…>, 6 years ago

Add Jansson

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

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