source: networking/netprogs/samba.xml@ 14d1bd9

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

Update to gtk+3.24.22.
Update to emacs-27.1.
Update to pango-1.46.0.
Update to vala-0.48.9.

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

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