source: networking/netprogs/samba.xml@ eecab611

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eecab611 was eecab611, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Update to libjpeg-turbo-1.3.1
Update to libgpg-error-1.13

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

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