source: networking/netprogs/samba.xml@ 6b50dff

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.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 6b50dff was 6b50dff, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Fix samba md5sum

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

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