source: networking/netprogs/samba.xml@ 543a2c8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 543a2c8 was b468e12, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to libsigc++-2.3.2.
Update to mercurial-3.1.
Update to samba-4.1.11.
Update to libpeas-1.10.1.

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

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