source: networking/netprogs/samba.xml@ 79ba2ea

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 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 79ba2ea was 79ba2ea, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • Update to dbus-1.8.20.
  • Update to gtk+-3.16.6.
  • Fixes and tweaks: Samba-4.2.3, QScintilla-gpl-2.9 and qterminal-0.6.0.

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

  • Property mode set to 100644
File size: 35.7 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 "aeaa6ccee87727b7d01df7b6d0864c74">
10 <!ENTITY samba-size "20 MB">
11 <!ENTITY samba-buildsize "476 MB (additional 397 MB for the quicktest, reputedly up to 500 MB additional for all tests)">
12 <!ENTITY samba-time "2.1 SBU, using parallelism=4 (additional 7.4 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 &lfs77_checked; &gcc5_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="talloc"/>,
88 <xref linkend="valgrind"/> (optionally used by the test suite),
89 <xref linkend="xfsprogs"/>,
90 <ulink url="https://ctdb.samba.org/">ctdb</ulink>,
91 <ulink url="https://people.gnome.org/~veillard/gamin/">Gamin</ulink>,
92 <ulink url="http://www.h5l.org/">Heimdal</ulink>,
93 <ulink url="http://ftp.de.debian.org/debian/pool/main/liba/libaio/">libaio</ulink>,
94 <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
95 <ulink url="https://www.samba.org/ftp/ldb/">ldb</ulink>,
96 <ulink url="http://www.openafs.org/">OpenAFS</ulink>,
97 <ulink url="https://tevent.samba.org/">tevent</ulink>, and
98 <ulink url="https://tdb.samba.org/">tdb</ulink>
99 </para>
100
101 <para condition="html" role="usernotes">User Notes:
102 <ulink url="&blfs-wiki;/samba4"/></para>
103
104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of Samba</title>
108
109 <note>
110 <para>If you wish to run the test suite after the binaries are built, you
111 must add the <option>--enable-selftest</option> parameter to the
112 <command>configure</command> script below. You may want to run
113 <command>configure</command> with the <option>--help</option> parameter
114 first. There may be other parameters needed to take advantage of optional
115 dependencies.</para>
116 </note>
117
118 <para>Install <application>Samba</application> by running the following
119 commands:</para>
120
121<screen><userinput>./configure \
122 --prefix=/usr \
123 --sysconfdir=/etc \
124 --localstatedir=/var \
125 --with-piddir=/run/samba \
126 --with-pammodulesdir=/lib/security \
127 --without-systemd \
128 --enable-fhs &amp;&amp;
129
130make</userinput></screen>
131
132 <para>According to <application>Samba</application> developers, the
133 limitation to 108 characters of the path length of a unix named pipe socket
134 may be the cause of errors, so that over 1/3 of the tests might fail. For
135 this reason, the switch <option>--with-selftest-prefix=/tmp/quick</option>
136 (or another path with small number of characters) can be used with
137 configure. Even so, the
138 <quote><replaceable>samba3.raw.eas</replaceable></quote> test may fail,
139 apparently for the same reason. If one quicktest fails, it can be disabled.
140 For example, <quote><replaceable>samba3.raw.eas</replaceable></quote> may
141 be disabled with the following command:</para>
142
143<screen><userinput>sed -i "/samba3.blackbox.failure.failure/i \^samba3.raw.eas" selftest/knownfail</userinput></screen>
144
145 <para>To test the results, as the
146 <systemitem class="username">root</systemitem> user, issue:
147 <command>make quicktest 2>&amp;1 | tee quicktest.log</command>. Summary of
148 the test results and some other information may be obtained with
149 <command>grep -A5 testsuites quicktest.log</command>. There are other
150 targets (test, subunit-test) available, but take a very long time
151 (over 100 SBU).</para>
152
153 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
154
155<screen role="root"><userinput>make install &amp;&amp;
156
157mv -v /usr/lib/libnss_win{s,bind}.so* /lib &amp;&amp;
158ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so &amp;&amp;
159ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so &amp;&amp;
160
161install -v -m644 examples/smb.conf.default /etc/samba &amp;&amp;
162
163mkdir -pv /etc/openldap/schema &amp;&amp;
164
165install -v -m644 examples/LDAP/README \
166 /etc/openldap/schema/README.LDAP &amp;&amp;
167
168install -v -m644 examples/LDAP/samba* \
169 /etc/openldap/schema &amp;&amp;
170
171install -v -m755 examples/LDAP/{get*,ol*} \
172 /etc/openldap/schema &amp;&amp;
173
174install -v -m755 -d /usr/share/doc/samba-&samba-version; &amp;&amp;
175
176install -v -m644 lib/ntdb/doc/design.pdf \
177 /usr/share/doc/samba-&samba-version;</userinput></screen>
178
179 </sect2>
180
181 <sect2 role="commands">
182 <title>Command Explanations</title>
183
184 <para><parameter>--enable-fhs</parameter>: Assigns all other file paths in
185 a manner compliant with the Filesystem Hierarchy Standard (FHS).</para>
186
187 <para><parameter>--without-systemd</parameter>: Disable
188 <application>systemd</application> integration, which is not part of
189 LFS/BLFS. If you use <application>systemd</application>, replace by
190 <parameter>--with-systemd</parameter>.</para>
191<!--
192 <para><option>-/-enable-socket-wrapper</option> and
193 <option>-/-enable-selftest</option>: These options are required to run
194 the test suite.</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, ldbedit,
472 ldbmodify, ldbrename, ldbsearch, locktest, masktest, ndrdump, net,
473 nmbd, nmblookup, ntdbbackup, ntdbdump, ntdbrestore, ntdbtool,
474 ntlm_auth, oLschema2ldif, pdbedit, pidl, profiles, regdiff, regpatch,
475 regshell, regtree, rpcclient, samba, samba_dnsupdate, samba_kcc,
476 samba-regedit, samba_spnupdate, samba-tool, samba_upgradedns,
477 sharesec, smbcacls, smbclient, smbcontrol, smbcquotas, smbd, smbget,
478 smbpasswd, smbspool, smbstatus, smbtar, smbta-util, smbtorture,
479 smbtree, tdbbackup, tdbdump, tdbrestore, tdbtool, testparm, wbinfo,
480 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, and
492 winbind_krb5_locator.so; the pam_winbind.so and pam_smbpass.so PAM
493 libraries; and assorted character set, filesystem and support modules
494 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/samba, /usr/share/doc/samba-&samba-version;,
502 /usr/share/samba, and /var/{cache,lib,lock,log,run}/samba
503 </seg>
504
505 </seglistitem>
506 </segmentedlist>
507
508 <variablelist>
509 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
510 <?dbfo list-presentation="list"?>
511 <?dbhtml list-presentation="table"?>
512
513 <varlistentry id="eventlogadm">
514 <term><command>eventlogadm</command></term>
515 <listitem>
516 <para>is used to write records to eventlogs from STDIN, add the
517 specified source and DLL eventlog registry entries and display the
518 active eventlog names (from <filename>smb.conf</filename>).</para>
519 <indexterm zone="samba eventlogadm">
520 <primary sortas="b-eventlogadm">eventlogadm</primary>
521 </indexterm>
522 </listitem>
523 </varlistentry>
524
525 <varlistentry id="ldbadd">
526 <term><command>ldbadd</command></term>
527 <listitem>
528 <para>is a command-line utility for adding records to an LDB
529 database.</para>
530 <indexterm zone="samba ldbadd">
531 <primary sortas="b-ldbadd">ldbadd</primary>
532 </indexterm>
533 </listitem>
534 </varlistentry>
535
536 <varlistentry id="ldbdel">
537 <term><command>ldbdel</command></term>
538 <listitem>
539 <para>is a command-line program for deleting LDB database
540 records.</para>
541 <indexterm zone="samba ldbdel">
542 <primary sortas="b-ldbdel">ldbdel</primary>
543 </indexterm>
544 </listitem>
545 </varlistentry>
546
547 <varlistentry id="ldbedit">
548 <term><command>ldbedit</command></term>
549 <listitem>
550 <para>allows you to edit LDB databases using your preferred
551 editor.</para>
552 <indexterm zone="samba ldbedit">
553 <primary sortas="b-ldbedit">ldbedit</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="ldbmodify">
559 <term><command>ldbmodify</command></term>
560 <listitem>
561 <para>allows you to modify records in an LDB database.</para>
562 <indexterm zone="samba ldbmodify">
563 <primary sortas="b-ldbmodify">ldbmodify</primary>
564 </indexterm>
565 </listitem>
566 </varlistentry>
567
568 <varlistentry id="ldbrename">
569 <term><command>ldbrename</command></term>
570 <listitem>
571 <para>allows you to edit LDB databases using your preferred
572 editor.</para>
573 <indexterm zone="samba ldbrename">
574 <primary sortas="b-ldbrename">ldbrename</primary>
575 </indexterm>
576 </listitem>
577 </varlistentry>
578
579 <varlistentry id="ldbsearch">
580 <term><command>ldbsearch</command></term>
581 <listitem>
582 <para>searches an LDB database for records matching a specified
583 expression.</para>
584 <indexterm zone="samba ldbsearch">
585 <primary sortas="b-ldbsearch">ldbsearch</primary>
586 </indexterm>
587 </listitem>
588 </varlistentry>
589
590 <varlistentry id="net">
591 <term><command>net</command></term>
592 <listitem>
593 <para>is a tool for administration of
594 <application>Samba</application> and remote CIFS servers, similar
595 to the <command>net</command> utility for DOS/Windows.</para>
596 <indexterm zone="samba net">
597 <primary sortas="b-net">net</primary>
598 </indexterm>
599 </listitem>
600 </varlistentry>
601
602 <varlistentry id="nmbd">
603 <term><command>nmbd</command></term>
604 <listitem>
605 <para>is the <application>Samba</application>
606 NetBIOS name server.</para>
607 <indexterm zone="samba nmbd">
608 <primary sortas="b-nmbd">nmbd</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="nmblookup">
614 <term><command>nmblookup</command></term>
615 <listitem>
616 <para>is used to query NetBIOS names and map
617 them to IP addresses.</para>
618 <indexterm zone="samba nmblookup">
619 <primary sortas="b-nmblookup">nmblookup</primary>
620 </indexterm>
621 </listitem>
622 </varlistentry>
623
624 <varlistentry id="ntlm_auth">
625 <term><command>ntlm_auth</command></term>
626 <listitem>
627 <para>is a tool to allow external access to Winbind's
628 NTLM authentication function.</para>
629 <indexterm zone="samba ntlm_auth">
630 <primary sortas="b-ntlm_auth">ntlm_auth</primary>
631 </indexterm>
632 </listitem>
633 </varlistentry>
634
635 <varlistentry id="pdbedit">
636 <term><command>pdbedit</command></term>
637 <listitem>
638 <para>is a tool used to manage the SAM database.</para>
639 <indexterm zone="samba pdbedit">
640 <primary sortas="b-pdbedit">pdbedit</primary>
641 </indexterm>
642 </listitem>
643 </varlistentry>
644
645 <varlistentry id="profiles">
646 <term><command>profiles</command></term>
647 <listitem>
648 <para>is a utility that reports and changes SIDs in Windows
649 registry files. It currently only supports Windows NT.</para>
650 <indexterm zone="samba profiles">
651 <primary sortas="b-profiles">profiles</primary>
652 </indexterm>
653 </listitem>
654 </varlistentry>
655
656 <varlistentry id="rpcclient">
657 <term><command>rpcclient</command></term>
658 <listitem>
659 <para>is used to execute MS-RPC client side functions.</para>
660 <indexterm zone="samba rpcclient">
661 <primary sortas="b-rpcclient">rpcclient</primary>
662 </indexterm>
663 </listitem>
664 </varlistentry>
665
666 <varlistentry id="sharesec">
667 <term><command>sharesec</command></term>
668 <listitem>
669 <para>manipulates share ACL permissions on SMB file shares.</para>
670 <indexterm zone="samba sharesec">
671 <primary sortas="b-sharesec">sharesec</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
676 <varlistentry id="smbcacls">
677 <term><command>smbcacls</command></term>
678 <listitem>
679 <para>is used to manipulate Windows NT access control lists.</para>
680 <indexterm zone="samba smbcacls">
681 <primary sortas="b-smbcacls">smbcacls</primary>
682 </indexterm>
683 </listitem>
684 </varlistentry>
685
686 <varlistentry id="smbclient">
687 <term><command>smbclient</command></term>
688 <listitem>
689 <para>is a SMB/CIFS access utility, similar to FTP.</para>
690 <indexterm zone="samba smbclient">
691 <primary sortas="b-smbclient">smbclient</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695
696 <varlistentry id="smbcontrol">
697 <term><command>smbcontrol</command></term>
698 <listitem>
699 <para>is used to control running <command>smbd</command>,
700 <command>nmbd</command> and <command>winbindd</command>
701 daemons.</para>
702 <indexterm zone="samba smbcontrol">
703 <primary sortas="b-smbcontrol">smbcontrol</primary>
704 </indexterm>
705 </listitem>
706 </varlistentry>
707
708 <varlistentry id="smbcquotas">
709 <term><command>smbcquotas</command></term>
710 <listitem>
711 <para>is used to manipulate Windows NT quotas on
712 SMB file shares.</para>
713 <indexterm zone="samba smbcquotas">
714 <primary sortas="b-smbcquotas">smbcquotas</primary>
715 </indexterm>
716 </listitem>
717 </varlistentry>
718
719 <varlistentry id="smbd">
720 <term><command>smbd</command></term>
721 <listitem>
722 <para>is the main <application>Samba</application> daemon which
723 provides SMB/CIFS services to clients.</para>
724 <indexterm zone="samba smbd">
725 <primary sortas="b-smbd">smbd</primary>
726 </indexterm>
727 </listitem>
728 </varlistentry>
729
730 <varlistentry id="smbget">
731 <term><command>smbget</command></term>
732 <listitem>
733 <para>is a simple utility with <command>wget</command>-like
734 semantics, that can download files from SMB servers. You can specify
735 the files you would like to download on the command-line.</para>
736 <indexterm zone="samba smbget">
737 <primary sortas="b-smbget">smbget</primary>
738 </indexterm>
739 </listitem>
740 </varlistentry>
741
742 <varlistentry id="smbpasswd">
743 <term><command>smbpasswd</command></term>
744 <listitem>
745 <para>changes a user's <application>Samba</application>
746 password.</para>
747 <indexterm zone="samba smbpasswd">
748 <primary sortas="b-smbpasswd">smbpasswd</primary>
749 </indexterm>
750 </listitem>
751 </varlistentry>
752
753 <varlistentry id="smbspool">
754 <term><command>smbspool</command></term>
755 <listitem>
756 <para>sends a print job to an SMB printer.</para>
757 <indexterm zone="samba smbspool">
758 <primary sortas="b-smbspool">smbspool</primary>
759 </indexterm>
760 </listitem>
761 </varlistentry>
762
763 <varlistentry id="smbstatus">
764 <term><command>smbstatus</command></term>
765 <listitem>
766 <para>reports current <application>Samba</application>
767 connections.</para>
768 <indexterm zone="samba smbstatus">
769 <primary sortas="b-smbstatus">smbstatus</primary>
770 </indexterm>
771 </listitem>
772 </varlistentry>
773
774 <varlistentry id="smbtar">
775 <term><command>smbtar</command></term>
776 <listitem>
777 <para>is a shell script used for backing up SMB/CIFS shares
778 directly to Linux tape drives or a file.</para>
779 <indexterm zone="samba smbtar">
780 <primary sortas="b-smbtar">smbtar</primary>
781 </indexterm>
782 </listitem>
783 </varlistentry>
784
785 <varlistentry id="smbtree">
786 <term><command>smbtree</command></term>
787 <listitem>
788 <para>is a text-based SMB network browser.</para>
789 <indexterm zone="samba smbtree">
790 <primary sortas="b-smbtree">smbtree</primary>
791 </indexterm>
792 </listitem>
793 </varlistentry>
794
795 <varlistentry id="tdbbackup">
796 <term><command>tdbbackup</command></term>
797 <listitem>
798 <para>is a tool for backing up or validating the integrity of
799 <application>Samba</application> <filename>.tdb</filename>
800 files.</para>
801 <indexterm zone="samba tdbbackup">
802 <primary sortas="b-tdbbackup">tdbbackup</primary>
803 </indexterm>
804 </listitem>
805 </varlistentry>
806
807 <varlistentry id="tdbdump">
808 <term><command>tdbdump</command></term>
809 <listitem>
810 <para> is a tool used to print the contents of a
811 <application>Samba</application> <filename>.tdb</filename>
812 file.</para>
813 <indexterm zone="samba tdbdump">
814 <primary sortas="b-tdbdump">tdbdump</primary>
815 </indexterm>
816 </listitem>
817 </varlistentry>
818
819 <varlistentry id="tdbtool">
820 <term><command>tdbtool</command></term>
821 <listitem>
822 <para>is a tool which allows simple database manipulation from the
823 command line.</para>
824 <indexterm zone="samba tdbtool">
825 <primary sortas="b-tdbtool">tdbtool</primary>
826 </indexterm>
827 </listitem>
828 </varlistentry>
829
830 <varlistentry id="testparm">
831 <term><command>testparm</command></term>
832 <listitem>
833 <para>checks an <filename>smb.conf</filename> file for proper
834 syntax.</para>
835 <indexterm zone="samba testparm">
836 <primary sortas="b-testparm">testparm</primary>
837 </indexterm>
838 </listitem>
839 </varlistentry>
840
841 <varlistentry id="wbinfo">
842 <term><command>wbinfo</command></term>
843 <listitem>
844 <para>queries a running <command>winbindd</command> daemon.</para>
845 <indexterm zone="samba wbinfo">
846 <primary sortas="b-wbinfo">wbinfo</primary>
847 </indexterm>
848 </listitem>
849 </varlistentry>
850
851 <varlistentry id="winbindd">
852 <term><command>winbindd</command></term>
853 <listitem>
854 <para>resolves names from Windows NT servers.</para>
855 <indexterm zone="samba winbindd">
856 <primary sortas="b-winbindd">winbindd</primary>
857 </indexterm>
858 </listitem>
859 </varlistentry>
860
861 <varlistentry id="libnss_winbind">
862 <term><filename class='libraryfile'>libnss_winbind.so</filename></term>
863 <listitem>
864 <para>provides Name Service Switch API functions for resolving names
865 from NT servers.</para>
866 <indexterm zone="samba libnss_winbind">
867 <primary sortas="c-libnss_winbind">libnss_winbind.so</primary>
868 </indexterm>
869 </listitem>
870 </varlistentry>
871
872 <varlistentry id="libnss_wins">
873 <term><filename class='libraryfile'>libnss_wins.so</filename></term>
874 <listitem>
875 <para>provides API functions for Samba's implementation of the
876 Windows Internet Naming Service.</para>
877 <indexterm zone="samba libnss_wins">
878 <primary sortas="c-libnss_wins">libnss_wins.so</primary>
879 </indexterm>
880 </listitem>
881 </varlistentry>
882
883 <varlistentry id="libnetapi">
884 <term><filename class='libraryfile'>libnetapi.so</filename></term>
885 <listitem>
886 <para>provides the API functions for the administration tools used
887 for Samba and remote CIFS servers.</para>
888 <indexterm zone="samba libnetapi">
889 <primary sortas="c-libnetapi">libnetapi.so</primary>
890 </indexterm>
891 </listitem>
892 </varlistentry>
893
894 <varlistentry id="libsmbclient">
895 <term><filename class='libraryfile'>libsmbclient.so</filename></term>
896 <listitem>
897 <para>provides the API functions for the Samba SMB client tools.</para>
898 <indexterm zone="samba libsmbclient">
899 <primary sortas="c-libsmbclient">libsmbclient.so</primary>
900 </indexterm>
901 </listitem>
902 </varlistentry>
903<!--
904 <varlistentry id="libsmbsharemodes">
905 <term><filename class='libraryfile'>libsmbsharemodes.so</filename></term>
906 <listitem>
907 <para>provides API functions for accessing SMB share modes
908 (locks etc.)</para>
909 <indexterm zone="samba libsmbsharemodes">
910 <primary sortas="c-libsmbsharemodes">libsmbsharemodes.so</primary>
911 </indexterm>
912 </listitem>
913 </varlistentry>-->
914
915 <varlistentry id="libwbclient">
916 <term><filename class='libraryfile'>libwbclient.so</filename></term>
917 <listitem>
918 <para>provides API functions for Windows domain client services.</para>
919 <indexterm zone="samba libwbclient">
920 <primary sortas="c-libwbclient">libwbclient.so</primary>
921 </indexterm>
922 </listitem>
923 </varlistentry>
924
925 </variablelist>
926
927 </sect2>
928
929</sect1>
Note: See TracBrowser for help on using the repository browser.