source: networking/netprogs/samba.xml@ aadebdcc

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 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 aadebdcc was aadebdcc, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Finish tagging networking packages

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

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