source: networking/netprogs/samba.xml@ 99c3273

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts 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 99c3273 was 99c3273, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Update to samba-4.1.17.
GDB-7.9: s/http/https/.

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

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