source: server/major/samba3.xml@ b21c661

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 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 systemd-11177 systemd-13485 trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b21c661 was 2ccb0dc, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated Samba configuration section as suggested by Alexander

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

  • Property mode set to 100644
File size: 28.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY samba3-download-http "http://us1.samba.org/samba/ftp/samba-&samba3-version;.tar.gz">
8 <!ENTITY samba3-download-ftp "ftp://ftp.samba.org/pub/samba/samba-&samba3-version;.tar.gz">
9 <!ENTITY samba3-md5sum "ebee37e66a8b5f6fd328967dc09088e8">
10 <!ENTITY samba3-size "15.6 MB">
11 <!ENTITY samba3-buildsize "147 MB">
12 <!ENTITY samba3-time "2.21 SBU">
13]>
14
15<sect1 id="samba3" xreflabel="Samba-&samba3-version;">
16 <?dbhtml filename="samba3.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Samba-&samba3-version;</title>
24
25 <indexterm zone="samba3">
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 NT
35 4.0 Domain Controller replacement (with caveats working with NT PDC's and
36 BDC's), a file/print server acting as a member of a Windows NT 4.0 or
37 Active Directory domain and a NetBIOS (rfc1001/1002) nameserver (which
38 amongst other things provides LAN browsing support).</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&samba3-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&samba3-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &samba3-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &samba3-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &samba3-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &samba3-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Samba Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Optional</bridgehead>
65 <para><xref linkend="popt"/>,
66 <xref linkend="Linux_PAM"/>,
67 <xref linkend="openldap"/>,
68 <xref linkend="cups"/>,
69 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
70 <xref linkend="libxml2"/>,
71 <xref linkend="mysql"/> or <xref linkend="postgresql"/>,
72 <xref linkend="python"/>,
73 <xref linkend="xinetd"/>,
74 <ulink url="http://valgrind.kde.org/">Valgrind</ulink> and
75 <xref linkend="stunnel"/> (used to encrypt access to SWAT)</para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of Samba</title>
81
82 <para>Install <application>Samba</application> by running the following
83 commands:</para>
84
85<screen><userinput>cd source &amp;&amp;
86./configure \
87 --prefix=/usr \
88 --sysconfdir=/etc \
89 --localstatedir=/var \
90 --with-piddir=/var/run \
91 --with-fhs \
92 --with-smbmount &amp;&amp;
93make</userinput></screen>
94
95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
96
97<screen role="root"><userinput>install -v -m755 -d /var/cache/samba &amp;&amp;
98make install &amp;&amp;
99mv -v /usr/lib/samba/libsmbclient.so /usr/lib &amp;&amp;
100ln -v -sf ../libsmbclient.so /usr/lib/samba &amp;&amp;
101chmod -v 644 /usr/include/libsmbclient.h &amp;&amp;
102install -v -m755 nsswitch/libnss_win{s,bind}.so /lib &amp;&amp;
103ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 &amp;&amp;
104ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 &amp;&amp;
105if [ -f nsswitch/pam_winbind.so ]; then
106 install -v -m755 nsswitch/pam_winbind.so /lib/security
107fi &amp;&amp;
108install -v -m644 ../examples/smb.conf.default /etc/samba &amp;&amp;
109install -v -m644 ../docs/*.pdf /usr/share/samba</userinput></screen>
110
111 <note>
112 <para>You may want to run <command>configure</command> with the
113 <option>--help</option> parameter. There may be other parameters
114 needed to take advantage of the optional dependencies.</para>
115 </note>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
123 file directory to avoid the default of
124 <filename class="directory">/usr/etc</filename>.</para>
125
126 <para><parameter>--localstatedir=/var</parameter>: Sets the variable
127 data directory to avoid the default of
128 <filename class="directory">/usr/var</filename>.</para>
129
130 <para><parameter>--with-fhs</parameter>: Assigns all other file paths in
131 a manner compliant with the Filesystem Hierarchy Standard (FHS).</para>
132
133 <para><parameter>--with-smbmount</parameter>: Orders the creation of an
134 extra binary for use by the <command>mount</command> command so that
135 mounting remote SMB (Windows) shares becomes no more complex than
136 mounting remote NFS shares.</para>
137
138 <para><option>--with-pam</option>: Use this parameter to link
139 <application>Linux-PAM</application> into the build. This
140 also builds the <filename class='libraryfile'>pam_winbind.so</filename>
141 <application>PAM</application> module. You can find
142 instructions on how to configure and use the module by running
143 <command>man winbindd</command>.</para>
144
145 <para><command>install -v -d /var/cache/samba</command>: This directory is
146 needed for proper operation of the <command>smbd</command> and
147 <command>nmbd</command> daemons.</para>
148
149 <para><command>mv -v /usr/lib/samba/libsmbclient.so ...; ln -v -sf
150 ../libsmbclient.so ...</command>: The
151 <filename class='libraryfile'>libsmbclient.so</filename> library is needed
152 by other packages. This command moves it to a location where other packages
153 can find it.</para>
154
155 <para><command>install -v -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
156 The nss libraries are not installed by default. If you intend to use
157 winbindd for domain auth, and/or WINS name resolution,
158 you need these libraries.</para>
159
160 <para><command>ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2</command>
161 and <command>ln -v -sf libnss_wins.so /lib/libnss_wins.so.2</command>:
162 These symlinks are required by glibc to use the NSS
163 libraries.</para>
164
165 <para><command>install -v -m644 ../examples/smb.conf.default
166 /etc/samba</command>: This copies a default <filename>smb.conf</filename>
167 file into <filename>/etc/samba</filename>. This sample configuration will
168 not work until you copy it to <filename>/etc/samba/smb.conf</filename> and
169 make the appropriate changes for your installation. See the configuration
170 section for minimum values which must be set.</para>
171
172 </sect2>
173
174 <sect2 role="configuration">
175 <title>Configuring Samba</title>
176
177 <sect3 id="samba3-config">
178 <title>Config Files</title>
179
180 <para>/etc/samba/smb.conf</para>
181
182 <indexterm zone="samba3 samba3-config">
183 <primary sortas="e-etc-samba-smb.conf">/etc/samba/smb.conf</primary>
184 </indexterm>
185
186 </sect3>
187
188 <sect3>
189 <title>Configuration Information</title>
190
191 <para>The installation commands installed a default configuration file
192 which you can use as an example to set the values for your system and
193 network. At a minimum, ensure you set the following value to an
194 appropriate setting for your network in the
195 <filename>/etc/samba/smb.conf</filename> configuration file:</para>
196
197<screen><literal>workgroup = <replaceable>WORKGROUP</replaceable></literal></screen>
198
199 <para>Also, for non-English locales, ensure the following values are
200 set properly in the [global] section:</para>
201
202<screen><literal>dos charset = <replaceable>cp850</replaceable>
203unix charset = <replaceable>ISO-8859-1</replaceable></literal></screen>
204
205 </sect3>
206
207 <sect3>
208 <title>Configuration Overview and Available Documentation</title>
209
210 <para>Due to the complexity and the many various uses for
211 <application>Samba</application>, complete configuration is well beyond
212 the scope of the BLFS book. Advanced configurations including setting up
213 Primary and Backup Domain Controllers are advanced topics and cannot be
214 adequately covered in BLFS (it should be noted, however, that a
215 <application>Samba</application> BDC cannot be used as a fallback for a
216 <application>Windows</application> PDC, and conversely, a
217 <application>Windows</application> BDC cannot be used as a
218 fallback for a <application>Samba</application> PDC). Many
219 complete books have been written on these topics alone.</para>
220
221 <para>There is quite a bit of documentation available which covers many
222 of these advanced configurations. Point your web browser to the links
223 below to view some of the documentation included with the
224 <application>Samba</application> package:</para>
225
226 <itemizedlist spacing='compact'>
227 <listitem>
228 <para>Using Samba, 2nd Edition; a popular book published by O'Reilly
229 <ulink url="file:///usr/share/samba/swat/using_samba/toc.html"/></para>
230 </listitem>
231 <listitem>
232 <para>The Official Samba HOWTO and Reference Guide <ulink
233 url="file:///usr/share/samba/swat/help/Samba-HOWTO-Collection/index.html"/>
234 </para>
235 </listitem>
236 <listitem>
237 <para>Samba-3 by Example
238 <ulink url="file:///usr/share/samba/swat/help/Samba-Guide/index.html"/>
239 </para>
240 </listitem>
241 <listitem>
242 <para>The Samba-3 man Pages
243 <ulink url="file:///usr/share/samba/swat/help/samba.7.html"/></para>
244 </listitem>
245 </itemizedlist>
246
247 </sect3>
248
249 <sect3 id="samba3-swat-config">
250 <title>Configuring SWAT</title>
251
252 <para>The built in SWAT (<application>Samba</application> Web
253 Administration Tool) utility can be used for basic configuration of
254 the <application>Samba</application> installation, but because it may
255 be inconvenient, undesireable or perhaps even impossible to gain
256 access to the console, BLFS recommends setting up access to SWAT using
257 <application>Stunnel</application>.</para>
258
259 <indexterm zone="samba3 samba3-swat-config">
260 <primary sortas="g-SWAT">SWAT</primary>
261 </indexterm>
262
263 <para>First you must add entries to <filename>/etc/services</filename>
264 and modify the <command>inetd</command>/<command>xinetd</command>
265 configuration.</para>
266
267 <indexterm zone="samba3 samba3-swat-config">
268 <primary sortas="e-etc-services">/etc/services</primary>
269 </indexterm>
270
271 <indexterm zone="samba3 samba3-swat-config">
272 <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
273 </indexterm>
274
275 <indexterm zone="samba3 samba3-swat-config">
276 <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
277 </indexterm>
278
279 <para>Add swat and swat_tunnel entries to
280 <filename>/etc/services</filename> with the following commands issued
281 as the <systemitem class="username">root</systemitem> user:</para>
282
283<screen role="root"><userinput>echo "swat 901/tcp" &gt;&gt; /etc/services &amp;&amp;
284echo "swat_tunnel 902/tcp" &gt;&gt; /etc/services</userinput></screen>
285
286 <para>If <command>inetd</command> is used, the following command will
287 add the swat_tunnel entry to <filename>/etc/inetd.conf</filename> (as
288 user <systemitem class="username">root</systemitem>):</para>
289
290<screen role="root"><userinput>echo "swat_tunnel stream tcp nowait.400 root /usr/sbin/swat swat" \
291 &gt;&gt; /etc/inetd.conf</userinput></screen>
292
293 <para>Issue a <command>killall -HUP inetd</command> to reread the
294 changed <filename>inetd.conf</filename> file.</para>
295
296 <para>If you use <command>xinetd</command>, the following command will
297 create the <application>Samba</application> file as
298 <filename>/etc/xinetd.d/swat_tunnel</filename> (you may need to modify
299 or remove the <quote>only_from</quote> line to include the desired
300 host[s]):</para>
301
302<screen role="root"><userinput>cat &gt;&gt; /etc/xinetd.d/swat_tunnel &lt;&lt; "EOF"
303<literal># Begin /etc/xinetd.d/swat_tunnel
304
305service swat_tunnel
306{
307 port = 902
308 socket_type = stream
309 wait = no
310 only_from = 127.0.0.1
311 user = root
312 server = /usr/sbin/swat
313 log_on_failure += USERID
314}
315
316# End /etc/xinetd.d/swat_tunnel</literal>
317EOF</userinput></screen>
318
319 <indexterm zone="samba3 samba3-swat-config">
320 <primary sortas="e-etc-xinetd.d-swat-tunnel">/etc/xinetd.d/swat_tunnel</primary>
321 </indexterm>
322
323 <para>Issue a <command>killall -HUP xinetd</command> to reread the
324 changed <filename>xinetd.conf</filename> file.</para>
325
326 <para>Next, you must add an entry for the swat service to the
327 <filename>/etc/stunnel/stunnel.conf</filename> file (as user
328 <systemitem class="username">root</systemitem>):</para>
329
330 <indexterm zone="samba3 samba3-swat-config">
331 <primary sortas="e-etc-stunnel-stunnel.conf">/etc/stunnel/stunnel.conf</primary>
332 </indexterm>
333
334<screen role="root"><userinput>cat &gt;&gt; /etc/stunnel/stunnel.conf &lt;&lt; "EOF"
335<literal>[swat]
336accept = 901
337connect = 902</literal>
338
339EOF</userinput></screen>
340
341 <para>Restart the <command>stunnel</command> daemon using the following
342 command as the <systemitem class="username">root</systemitem> user:</para>
343
344<screen role="root"><userinput>/etc/rc.d/init.d/stunnel restart</userinput></screen>
345
346 <para>SWAT can be launched by pointing your web browser to
347 <uri>https://<replaceable>[CA_DN_field]</replaceable>:901</uri>.
348 Substitute the hostname listed in the DN field of the CA certificate
349 used with <application>Stunnel</application> for
350 <replaceable>[CA_DN_field]</replaceable>.</para>
351
352 <note>
353 <para>If you linked <application>Linux-PAM</application> into the
354 <application>Samba</application> build, you'll need to create an
355 <filename>/etc/pam.d/samba</filename> file.</para>
356 </note>
357
358 <indexterm zone="samba3 samba3-swat-config">
359 <primary sortas="e-etc-pam.d-samba">/etc/pam.d/samba</primary>
360 </indexterm>
361
362 </sect3>
363
364 <sect3>
365 <title>Printing to SMB Clients</title>
366
367 <para>If you use <application>CUPS</application> for print services,
368 and you wish to print to a printer attached to an SMB client, you
369 need to create an SMB backend device. To create the device, issue the
370 following command as the <systemitem class="username">root</systemitem>
371 user:</para>
372
373<screen role="root"><userinput>ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</userinput></screen>
374
375 </sect3>
376
377 <sect3 id="samba3-init">
378 <title>Boot Script</title>
379
380 <para>For your convenience, boot scripts have been provided for
381 <application>Samba</application>. There are two included in the
382 <xref linkend="intro-important-bootscripts"/> package. The first,
383 <filename>samba</filename>, will start the <command>smbd</command>
384 and <command>nmbd</command> daemons needed to provide SMB/CIFS
385 services. The second script, <filename>winbind</filename>, starts
386 the <command>winbindd</command> daemon, used for providing Windows
387 domain services to Linux clients.</para>
388
389 <indexterm zone="samba3 samba3-init">
390 <primary sortas="f-samba">samba</primary>
391 </indexterm>
392
393 <indexterm zone="samba3 samba3-init">
394 <primary sortas="f-winbind">winbind</primary>
395 </indexterm>
396
397 <para>Install the <filename>samba</filename> script with the following
398 command issued as the <systemitem class="username">root</systemitem>
399 user:</para>
400
401<screen role="root"><userinput>make install-samba</userinput></screen>
402
403 <para>If you also need the <filename>winbind</filename>
404 script:</para>
405
406<screen role="root"><userinput>make install-winbind</userinput></screen>
407
408 </sect3>
409
410 </sect2>
411
412 <sect2 role="content">
413 <title>Contents</title>
414
415 <segmentedlist>
416 <segtitle>Installed Programs</segtitle>
417 <segtitle>Installed Libraries</segtitle>
418 <segtitle>Installed Directories</segtitle>
419
420 <seglistitem>
421 <seg>findsmb, mount.smbfs, net, nmbd, nmblookup, ntlm_auth, pdbedit,
422 profiles, rpcclient, smbcacls, smbclient, smbcontrol, smbcquotas, smbd,
423 smbmnt, smbmount, smbpasswd, smbspool, smbstatus, smbtar, smbtree,
424 smbumount, swat, tdbbackup, tdbdump, tdbtool, testparm, testprns,
425 wbinfo, and winbindd</seg>
426 <seg>libnss_winbind.so, libnss_wins.so, libsmbclient.so, the
427 pam_winbind.so PAM library and assorted character set,
428 filesystem and support modules.</seg>
429 <seg>/etc/samba, /usr/lib/samba, /usr/share/samba, /var/cache/samba,
430 and /var/lib/samba</seg>
431 </seglistitem>
432 </segmentedlist>
433
434 <variablelist>
435 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
436 <?dbfo list-presentation="list"?>
437 <?dbhtml list-presentation="table"?>
438
439 <varlistentry id="findsmb">
440 <term><command>findsmb</command></term>
441 <listitem>
442 <para>lists information about machines that respond to
443 SMB name queries on a subnet.</para>
444 <indexterm zone="samba3 findsmb">
445 <primary sortas="b-findsmb">findsmb</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="mount.smbfs">
451 <term><command>mount.smbfs</command></term>
452 <listitem>
453 <para>is a symlink to <command>mountsmb</command> which provides
454 <command>/bin/mount</command> with a way to mount remote Windows
455 (or <application>Samba</application>) fileshares.</para>
456 <indexterm zone="samba3 mount.smbfs">
457 <primary sortas="b-mount.smbfs">mount.smbfs</primary>
458 </indexterm>
459 </listitem>
460 </varlistentry>
461
462 <varlistentry id="net">
463 <term><command>net</command></term>
464 <listitem>
465 <para>is a tool for administration of
466 <application>Samba</application> and remote CIFS servers, similar
467 to the <command>net</command> utility for DOS/Windows.</para>
468 <indexterm zone="samba3 net">
469 <primary sortas="b-net">net</primary>
470 </indexterm>
471 </listitem>
472 </varlistentry>
473
474 <varlistentry id="nmbd">
475 <term><command>nmbd</command></term>
476 <listitem>
477 <para>is the <application>Samba</application>
478 NetBIOS name server.</para>
479 <indexterm zone="samba3 nmbd">
480 <primary sortas="b-nmbd">nmbd</primary>
481 </indexterm>
482 </listitem>
483 </varlistentry>
484
485 <varlistentry id="nmblookup">
486 <term><command>nmblookup</command></term>
487 <listitem>
488 <para>is used to query NetBIOS names and map
489 them to IP addresses.</para>
490 <indexterm zone="samba3 nmblookup">
491 <primary sortas="b-nmblookup">nmblookup</primary>
492 </indexterm>
493 </listitem>
494 </varlistentry>
495
496 <varlistentry id="ntlm_auth">
497 <term><command>ntlm_auth</command></term>
498 <listitem>
499 <para>is a tool to allow external access to Winbind's
500 NTLM authentication function.</para>
501 <indexterm zone="samba3 ntlm_auth">
502 <primary sortas="b-ntlm_auth">ntlm_auth</primary>
503 </indexterm>
504 </listitem>
505 </varlistentry>
506
507 <varlistentry id="pdbedit">
508 <term><command>pdbedit</command></term>
509 <listitem>
510 <para>is a tool used to manage the SAM database.</para>
511 <indexterm zone="samba3 pdbedit">
512 <primary sortas="b-pdbedit">pdbedit</primary>
513 </indexterm>
514 </listitem>
515 </varlistentry>
516
517 <varlistentry id="profiles">
518 <term><command>profiles</command></term>
519 <listitem>
520 <para>is a utility that reports and changes SIDs in Windows
521 registry files. It currently only supports Windows NT.</para>
522 <indexterm zone="samba3 profiles">
523 <primary sortas="b-profiles">profiles</primary>
524 </indexterm>
525 </listitem>
526 </varlistentry>
527
528 <varlistentry id="rpcclient">
529 <term><command>rpcclient</command></term>
530 <listitem>
531 <para>is used to execute MS-RPC client side functions.</para>
532 <indexterm zone="samba3 rpcclient">
533 <primary sortas="b-rpcclient">rpcclient</primary>
534 </indexterm>
535 </listitem>
536 </varlistentry>
537
538 <varlistentry id="smbcacls">
539 <term><command>smbcacls</command></term>
540 <listitem>
541 <para>is used to manipulate Windows NT access control lists.</para>
542 <indexterm zone="samba3 smbcacls">
543 <primary sortas="b-smbcacls">smbcacls</primary>
544 </indexterm>
545 </listitem>
546 </varlistentry>
547
548 <varlistentry id="smbclient">
549 <term><command>smbclient</command></term>
550 <listitem>
551 <para>is a SMB/CIFS access utility, similar to FTP.</para>
552 <indexterm zone="samba3 smbclient">
553 <primary sortas="b-smbclient">smbclient</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="smbcontrol">
559 <term><command>smbcontrol</command></term>
560 <listitem>
561 <para>is used to control running <command>smbd</command>,
562 <command>nmbd</command> and <command>winbindd</command>
563 daemons.</para>
564 <indexterm zone="samba3 smbcontrol">
565 <primary sortas="b-smbcontrol">smbcontrol</primary>
566 </indexterm>
567 </listitem>
568 </varlistentry>
569
570 <varlistentry id="smbcquotas">
571 <term><command>smbcquotas</command></term>
572 <listitem>
573 <para>is used to manipulate Windows NT quotas on
574 SMB file shares.</para>
575 <indexterm zone="samba3 smbcquotas">
576 <primary sortas="b-smbcquotas">smbcquotas</primary>
577 </indexterm>
578 </listitem>
579 </varlistentry>
580
581 <varlistentry id="smbd">
582 <term><command>smbd</command></term>
583 <listitem>
584 <para>is the main <application>Samba</application> daemon which
585 provides SMB/CIFS services to clients.</para>
586 <indexterm zone="samba3 smbd">
587 <primary sortas="b-smbd">smbd</primary>
588 </indexterm>
589 </listitem>
590 </varlistentry>
591
592 <varlistentry id="smbmnt">
593 <term><command>smbmnt</command></term>
594 <listitem>
595 <para>is a helper application used by the
596 <command>smbmount</command> program to do the actual mounting of
597 SMB shares. It can be installed setuid root if you want
598 normal users to be able to mount their SMB shares.</para>
599 <indexterm zone="samba3 smbmnt">
600 <primary sortas="b-smbmnt">smbmnt</primary>
601 </indexterm>
602 </listitem>
603 </varlistentry>
604
605 <varlistentry id="smbmount">
606 <term><command>smbmount</command></term>
607 <listitem>
608 <para>is usually invoked as <command>mount.smbfs</command> by the
609 <command>mount</command> command when using the
610 <parameter>-t smbfs</parameter> option, mounts a Linux SMB
611 filesystem.</para>
612 <indexterm zone="samba3 smbmount">
613 <primary sortas="b-smbmount">smbmount</primary>
614 </indexterm>
615 </listitem>
616 </varlistentry>
617
618 <varlistentry id="smbpasswd">
619 <term><command>smbpasswd</command></term>
620 <listitem>
621 <para>changes a user's <application>Samba</application>
622 password.</para>
623 <indexterm zone="samba3 smbpasswd">
624 <primary sortas="b-smbpasswd">smbpasswd</primary>
625 </indexterm>
626 </listitem>
627 </varlistentry>
628
629 <varlistentry id="smbspool">
630 <term><command>smbspool</command></term>
631 <listitem>
632 <para>sends a print job to an SMB printer.</para>
633 <indexterm zone="samba3 smbspool">
634 <primary sortas="b-smbspool">smbspool</primary>
635 </indexterm>
636 </listitem>
637 </varlistentry>
638
639 <varlistentry id="smbstatus">
640 <term><command>smbstatus</command></term>
641 <listitem>
642 <para>reports current <application>Samba</application>
643 connections.</para>
644 <indexterm zone="samba3 smbstatus">
645 <primary sortas="b-smbstatus">smbstatus</primary>
646 </indexterm>
647 </listitem>
648 </varlistentry>
649
650 <varlistentry id="smbtar">
651 <term><command>smbtar</command></term>
652 <listitem>
653 <para>is a shell script used for backing up SMB/CIFS shares
654 directly to Linux tape drives or a file.</para>
655 <indexterm zone="samba3 smbtar">
656 <primary sortas="b-smbtar">smbtar</primary>
657 </indexterm>
658 </listitem>
659 </varlistentry>
660
661 <varlistentry id="smbtree">
662 <term><command>smbtree</command></term>
663 <listitem>
664 <para>is a text-based SMB network browser.</para>
665 <indexterm zone="samba3 smbtree">
666 <primary sortas="b-smbtree">smbtree</primary>
667 </indexterm>
668 </listitem>
669 </varlistentry>
670
671 <varlistentry id="smbumount">
672 <term><command>smbumount</command></term>
673 <listitem>
674 <para>is used by normal users to unmount SMB filesystems,
675 provided that it is setuid root.</para>
676 <indexterm zone="samba3 smbumount">
677 <primary sortas="b-smbumount">smbumount</primary>
678 </indexterm>
679 </listitem>
680 </varlistentry>
681
682 <varlistentry id="swat">
683 <term><command>swat</command></term>
684 <listitem>
685 <para>is the <application>Samba</application> Web Administration
686 Tool.</para>
687 <indexterm zone="samba3 swat">
688 <primary sortas="b-swat">swat</primary>
689 </indexterm>
690 </listitem>
691 </varlistentry>
692
693 <varlistentry id="tdbbackup">
694 <term><command>tdbbackup</command></term>
695 <listitem>
696 <para>is a tool for backing up or validating the integrity of
697 <application>Samba</application> <filename>.tdb</filename>
698 files.</para>
699 <indexterm zone="samba3 tdbbackup">
700 <primary sortas="b-tdbbackup">tdbbackup</primary>
701 </indexterm>
702 </listitem>
703 </varlistentry>
704
705 <varlistentry id="tdbdump">
706 <term><command>tdbdump</command></term>
707 <listitem>
708 <para> is a tool used to print the contents of a
709 <application>Samba</application> <filename>.tdb</filename>
710 file.</para>
711 <indexterm zone="samba3 tdbdump">
712 <primary sortas="b-tdbdump">tdbdump</primary>
713 </indexterm>
714 </listitem>
715 </varlistentry>
716
717 <varlistentry id="tdbtool">
718 <term><command>tdbtool</command></term>
719 <listitem>
720 <para>is a tool which allows simple database manipulation from the
721 command line.</para>
722 <indexterm zone="samba3 tdbtool">
723 <primary sortas="b-tdbtool">tdbtool</primary>
724 </indexterm>
725 </listitem>
726 </varlistentry>
727
728 <varlistentry id="testparm">
729 <term><command>testparm</command></term>
730 <listitem>
731 <para>checks an <filename>smb.conf</filename> file for proper
732 syntax.</para>
733 <indexterm zone="samba3 testparm">
734 <primary sortas="b-testparm">testparm</primary>
735 </indexterm>
736 </listitem>
737 </varlistentry>
738
739 <varlistentry id="testprns">
740 <term><command>testprns</command></term>
741 <listitem>
742 <para>tests printer names.</para>
743 <indexterm zone="samba3 testprns">
744 <primary sortas="b-testprns">testprns</primary>
745 </indexterm>
746 </listitem>
747 </varlistentry>
748
749 <varlistentry id="wbinfo">
750 <term><command>wbinfo</command></term>
751 <listitem>
752 <para>queries a running <command>winbindd</command> daemon.</para>
753 <indexterm zone="samba3 wbinfo">
754 <primary sortas="b-wbinfo">wbinfo</primary>
755 </indexterm>
756 </listitem>
757 </varlistentry>
758
759 <varlistentry id="winbindd">
760 <term><command>winbindd</command></term>
761 <listitem>
762 <para>resolves names from Windows NT servers.</para>
763 <indexterm zone="samba3 winbindd">
764 <primary sortas="b-winbindd">winbindd</primary>
765 </indexterm>
766 </listitem>
767 </varlistentry>
768
769 </variablelist>
770
771 </sect2>
772
773</sect1>
Note: See TracBrowser for help on using the repository browser.