source: networking/netprogs/samba.xml@ a6e9ec1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a6e9ec1 was a6e9ec1, checked in by DJ Lucas <dj@…>, 7 years ago

Update to samba-4.6.0. Fixes #8983.

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

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