source: networking/netprogs/samba.xml@ f080ae0e

systemd-13485
Last change on this file since f080ae0e was f080ae0e, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Merge to trunk r17352

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17354 af4574ff-66df-0310-9fd7-8a98e5e911e0

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