source: networking/netprogs/samba.xml@ 99bc211

10.0 10.1 11.0 11.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 99bc211 was 99bc211, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to gedit-3.20.2.
Update to mc-4.8.17.
Update to smartmontools-6.5.
Update to samba-4.4.3.
Update to List-AllUtils-0.10.

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

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