source: networking/netprogs/samba.xml@ e20b59be

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e20b59be was e20b59be, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • Update to libgusb-0.2.8.
  • Update to librsvg-2.40.12.
  • Update to dbus-1.10.6.
  • Update to mercurial-3.6.2.
  • Update to samba-4.3.2.
  • Update to libass-0.13.1.

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