source: networking/netprogs/samba.xml@ b51fe6e

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 b51fe6e was b51fe6e, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format netprogs

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

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