source: networking/netprogs/samba.xml@ 5e047145

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 5e047145 was 5e047145, checked in by Tim Tassonis <stuff@…>, 6 years ago

Update to samba-4.8.0.

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

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