source: networking/netprogs/samba.xml@ 48467f3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 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 krejzi/svn 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 48467f3 was 48467f3, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

samba-4.1.12: unrecommend the test suite. Thanks Christopher for discussions.

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

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