source: networking/netprogs/samba.xml@ 0f53ca47

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 0f53ca47 was 0f53ca47, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to Samba-4.1.4.

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

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