source: networking/netprogs/samba.xml@ 2321348

gnome
Last change on this file since 2321348 was c463c87, checked in by Christopher Gregory <cjg@…>, 10 years ago

Removed excess white space and updated systemd instructions on svnserver autofs bluez fcron sysstat nfs-utils ntp rsync samba wpa_supplicant
avahi mariadb postgresql exim postfix apache bind proftpd vsftpd openldap unbound xinetd and clutter pages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/gnome@13434 af4574ff-66df-0310-9fd7-8a98e5e911e0

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