source: networking/netprogs/samba.xml@ 5f1ca9f

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 5f1ca9f was 5f1ca9f, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to check-0.9.14.
Update to samba-4.1.10; separate internal from external optional dependencies.
Update to parted-3.2.

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