1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY samba-download-http "https://www.samba.org/ftp/samba/stable/samba-&samba-version;.tar.gz">
|
---|
8 | <!ENTITY samba-download-ftp " ">
|
---|
9 | <!ENTITY samba-md5sum "f3c722bbcd903479008fa1b529f56365">
|
---|
10 | <!ENTITY samba-size "17 MB">
|
---|
11 | <!ENTITY samba-buildsize "496 MB (add 16 MB for quicktest)">
|
---|
12 | <!ENTITY samba-time "2.8 SBU (using parallelism=4; add 0.8 SBU for quicktest)">
|
---|
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 | &lfs90_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="jansson"/>,
|
---|
68 | <xref linkend="libtirpc"/>,
|
---|
69 | <xref linkend="lmdb"/>,
|
---|
70 | <xref linkend="python2"/>, and
|
---|
71 | <xref linkend="rpcsvc-proto"/>
|
---|
72 | </para>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
75 | <para role="recommended">
|
---|
76 | <xref linkend="fuse3"/>,
|
---|
77 | <xref linkend="gpgme"/>,
|
---|
78 | <xref linkend="libxslt"/> (for documentation),
|
---|
79 | <xref linkend="perl-parse-yapp"/>,
|
---|
80 | <xref linkend="pycryptodome"/>, and
|
---|
81 | <xref linkend="openldap"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
85 | <para role="optional">
|
---|
86 | <xref linkend="avahi"/>,
|
---|
87 | <xref linkend="bind"/>,
|
---|
88 | <xref linkend="cups"/>,
|
---|
89 | <xref linkend="cyrus-sasl"/>,
|
---|
90 | <xref linkend="gdb"/>,
|
---|
91 | <xref linkend="git"/>,
|
---|
92 | <xref linkend="gnupg2"/> (required for ADS and testsuite),
|
---|
93 | <xref linkend="gnutls"/>,
|
---|
94 | <xref linkend="libaio"/>,
|
---|
95 | <xref linkend="libarchive"/>,
|
---|
96 | <xref linkend="libcap-pam"/>,
|
---|
97 | <xref linkend="libgcrypt"/>,
|
---|
98 | <xref linkend="libnsl"/>,
|
---|
99 | <xref linkend="linux-pam"/>,
|
---|
100 | <xref linkend="mitkrb"/>,
|
---|
101 | <xref linkend="nss"/>,
|
---|
102 | <xref linkend="popt"/>,
|
---|
103 | <xref linkend="talloc"/> (included),
|
---|
104 | <xref linkend="vala"/>,
|
---|
105 | <xref linkend="valgrind"/> (optionally used by the test suite),
|
---|
106 | <xref linkend="wireshark"/> (module installed),
|
---|
107 | <xref linkend="xfsprogs"/>,
|
---|
108 | <ulink url="https://cmocka.org/">cmocka</ulink>,
|
---|
109 | <ulink url="https://ctdb.samba.org/">ctdb</ulink> (included),
|
---|
110 | <ulink url="https://cwrap.org/">cwrap</ulink>,
|
---|
111 | <ulink url="&pypi;/dnspython/">dnspython</ulink>,
|
---|
112 | <ulink url="https://packages.debian.org/stretch/fam/">FAM</ulink>,
|
---|
113 | <ulink url="https://people.gnome.org/~veillard/gamin/">Gamin</ulink>,
|
---|
114 | <ulink url="https://github.com/gluster/glusterfs/">GlusterFS</ulink>,
|
---|
115 | <ulink url="http://www.h5l.org/">Heimdal</ulink> (included),
|
---|
116 | <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
|
---|
117 | <ulink url="https://ldb.samba.org/">ldb</ulink> (included),
|
---|
118 | <ulink url="&pypi;/m2crypto">M2Crypto</ulink> (required for ADS),
|
---|
119 | <ulink url="http://www.openafs.org/">OpenAFS</ulink>,
|
---|
120 | <ulink url="&pypi;/pygpgme/">PyGPGME</ulink> (recommended for ADS),
|
---|
121 | <ulink url="https://tevent.samba.org/">tevent</ulink> (included), and
|
---|
122 | <ulink url="https://tdb.samba.org/">tdb</ulink> (included)
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <bridgehead renderas="sect4">Optional (for the Developer Test Suite)</bridgehead>
|
---|
126 | <para role="optional">Install in listed order:
|
---|
127 | <xref linkend="six"/>,
|
---|
128 | <ulink url="&pypi;/argparse/">argparse</ulink>,
|
---|
129 | <ulink url="&pypi;/extras/">extras</ulink>,
|
---|
130 | <ulink url="&pypi;/py/">py</ulink>,
|
---|
131 | <ulink url="&pypi;/enum34/">enum34</ulink>,
|
---|
132 | <ulink url="&pypi;/hypothesis/">hypothesis</ulink>,
|
---|
133 | <ulink url="&pypi;/pytest/">pytest</ulink>,
|
---|
134 | <ulink url="&pypi;/coverage/">coverage</ulink>,
|
---|
135 | <ulink url="&pypi;/pytest-cov/">pytest-cov</ulink>,
|
---|
136 | <ulink url="&pypi;/doctools/">doctools</ulink>,
|
---|
137 | <ulink url="&pypi;/unittest2/">unittest2</ulink>,
|
---|
138 | <ulink url="&pypi;/testtools/">testtools</ulink>,
|
---|
139 | <ulink url="&pypi;/fixtures/">fixtures</ulink>,
|
---|
140 | <ulink url="&pypi;/python-mimeparse/">python-mimeparse</ulink>,
|
---|
141 | <ulink url="&pypi;/contextlib2/">contextlib2</ulink>,
|
---|
142 | <ulink url="&pypi;/traceback2/">traceback2</ulink>,
|
---|
143 | <ulink url="&pypi;/linecache2/">linecache2</ulink>,
|
---|
144 | <ulink url="&pypi;/testscenarios/">testscenarios</ulink>,
|
---|
145 | <ulink url="&pypi;/testresources/">testresources</ulink>,
|
---|
146 | <ulink url="&pypi;/virtualenv/">virtualenv</ulink>,
|
---|
147 | <ulink url="&pypi;/pbr/">pbr</ulink>, and
|
---|
148 | <ulink url="&pypi;/python-subunit/">python-subunit</ulink></para>
|
---|
149 |
|
---|
150 | <para condition="html" role="usernotes">User Notes:
|
---|
151 | <ulink url="&blfs-wiki;/samba4"/></para>
|
---|
152 |
|
---|
153 | </sect2>
|
---|
154 |
|
---|
155 | <sect2 role="installation">
|
---|
156 | <title>Installation of Samba</title>
|
---|
157 |
|
---|
158 | <para>Fix a test that always fails:</para>
|
---|
159 |
|
---|
160 | <screen><userinput>echo "^samba4.rpc.echo.*on.*ncacn_np.*with.*object.*nt4_dc" >> selftest/knownfail</userinput></screen>
|
---|
161 |
|
---|
162 | <para>Install <application>Samba</application> by running the following
|
---|
163 | commands:</para>
|
---|
164 |
|
---|
165 | <screen revision="sysv"><userinput>CFLAGS="-I/usr/include/tirpc" \
|
---|
166 | LDFLAGS="-ltirpc" \
|
---|
167 | ./configure \
|
---|
168 | --prefix=/usr \
|
---|
169 | --sysconfdir=/etc \
|
---|
170 | --localstatedir=/var \
|
---|
171 | --with-piddir=/run/samba \
|
---|
172 | --with-pammodulesdir=/lib/security \
|
---|
173 | --enable-fhs \
|
---|
174 | --without-ad-dc \
|
---|
175 | --without-systemd \
|
---|
176 | --enable-selftest &&
|
---|
177 | make</userinput></screen>
|
---|
178 |
|
---|
179 | <screen revision="systemd"><userinput>CFLAGS="-I/usr/include/tirpc" \
|
---|
180 | LDFLAGS="-ltirpc" \
|
---|
181 | ./configure \
|
---|
182 | --prefix=/usr \
|
---|
183 | --sysconfdir=/etc \
|
---|
184 | --localstatedir=/var \
|
---|
185 | --with-piddir=/run/samba \
|
---|
186 | --with-pammodulesdir=/lib/security \
|
---|
187 | --enable-fhs \
|
---|
188 | --without-ad-dc \
|
---|
189 | --enable-selftest &&
|
---|
190 | make</userinput></screen>
|
---|
191 |
|
---|
192 | <para>To test the results, as the
|
---|
193 | <systemitem class="username">root</systemitem> user, issue:
|
---|
194 | <command>make quicktest</command>. The test suite will produce lines that
|
---|
195 | look like failures, but these are innocuous. The last few lines of output
|
---|
196 | should report <emphasis>"ALL OK"</emphasis> for a good test run. A summary
|
---|
197 | of any failures can be found in
|
---|
198 | <filename class="directory">./st/summary</filename>.</para>
|
---|
199 |
|
---|
200 | <!-- If doing a security update or a new minor version (point releases do not apply
|
---|
201 | here), run 'make testenv' before running 'make test' and 'make subunit-test'. This
|
---|
202 | will setup the test environment and make the tests run faster, as well as point
|
---|
203 | out any glaring issues that might affect the new Samba installation. With 4.10.4,
|
---|
204 | I got 236 failures, 73 errors, and 2 unexpected successes. These were all known
|
---|
205 | upstream, and you can find them in the knownfail list in their git repo.
|
---|
206 | This is per Upstream's recommendation over IRC.-->
|
---|
207 |
|
---|
208 | <note>
|
---|
209 | <para>Additionally, developer test suites are available. If you've
|
---|
210 | installed the optional python modules above, you can run these tests with
|
---|
211 | <command>make test</command>. It is not recommended for the average
|
---|
212 | builder at around 290 SBU and over a gigabyte of disk space, and you
|
---|
213 | should expect ~73 errors and ~30 failures from the 3000+ tests.</para>
|
---|
214 | </note>
|
---|
215 |
|
---|
216 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
217 |
|
---|
218 | <screen role="root"><userinput>make install &&
|
---|
219 |
|
---|
220 | mv -v /usr/lib/libnss_win{s,bind}.so* /lib &&
|
---|
221 | ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so &&
|
---|
222 | ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so &&
|
---|
223 |
|
---|
224 | install -v -m644 examples/smb.conf.default /etc/samba &&
|
---|
225 |
|
---|
226 | mkdir -pv /etc/openldap/schema &&
|
---|
227 |
|
---|
228 | install -v -m644 examples/LDAP/README \
|
---|
229 | /etc/openldap/schema/README.LDAP &&
|
---|
230 |
|
---|
231 | install -v -m644 examples/LDAP/samba* \
|
---|
232 | /etc/openldap/schema &&
|
---|
233 |
|
---|
234 | install -v -m755 examples/LDAP/{get*,ol*} \
|
---|
235 | /etc/openldap/schema</userinput></screen>
|
---|
236 |
|
---|
237 | </sect2>
|
---|
238 |
|
---|
239 | <sect2 role="commands">
|
---|
240 | <title>Command Explanations</title>
|
---|
241 |
|
---|
242 | <para><parameter>--enable-fhs</parameter>: Assigns all other file paths in
|
---|
243 | a manner compliant with the Filesystem Hierarchy Standard (FHS).</para>
|
---|
244 |
|
---|
245 | <para revision="sysv"><parameter>--without-systemd</parameter>: Disable
|
---|
246 | <application>systemd</application> integration, since it is not built
|
---|
247 | in the System V version of LFS/BLFS.</para>
|
---|
248 |
|
---|
249 | <para><parameter>--without-ad-dc</parameter>: Disable
|
---|
250 | Active Directory Domain Controller functionality. See <ulink
|
---|
251 | url="https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller">
|
---|
252 | Setup a Samba Active Directory Domain Controller</ulink> for detailed
|
---|
253 | information. Remove this switch if you've installed the Python modules
|
---|
254 | needed for ADS support. Note that BLFS does not provide a samba bootscript
|
---|
255 | for an Active Directory domain controller.</para>
|
---|
256 |
|
---|
257 | <para><option>--with-selftest-prefix=SELFTEST_PREFIX</option>: This option
|
---|
258 | specifies the test suite work directory (default=./st).</para>
|
---|
259 |
|
---|
260 | <para><command>mv -v /usr/lib/libnss_win{s,bind}.so* /lib</command>:
|
---|
261 | The nss libraries are installed in /usr/lib by default. Move them to
|
---|
262 | /lib.</para>
|
---|
263 |
|
---|
264 | <para><command>ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so</command>
|
---|
265 | and <command>ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so</command>:
|
---|
266 | These symlinks are required when applications build against these
|
---|
267 | libraries.</para>
|
---|
268 |
|
---|
269 | <para><command>install -v -m644 examples/LDAP/* /etc/openldap/schema</command>:
|
---|
270 | These commands are used to copy sample Samba schemas to the OpenLDAP
|
---|
271 | <filename class='directory'>schema</filename> directory.</para>
|
---|
272 |
|
---|
273 | <para><command>install -v -m644 ../examples/smb.conf.default
|
---|
274 | /etc/samba</command>: This copies a default <filename>smb.conf</filename>
|
---|
275 | file into <filename>/etc/samba</filename>. This sample configuration will
|
---|
276 | not work until you copy it to <filename>/etc/samba/smb.conf</filename> and
|
---|
277 | make the appropriate changes for your installation. See the configuration
|
---|
278 | section for minimum values which must be set.</para>
|
---|
279 |
|
---|
280 | </sect2>
|
---|
281 |
|
---|
282 | <sect2 role="configuration">
|
---|
283 | <title>Configuring Samba</title>
|
---|
284 |
|
---|
285 | <sect3 id="samba-config">
|
---|
286 | <title>Config Files</title>
|
---|
287 |
|
---|
288 | <para>/etc/samba/smb.conf</para>
|
---|
289 |
|
---|
290 | <indexterm zone="samba samba-config">
|
---|
291 | <primary sortas="e-etc-samba-smb.conf">/etc/samba/smb.conf</primary>
|
---|
292 | </indexterm>
|
---|
293 |
|
---|
294 | </sect3>
|
---|
295 |
|
---|
296 | <sect3>
|
---|
297 | <title>Printing to SMB Clients</title>
|
---|
298 |
|
---|
299 | <para>If you use <application>CUPS</application> for print services,
|
---|
300 | and you wish to print to a printer attached to an SMB client, you
|
---|
301 | need to create an SMB backend device. To create the device, issue the
|
---|
302 | following command as the <systemitem class="username">root</systemitem>
|
---|
303 | user:</para>
|
---|
304 |
|
---|
305 | <screen role="root"><userinput>ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</userinput></screen>
|
---|
306 |
|
---|
307 | </sect3>
|
---|
308 |
|
---|
309 | <sect3>
|
---|
310 | <title>Configuration Information</title>
|
---|
311 |
|
---|
312 | <para>Due to the complexity and the many various uses for
|
---|
313 | <application>Samba</application>, complete configuration for all the
|
---|
314 | package's capabilities is well beyond the scope of the BLFS book. This
|
---|
315 | section provides instructions to configure the
|
---|
316 | <filename>/etc/samba/smb.conf</filename> file for two common scenarios.
|
---|
317 | The complete contents of <filename>/etc/samba/smb.conf</filename> will
|
---|
318 | depend on the purpose of <application>Samba</application>
|
---|
319 | installation.</para>
|
---|
320 |
|
---|
321 | <note>
|
---|
322 | <para>You may find it easier to copy the configuration parameters shown
|
---|
323 | below into an empty <filename>/etc/samba/smb.conf</filename> file
|
---|
324 | instead of copying and editing the default file as mentioned in the
|
---|
325 | <quote>Command Explanations</quote> section. How you create/edit the
|
---|
326 | <filename>/etc/samba/smb.conf</filename> file will be left up to
|
---|
327 | you. Do ensure the file is only writeable by the
|
---|
328 | <systemitem class="username">root</systemitem> user (mode 644).</para>
|
---|
329 | </note>
|
---|
330 |
|
---|
331 | <sect4>
|
---|
332 | <title>Scenario 1: Minimal Standalone Client-Only Installation</title>
|
---|
333 |
|
---|
334 | <para>Choose this variant if you only want to transfer files using
|
---|
335 | <command>smbclient</command>, mount Windows shares and print to Windows
|
---|
336 | printers, and don't want to share your files and printers to Windows
|
---|
337 | machines.</para>
|
---|
338 |
|
---|
339 | <para>A <filename>/etc/samba/smb.conf</filename> file with the following
|
---|
340 | three parameters is sufficient:</para>
|
---|
341 |
|
---|
342 | <screen role='root'><literal>[global]
|
---|
343 | workgroup = <replaceable>MYGROUP</replaceable>
|
---|
344 | dos charset = <replaceable>cp850</replaceable>
|
---|
345 | unix charset = <replaceable>ISO-8859-1</replaceable></literal></screen>
|
---|
346 |
|
---|
347 | <para>The values in this example specify that the computer belongs to a
|
---|
348 | Windows workgroup named
|
---|
349 | <quote><replaceable>MYGROUP</replaceable></quote>, uses the
|
---|
350 | <quote><replaceable>cp850</replaceable></quote> character set on the
|
---|
351 | wire when talking to MS-DOS and MS Windows 9x, and that the filenames
|
---|
352 | are stored in the <quote><replaceable>ISO-8859-1</replaceable></quote>
|
---|
353 | encoding on the disk. Adjust these values appropriately for your
|
---|
354 | installation. The <quote>unix charset</quote> value must be the same as
|
---|
355 | the output of <command>locale charmap</command> when executed with the
|
---|
356 | <envar>LANG</envar> variable set to your preferred locale, otherwise the
|
---|
357 | <command>ls</command> command may not display correct filenames of
|
---|
358 | downloaded files.</para>
|
---|
359 |
|
---|
360 | <para>There is no need to run any <application>Samba</application>
|
---|
361 | servers in this scenario, thus you don't need to install the provided
|
---|
362 | bootscripts.</para>
|
---|
363 |
|
---|
364 | </sect4>
|
---|
365 |
|
---|
366 | <sect4>
|
---|
367 | <title>Scenario 2: Standalone File/Print Server</title>
|
---|
368 |
|
---|
369 | <para>Choose this variant if you want to share your files and printers
|
---|
370 | to Windows machines in your workgroup in addition to the capabilities
|
---|
371 | described in Scenario 1.</para>
|
---|
372 |
|
---|
373 | <para>In this case, the <filename>/etc/samba/smb.conf.default</filename>
|
---|
374 | file may be a good template to start from. Also add
|
---|
375 | <quote>dos charset</quote> and <quote>unix charset</quote> parameters
|
---|
376 | to the <quote>[global]</quote> section as described in Scenario 1 in
|
---|
377 | order to prevent filename corruption. For security reasons, you may
|
---|
378 | wish to define
|
---|
379 | <replaceable>path = /home/alice/shared-files</replaceable>,
|
---|
380 | assuming your user name is <replaceable>alice</replaceable> and you
|
---|
381 | only want to share the files in that directory, instead of your entire
|
---|
382 | home. Then, replace <replaceable>homes</replaceable> by
|
---|
383 | <replaceable>shared-files</replaceable> and change also the
|
---|
384 | <quote><literal>comment</literal></quote> if used the configuration
|
---|
385 | file below or the <filename>/etc/samba/smb.conf.default</filename>
|
---|
386 | to create yours.</para>
|
---|
387 |
|
---|
388 | <para>The following configuration file creates a separate share for each
|
---|
389 | user's home directory and also makes all printers available to Windows
|
---|
390 | machines:</para>
|
---|
391 |
|
---|
392 | <screen role='root'><literal>[global]
|
---|
393 | workgroup = <replaceable>MYGROUP</replaceable>
|
---|
394 | dos charset = <replaceable>cp850</replaceable>
|
---|
395 | unix charset = <replaceable>ISO-8859-1</replaceable>
|
---|
396 |
|
---|
397 | [homes]
|
---|
398 | comment = Home Directories
|
---|
399 | browseable = no
|
---|
400 | writable = yes
|
---|
401 |
|
---|
402 | [printers]
|
---|
403 | comment = All Printers
|
---|
404 | path = /var/spool/samba
|
---|
405 | browseable = no
|
---|
406 | guest ok = no
|
---|
407 | printable = yes</literal></screen>
|
---|
408 |
|
---|
409 | <para>Other parameters you may wish to customize in the
|
---|
410 | <quote>[global]</quote> section include:</para>
|
---|
411 |
|
---|
412 | <screen role='root'><literal> server string =
|
---|
413 | security =
|
---|
414 | hosts allow =
|
---|
415 | load printers =
|
---|
416 | log file =
|
---|
417 | max log size =
|
---|
418 | socket options =
|
---|
419 | local master =</literal></screen>
|
---|
420 |
|
---|
421 | <para>Reference the comments in the
|
---|
422 | <filename>/etc/samba/smb.conf.default</filename> file for information
|
---|
423 | regarding these parameters.</para>
|
---|
424 |
|
---|
425 | <para>Since the <command>smbd</command> and <command>nmbd</command>
|
---|
426 | daemons are needed in this case, install the <filename>samba</filename>
|
---|
427 | bootscript. Be sure to run <command>smbpasswd</command> (with the
|
---|
428 | <option>-a</option> option to add users) to enable and
|
---|
429 | set passwords for all accounts that need
|
---|
430 | <application>Samba</application> access. Using the default
|
---|
431 | <application>Samba</application> passdb backend, any user you attempt
|
---|
432 | to add will also be required to exist in the
|
---|
433 | <filename>/etc/passwd</filename> file.</para>
|
---|
434 |
|
---|
435 | </sect4>
|
---|
436 |
|
---|
437 | <sect4>
|
---|
438 | <title>Advanced Requirements</title>
|
---|
439 |
|
---|
440 | <para>More complex scenarios involving domain control or membership are
|
---|
441 | possible. Such setups are advanced topics and cannot be adequately
|
---|
442 | covered in BLFS. Many complete books have been written on these topics
|
---|
443 | alone. Note that in some domain membership scenarios, the
|
---|
444 | <command>winbindd</command> daemon and the corresponding bootscript are
|
---|
445 | needed.</para>
|
---|
446 |
|
---|
447 | <para>There is quite a bit of documentation available which covers many
|
---|
448 | of these advanced configurations. Point your web browser to the links
|
---|
449 | below to view some of the documentation included with the
|
---|
450 | <application>Samba</application> package:</para>
|
---|
451 |
|
---|
452 | <itemizedlist spacing='compact'>
|
---|
453 | <listitem>
|
---|
454 | <para>Using Samba, 2nd Edition; a popular book published by O'Reilly
|
---|
455 | <ulink url="http://www.samba.org/samba/docs/using_samba/toc.html"/></para>
|
---|
456 | </listitem>
|
---|
457 | <listitem>
|
---|
458 | <para>The Official Samba HOWTO and Reference Guide <ulink
|
---|
459 | url="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/"/>
|
---|
460 | </para>
|
---|
461 | </listitem>
|
---|
462 | <listitem>
|
---|
463 | <para>Samba-3 by Example
|
---|
464 | <ulink url="http://www.samba.org/samba/docs/man/Samba-Guide/"/>
|
---|
465 | </para>
|
---|
466 | </listitem>
|
---|
467 | </itemizedlist>
|
---|
468 |
|
---|
469 | </sect4>
|
---|
470 |
|
---|
471 | <sect4>
|
---|
472 | <title>Guest account</title>
|
---|
473 |
|
---|
474 | <para>The default <application>Samba</application> installation uses the
|
---|
475 | <systemitem class='username'>nobody</systemitem> user for guest access
|
---|
476 | to the server. This can be overridden by setting the
|
---|
477 | <option>guest account =</option> parameter in the
|
---|
478 | <filename>/etc/samba/smb.conf</filename> file. If you utilize the
|
---|
479 | <option>guest account =</option> parameter, ensure this user exists in
|
---|
480 | the <filename>/etc/passwd</filename> file.</para>
|
---|
481 |
|
---|
482 | </sect4>
|
---|
483 |
|
---|
484 | <sect4 id="samba-init" revision="sysv">
|
---|
485 | <title>Boot Script</title>
|
---|
486 |
|
---|
487 | <para>For your convenience, boot scripts have been provided for
|
---|
488 | <application>Samba</application>. There are two included in the
|
---|
489 | <xref linkend="bootscripts"/> package. The first,
|
---|
490 | <filename>samba</filename>, will start the <command>smbd</command>
|
---|
491 | and <command>nmbd</command> daemons needed to provide SMB/CIFS
|
---|
492 | services. The second script, <filename>winbind</filename>, starts
|
---|
493 | the <command>winbindd</command> daemon, used for providing Windows
|
---|
494 | domain services to Linux clients.</para>
|
---|
495 |
|
---|
496 | <indexterm zone="samba samba-init">
|
---|
497 | <primary sortas="f-samba">samba</primary>
|
---|
498 | </indexterm>
|
---|
499 |
|
---|
500 | <indexterm zone="samba samba-init">
|
---|
501 | <primary sortas="f-winbind">winbind</primary>
|
---|
502 | </indexterm>
|
---|
503 |
|
---|
504 | <screen role="root"><userinput>make install-samba</userinput></screen>
|
---|
505 |
|
---|
506 | <screen role="root"><userinput>make install-winbindd</userinput></screen>
|
---|
507 |
|
---|
508 | </sect4>
|
---|
509 |
|
---|
510 | <sect4 id="samba-init-sysd" revision="systemd">
|
---|
511 | <title>Systemd Units</title>
|
---|
512 |
|
---|
513 | <para>
|
---|
514 | To start the <application>Samba</application> daemons at boot,
|
---|
515 | install the systemd units from the <xref linkend="systemd-units"/>
|
---|
516 | package by running the following command as the
|
---|
517 | <systemitem class="username">root</systemitem> user:
|
---|
518 | </para>
|
---|
519 |
|
---|
520 | <indexterm zone="samba samba-init-sysd">
|
---|
521 | <primary sortas="f-samba">samba</primary>
|
---|
522 | </indexterm>
|
---|
523 |
|
---|
524 | <screen role="root"><userinput>make install-samba</userinput></screen>
|
---|
525 |
|
---|
526 | <para>
|
---|
527 | To start the <command>winbindd</command> daemon at boot,
|
---|
528 | install the systemd unit from the <xref linkend="systemd-units"/>
|
---|
529 | package by running the following command as the
|
---|
530 | <systemitem class="username">root</systemitem> user:
|
---|
531 | </para>
|
---|
532 |
|
---|
533 | <indexterm zone="samba samba-init-sysd">
|
---|
534 | <primary sortas="f-winbindd">winbindd</primary>
|
---|
535 | </indexterm>
|
---|
536 |
|
---|
537 | <screen role="root"><userinput>make install-winbindd</userinput></screen>
|
---|
538 |
|
---|
539 | <note>
|
---|
540 | <para>This package comes with two types of units: A service file and a
|
---|
541 | socket file. The service file will start the smbd daemon once at boot
|
---|
542 | and it will keep running until the system shuts down. The socket file
|
---|
543 | will make systemd listen on the smbd port (Default 445, needs to be
|
---|
544 | edited for anything else) and will start the smbd daemon when something
|
---|
545 | tries to connect to that port and stop the daemon when the connection
|
---|
546 | is terminated. This is called socket activation and is analogous to
|
---|
547 | using <application>{,x}inetd</application> on a SysVinit based
|
---|
548 | system.</para>
|
---|
549 |
|
---|
550 | <para>By default, the first method is used - the smbd daemon is started
|
---|
551 | at boot and stopped at shutdown. If the socket method is desired, you
|
---|
552 | need to run the following commands as the
|
---|
553 | <systemitem class="username">root</systemitem> user:</para>
|
---|
554 |
|
---|
555 | <screen role="root"><userinput>systemctl stop smbd &&
|
---|
556 | systemctl disable smbd &&
|
---|
557 | systemctl enable smbd.socket &&
|
---|
558 | systemctl start smbd.socket</userinput></screen>
|
---|
559 |
|
---|
560 | <para>Note that only the smbd daemon can be socket activated.</para>
|
---|
561 | </note>
|
---|
562 | </sect4>
|
---|
563 |
|
---|
564 | </sect3>
|
---|
565 |
|
---|
566 | </sect2>
|
---|
567 |
|
---|
568 | <sect2 role="content">
|
---|
569 | <title>Contents</title>
|
---|
570 |
|
---|
571 | <segmentedlist>
|
---|
572 | <segtitle>Installed Programs</segtitle>
|
---|
573 | <segtitle>Installed Libraries</segtitle>
|
---|
574 | <segtitle>Installed Directories</segtitle>
|
---|
575 |
|
---|
576 | <seglistitem>
|
---|
577 |
|
---|
578 | <seg>
|
---|
579 | cifsdd, dbwrap_tool, dumpmscat, eventlogadm, findsmb,gentest,
|
---|
580 | ldbadd, ldbdel, ldbedit, ldbmodify, ldbrename, ldbsearch, locktest,
|
---|
581 | masktest, mvxattr, ndrdump, net, nmbd, nmblookup, ntlm_auth,
|
---|
582 | oLschema2ldif, pdbedit, pidl, profiles, regdiff, regpatch, regshell,
|
---|
583 | regtree, rpcclient, samba, samba_dnsupdate, samba_kcc, samba-gpupdate,
|
---|
584 | samba-regedit, samba_spnupdate, samba-tool, samba_upgradedns, sharesec,
|
---|
585 | smbcacls, smbclient, smbcontrol, smbcquotas, smbd, smbget,
|
---|
586 | smbpasswd, smbspool, smbstatus, smbtar, <!-- smbta-util, -->
|
---|
587 | smbtorture, smbtree, tdbbackup, tdbdump, tdbrestore, tdbtool,
|
---|
588 | testparm, wbinfo, and winbindd
|
---|
589 | </seg>
|
---|
590 |
|
---|
591 | <seg>
|
---|
592 | <!-- libdcerpc-atsvc.so, --> libdcerpc-binding.so, libdcerpc-samr.so,
|
---|
593 | libdcerpc-server.so, libdcerpc.so, <!-- libgensec.so, -->
|
---|
594 | libndr-krb5pac.so, libndr-nbt.so, libndr.so, libndr-standard.so,
|
---|
595 | libnetapi.so, libnss_winbind.so, libnss_wins.so,
|
---|
596 | <!-- libregistry.so, --> libsamba-credentials.so, libsamba-errors.so,
|
---|
597 | libsamba-hostconfig.so, libsamba-passdb.so,
|
---|
598 | libsamba-policy.so, libsamba-util.so, libsamdb.so,
|
---|
599 | <!-- libsmbclient-raw.so, --> libsmbclient.so, libsmbconf.so,
|
---|
600 | libsmbldap.so, libtevent-util.so,
|
---|
601 | <!-- libtevent-unix.so, libtorture.so, -->
|
---|
602 | libwbclient.so, <!--mit_samba.so,
|
---|
603 | --> and winbind_krb5_locator.so; the pam_winbind.so
|
---|
604 | <!-- pam_smbpass.so --> PAM library; and assorted character set,
|
---|
605 | filesystem and support modules under
|
---|
606 | /usr/lib/{python&python2-majorver;,samba}
|
---|
607 | </seg>
|
---|
608 |
|
---|
609 | <seg>
|
---|
610 | /etc/samba, /run/samba, /usr/include/samba-4.0,
|
---|
611 | /usr/lib/perl5/vendor_perl/5.x.y/Parse/Pidl/{Samba{3,4},Wireshark},
|
---|
612 | /usr/lib/python&python3-majorver;/site-packages/samba,
|
---|
613 | /usr/libexec/samba, /usr/{lib,share}/samba,
|
---|
614 | and /var/{cache,lib,lock,log,run}/samba
|
---|
615 | </seg>
|
---|
616 |
|
---|
617 | </seglistitem>
|
---|
618 | </segmentedlist>
|
---|
619 |
|
---|
620 | <variablelist>
|
---|
621 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
622 | <?dbfo list-presentation="list"?>
|
---|
623 | <?dbhtml list-presentation="table"?>
|
---|
624 |
|
---|
625 | <varlistentry id="cifsdd">
|
---|
626 | <term><command>cifsdd</command></term>
|
---|
627 | <listitem>
|
---|
628 | <para>is the dd command for SMB.</para>
|
---|
629 | <indexterm zone="samba cifsdd">
|
---|
630 | <primary sortas="b-cifsdd">cifsdd</primary>
|
---|
631 | </indexterm>
|
---|
632 | </listitem>
|
---|
633 | </varlistentry>
|
---|
634 |
|
---|
635 | <varlistentry id="dbwrap_tool">
|
---|
636 | <term><command>dbwrap_tool</command></term>
|
---|
637 | <listitem>
|
---|
638 | <para>is used to read and manipulate TDB/CTDB databases using
|
---|
639 | the dbwrap interface.</para>
|
---|
640 | <indexterm zone="samba dbwrap_tool">
|
---|
641 | <primary sortas="b-dbwrap_tool">dbwrap_tool</primary>
|
---|
642 | </indexterm>
|
---|
643 | </listitem>
|
---|
644 | </varlistentry>
|
---|
645 |
|
---|
646 | <varlistentry id="eventlogadm">
|
---|
647 | <term><command>eventlogadm</command></term>
|
---|
648 | <listitem>
|
---|
649 | <para>is used to write records to eventlogs from STDIN, add the
|
---|
650 | specified source and DLL eventlog registry entries and display the
|
---|
651 | active eventlog names (from <filename>smb.conf</filename>).</para>
|
---|
652 | <indexterm zone="samba eventlogadm">
|
---|
653 | <primary sortas="b-eventlogadm">eventlogadm</primary>
|
---|
654 | </indexterm>
|
---|
655 | </listitem>
|
---|
656 | </varlistentry>
|
---|
657 |
|
---|
658 | <varlistentry id="findsmb">
|
---|
659 | <term><command>findsmb</command></term>
|
---|
660 | <listitem>
|
---|
661 | <para>is used to list info about machines that respond to SMB name
|
---|
662 | queries on a subnet.</para>
|
---|
663 | <indexterm zone="samba findsmb">
|
---|
664 | <primary sortas="b-findsmb">findsmb</primary>
|
---|
665 | </indexterm>
|
---|
666 | </listitem>
|
---|
667 | </varlistentry>
|
---|
668 |
|
---|
669 | <varlistentry id="gentest">
|
---|
670 | <term><command>gentest</command></term>
|
---|
671 | <listitem>
|
---|
672 | <para>is used to run random generic SMB operations against two
|
---|
673 | SMB servers and show the differences in behavior.</para>
|
---|
674 | <indexterm zone="samba gentest">
|
---|
675 | <primary sortas="b-gentest">gentest</primary>
|
---|
676 | </indexterm>
|
---|
677 | </listitem>
|
---|
678 | </varlistentry>
|
---|
679 |
|
---|
680 | <varlistentry id="ldbadd">
|
---|
681 | <term><command>ldbadd</command></term>
|
---|
682 | <listitem>
|
---|
683 | <para>is a command-line utility for adding records to an LDB
|
---|
684 | database.</para>
|
---|
685 | <indexterm zone="samba ldbadd">
|
---|
686 | <primary sortas="b-ldbadd">ldbadd</primary>
|
---|
687 | </indexterm>
|
---|
688 | </listitem>
|
---|
689 | </varlistentry>
|
---|
690 |
|
---|
691 | <varlistentry id="ldbdel">
|
---|
692 | <term><command>ldbdel</command></term>
|
---|
693 | <listitem>
|
---|
694 | <para>is a command-line program for deleting LDB database
|
---|
695 | records.</para>
|
---|
696 | <indexterm zone="samba ldbdel">
|
---|
697 | <primary sortas="b-ldbdel">ldbdel</primary>
|
---|
698 | </indexterm>
|
---|
699 | </listitem>
|
---|
700 | </varlistentry>
|
---|
701 |
|
---|
702 | <varlistentry id="ldbedit">
|
---|
703 | <term><command>ldbedit</command></term>
|
---|
704 | <listitem>
|
---|
705 | <para>allows you to edit LDB databases using your preferred
|
---|
706 | editor.</para>
|
---|
707 | <indexterm zone="samba ldbedit">
|
---|
708 | <primary sortas="b-ldbedit">ldbedit</primary>
|
---|
709 | </indexterm>
|
---|
710 | </listitem>
|
---|
711 | </varlistentry>
|
---|
712 |
|
---|
713 | <varlistentry id="ldbmodify">
|
---|
714 | <term><command>ldbmodify</command></term>
|
---|
715 | <listitem>
|
---|
716 | <para>allows you to modify records in an LDB database.</para>
|
---|
717 | <indexterm zone="samba ldbmodify">
|
---|
718 | <primary sortas="b-ldbmodify">ldbmodify</primary>
|
---|
719 | </indexterm>
|
---|
720 | </listitem>
|
---|
721 | </varlistentry>
|
---|
722 |
|
---|
723 | <varlistentry id="ldbrename">
|
---|
724 | <term><command>ldbrename</command></term>
|
---|
725 | <listitem>
|
---|
726 | <para>allows you to rename LDB databases.</para>
|
---|
727 | <indexterm zone="samba ldbrename">
|
---|
728 | <primary sortas="b-ldbrename">ldbrename</primary>
|
---|
729 | </indexterm>
|
---|
730 | </listitem>
|
---|
731 | </varlistentry>
|
---|
732 |
|
---|
733 | <varlistentry id="ldbsearch">
|
---|
734 | <term><command>ldbsearch</command></term>
|
---|
735 | <listitem>
|
---|
736 | <para>searches an LDB database for records matching a specified
|
---|
737 | expression.</para>
|
---|
738 | <indexterm zone="samba ldbsearch">
|
---|
739 | <primary sortas="b-ldbsearch">ldbsearch</primary>
|
---|
740 | </indexterm>
|
---|
741 | </listitem>
|
---|
742 | </varlistentry>
|
---|
743 |
|
---|
744 | <varlistentry id="locktest">
|
---|
745 | <term><command>locktest</command></term>
|
---|
746 | <listitem>
|
---|
747 | <para>is used to find differences in locking between two SMB
|
---|
748 | servers.</para>
|
---|
749 | <indexterm zone="samba locktest">
|
---|
750 | <primary sortas="b-locktest">locktest</primary>
|
---|
751 | </indexterm>
|
---|
752 | </listitem>
|
---|
753 | </varlistentry>
|
---|
754 |
|
---|
755 | <varlistentry id="masktest">
|
---|
756 | <term><command>masktest</command></term>
|
---|
757 | <listitem>
|
---|
758 | <para>is used to find differences in wildcard matching between
|
---|
759 | Samba's implementation and that of a remote server.</para>
|
---|
760 | <indexterm zone="samba masktest">
|
---|
761 | <primary sortas="b-masktest">masktest</primary>
|
---|
762 | </indexterm>
|
---|
763 | </listitem>
|
---|
764 | </varlistentry>
|
---|
765 |
|
---|
766 | <varlistentry id="mvxattr">
|
---|
767 | <term><command>mvxattr</command></term>
|
---|
768 | <listitem>
|
---|
769 | <para>is used to recursively rename extended attributes.</para>
|
---|
770 | <indexterm zone="samba mvxattr">
|
---|
771 | <primary sortas="b-mvxattr">mvxattr</primary>
|
---|
772 | </indexterm>
|
---|
773 | </listitem>
|
---|
774 | </varlistentry>
|
---|
775 |
|
---|
776 | <varlistentry id="ndrdump">
|
---|
777 | <term><command>ndrdump</command></term>
|
---|
778 | <listitem>
|
---|
779 | <para>is a DCE/RPC Packet Parser and Dumper.</para>
|
---|
780 | <indexterm zone="samba ndrdump">
|
---|
781 | <primary sortas="b-ndrdump">ndrdump</primary>
|
---|
782 | </indexterm>
|
---|
783 | </listitem>
|
---|
784 | </varlistentry>
|
---|
785 |
|
---|
786 | <varlistentry id="net">
|
---|
787 | <term><command>net</command></term>
|
---|
788 | <listitem>
|
---|
789 | <para>is a tool for administration of
|
---|
790 | <application>Samba</application> and remote CIFS servers, similar
|
---|
791 | to the <command>net</command> utility for DOS/Windows.</para>
|
---|
792 | <indexterm zone="samba net">
|
---|
793 | <primary sortas="b-net">net</primary>
|
---|
794 | </indexterm>
|
---|
795 | </listitem>
|
---|
796 | </varlistentry>
|
---|
797 |
|
---|
798 | <varlistentry id="nmbd">
|
---|
799 | <term><command>nmbd</command></term>
|
---|
800 | <listitem>
|
---|
801 | <para>is the <application>Samba</application>
|
---|
802 | NetBIOS name server.</para>
|
---|
803 | <indexterm zone="samba nmbd">
|
---|
804 | <primary sortas="b-nmbd">nmbd</primary>
|
---|
805 | </indexterm>
|
---|
806 | </listitem>
|
---|
807 | </varlistentry>
|
---|
808 |
|
---|
809 | <varlistentry id="nmblookup">
|
---|
810 | <term><command>nmblookup</command></term>
|
---|
811 | <listitem>
|
---|
812 | <para>is used to query NetBIOS names and map
|
---|
813 | them to IP addresses.</para>
|
---|
814 | <indexterm zone="samba nmblookup">
|
---|
815 | <primary sortas="b-nmblookup">nmblookup</primary>
|
---|
816 | </indexterm>
|
---|
817 | </listitem>
|
---|
818 | </varlistentry>
|
---|
819 |
|
---|
820 | <varlistentry id="ntlm_auth">
|
---|
821 | <term><command>ntlm_auth</command></term>
|
---|
822 | <listitem>
|
---|
823 | <para>is a tool to allow external access to Winbind's
|
---|
824 | NTLM authentication function.</para>
|
---|
825 | <indexterm zone="samba ntlm_auth">
|
---|
826 | <primary sortas="b-ntlm_auth">ntlm_auth</primary>
|
---|
827 | </indexterm>
|
---|
828 | </listitem>
|
---|
829 | </varlistentry>
|
---|
830 |
|
---|
831 | <varlistentry id="oLschema2ldif">
|
---|
832 | <term><command>oLschema2ldif</command></term>
|
---|
833 | <listitem>
|
---|
834 | <para>converts LDAP schema's to LDB-compatible LDIF.</para>
|
---|
835 | <indexterm zone="samba oLschema2ldif">
|
---|
836 | <primary sortas="b-oLschema2ldif">oLschema2ldif</primary>
|
---|
837 | </indexterm>
|
---|
838 | </listitem>
|
---|
839 | </varlistentry>
|
---|
840 |
|
---|
841 | <varlistentry id="pdbedit">
|
---|
842 | <term><command>pdbedit</command></term>
|
---|
843 | <listitem>
|
---|
844 | <para>is a tool used to manage the SAM database.</para>
|
---|
845 | <indexterm zone="samba pdbedit">
|
---|
846 | <primary sortas="b-pdbedit">pdbedit</primary>
|
---|
847 | </indexterm>
|
---|
848 | </listitem>
|
---|
849 | </varlistentry>
|
---|
850 |
|
---|
851 | <varlistentry id="pidl">
|
---|
852 | <term><command>pidl</command></term>
|
---|
853 | <listitem>
|
---|
854 | <para>is an IDL (Interface Definition Language) compiler
|
---|
855 | written in Perl.</para>
|
---|
856 | <indexterm zone="samba pidl">
|
---|
857 | <primary sortas="b-pidl">pidl</primary>
|
---|
858 | </indexterm>
|
---|
859 | </listitem>
|
---|
860 | </varlistentry>
|
---|
861 |
|
---|
862 | <varlistentry id="profiles">
|
---|
863 | <term><command>profiles</command></term>
|
---|
864 | <listitem>
|
---|
865 | <para>is a utility that reports and changes SIDs in Windows
|
---|
866 | registry files. It currently only supports Windows NT.</para>
|
---|
867 | <indexterm zone="samba profiles">
|
---|
868 | <primary sortas="b-profiles">profiles</primary>
|
---|
869 | </indexterm>
|
---|
870 | </listitem>
|
---|
871 | </varlistentry>
|
---|
872 |
|
---|
873 | <varlistentry id="regdiff">
|
---|
874 | <term><command>regdiff</command></term>
|
---|
875 | <listitem>
|
---|
876 | <para>is a Diff program for Windows registry files.</para>
|
---|
877 | <indexterm zone="samba regdiff">
|
---|
878 | <primary sortas="b-regdiff">regdiff</primary>
|
---|
879 | </indexterm>
|
---|
880 | </listitem>
|
---|
881 | </varlistentry>
|
---|
882 |
|
---|
883 | <varlistentry id="regpatch">
|
---|
884 | <term><command>regpatch</command></term>
|
---|
885 | <listitem>
|
---|
886 | <para>applies registry patches to registry files.</para>
|
---|
887 | <indexterm zone="samba regpatch">
|
---|
888 | <primary sortas="b-regpatch">regpatch</primary>
|
---|
889 | </indexterm>
|
---|
890 | </listitem>
|
---|
891 | </varlistentry>
|
---|
892 |
|
---|
893 | <varlistentry id="regshell">
|
---|
894 | <term><command>regshell</command></term>
|
---|
895 | <listitem>
|
---|
896 | <para>is a Windows registry file browser using readline.</para>
|
---|
897 | <indexterm zone="samba regshell">
|
---|
898 | <primary sortas="b-regshell">regshell</primary>
|
---|
899 | </indexterm>
|
---|
900 | </listitem>
|
---|
901 | </varlistentry>
|
---|
902 |
|
---|
903 | <varlistentry id="regtree">
|
---|
904 | <term><command>regtree</command></term>
|
---|
905 | <listitem>
|
---|
906 | <para>is a text-mode registry viewer.</para>
|
---|
907 | <indexterm zone="samba regtree">
|
---|
908 | <primary sortas="b-regtree">regtree</primary>
|
---|
909 | </indexterm>
|
---|
910 | </listitem>
|
---|
911 | </varlistentry>
|
---|
912 |
|
---|
913 | <varlistentry id="rpcclient">
|
---|
914 | <term><command>rpcclient</command></term>
|
---|
915 | <listitem>
|
---|
916 | <para>is used to execute MS-RPC client side functions.</para>
|
---|
917 | <indexterm zone="samba rpcclient">
|
---|
918 | <primary sortas="b-rpcclient">rpcclient</primary>
|
---|
919 | </indexterm>
|
---|
920 | </listitem>
|
---|
921 | </varlistentry>
|
---|
922 |
|
---|
923 | <varlistentry id="samba-prog">
|
---|
924 | <term><command>samba</command></term>
|
---|
925 | <listitem>
|
---|
926 | <para>is a server to provide AD and SMB/CIFS services
|
---|
927 | to clients.</para>
|
---|
928 | <indexterm zone="samba samba-prog">
|
---|
929 | <primary sortas="b-samba-prog">samba</primary>
|
---|
930 | </indexterm>
|
---|
931 | </listitem>
|
---|
932 | </varlistentry>
|
---|
933 |
|
---|
934 | <varlistentry id="samba_dnsupdate">
|
---|
935 | <term><command>samba_dnsupdate</command></term>
|
---|
936 | <listitem>
|
---|
937 | <para>is used to update our DNS names using TSIG-GSS.</para>
|
---|
938 | <indexterm zone="samba samba_dnsupdate">
|
---|
939 | <primary sortas="b-samba_dnsupdate">samba_dnsupdate</primary>
|
---|
940 | </indexterm>
|
---|
941 | </listitem>
|
---|
942 | </varlistentry>
|
---|
943 |
|
---|
944 | <varlistentry id="samba_kcc">
|
---|
945 | <term><command>samba_kcc</command></term>
|
---|
946 | <listitem>
|
---|
947 | <para>is a script used to compute your KCC (Knowledge
|
---|
948 | Consistency Checker) topology.</para>
|
---|
949 | <indexterm zone="samba samba_kcc">
|
---|
950 | <primary sortas="b-samba_kcc">samba_kcc</primary>
|
---|
951 | </indexterm>
|
---|
952 | </listitem>
|
---|
953 | </varlistentry>
|
---|
954 |
|
---|
955 | <varlistentry id="samba-gpupdate">
|
---|
956 | <term><command>samba-gpupdate</command></term>
|
---|
957 | <listitem>
|
---|
958 | <para>allows you to edit Microsoft Group Policy Objects (GPOs).</para>
|
---|
959 | <indexterm zone="samba samba-gpupdate">
|
---|
960 | <primary sortas="b-samba-gpupdate">samba-gpupdate</primary>
|
---|
961 | </indexterm>
|
---|
962 | </listitem>
|
---|
963 | </varlistentry>
|
---|
964 |
|
---|
965 | <varlistentry id="samba-regedit">
|
---|
966 | <term><command>samba-regedit</command></term>
|
---|
967 | <listitem>
|
---|
968 | <para>is a ncurses based tool to manage the Samba registry.</para>
|
---|
969 | <indexterm zone="samba samba-regedit">
|
---|
970 | <primary sortas="b-samba-regedit">samba-regedit</primary>
|
---|
971 | </indexterm>
|
---|
972 | </listitem>
|
---|
973 | </varlistentry>
|
---|
974 |
|
---|
975 | <varlistentry id="samba_spnupdate">
|
---|
976 | <term><command>samba_spnupdate</command></term>
|
---|
977 | <listitem>
|
---|
978 | <para>is a script to update the servicePrincipalName
|
---|
979 | names from spn_update_list.</para>
|
---|
980 | <indexterm zone="samba samba_spnupdate">
|
---|
981 | <primary sortas="b-samba_spnupdate">samba_spnupdate</primary>
|
---|
982 | </indexterm>
|
---|
983 | </listitem>
|
---|
984 | </varlistentry>
|
---|
985 |
|
---|
986 | <varlistentry id="samba-tool">
|
---|
987 | <term><command>samba-tool</command></term>
|
---|
988 | <listitem>
|
---|
989 | <para>is the main Samba administration tool.</para>
|
---|
990 | <indexterm zone="samba samba-tool">
|
---|
991 | <primary sortas="b-samba-tool">samba-tool</primary>
|
---|
992 | </indexterm>
|
---|
993 | </listitem>
|
---|
994 | </varlistentry>
|
---|
995 |
|
---|
996 | <varlistentry id="samba_upgradedns">
|
---|
997 | <term><command>samba_upgradedns</command></term>
|
---|
998 | <listitem>
|
---|
999 | <para>is a Unix SMB/CIFS implementation.</para>
|
---|
1000 | <indexterm zone="samba samba_upgradedns">
|
---|
1001 | <primary sortas="b-samba_upgradedns">samba_upgradedns</primary>
|
---|
1002 | </indexterm>
|
---|
1003 | </listitem>
|
---|
1004 | </varlistentry>
|
---|
1005 |
|
---|
1006 | <varlistentry id="sharesec">
|
---|
1007 | <term><command>sharesec</command></term>
|
---|
1008 | <listitem>
|
---|
1009 | <para>manipulates share ACL permissions on SMB file shares.</para>
|
---|
1010 | <indexterm zone="samba sharesec">
|
---|
1011 | <primary sortas="b-sharesec">sharesec</primary>
|
---|
1012 | </indexterm>
|
---|
1013 | </listitem>
|
---|
1014 | </varlistentry>
|
---|
1015 |
|
---|
1016 | <varlistentry id="smbcacls">
|
---|
1017 | <term><command>smbcacls</command></term>
|
---|
1018 | <listitem>
|
---|
1019 | <para>is used to manipulate Windows NT access control lists.</para>
|
---|
1020 | <indexterm zone="samba smbcacls">
|
---|
1021 | <primary sortas="b-smbcacls">smbcacls</primary>
|
---|
1022 | </indexterm>
|
---|
1023 | </listitem>
|
---|
1024 | </varlistentry>
|
---|
1025 |
|
---|
1026 | <varlistentry id="smbclient">
|
---|
1027 | <term><command>smbclient</command></term>
|
---|
1028 | <listitem>
|
---|
1029 | <para>is a SMB/CIFS access utility, similar to FTP.</para>
|
---|
1030 | <indexterm zone="samba smbclient">
|
---|
1031 | <primary sortas="b-smbclient">smbclient</primary>
|
---|
1032 | </indexterm>
|
---|
1033 | </listitem>
|
---|
1034 | </varlistentry>
|
---|
1035 |
|
---|
1036 | <varlistentry id="smbcontrol">
|
---|
1037 | <term><command>smbcontrol</command></term>
|
---|
1038 | <listitem>
|
---|
1039 | <para>is used to control running <command>smbd</command>,
|
---|
1040 | <command>nmbd</command> and <command>winbindd</command>
|
---|
1041 | daemons.</para>
|
---|
1042 | <indexterm zone="samba smbcontrol">
|
---|
1043 | <primary sortas="b-smbcontrol">smbcontrol</primary>
|
---|
1044 | </indexterm>
|
---|
1045 | </listitem>
|
---|
1046 | </varlistentry>
|
---|
1047 |
|
---|
1048 | <varlistentry id="smbcquotas">
|
---|
1049 | <term><command>smbcquotas</command></term>
|
---|
1050 | <listitem>
|
---|
1051 | <para>is used to manipulate Windows NT quotas on
|
---|
1052 | SMB file shares.</para>
|
---|
1053 | <indexterm zone="samba smbcquotas">
|
---|
1054 | <primary sortas="b-smbcquotas">smbcquotas</primary>
|
---|
1055 | </indexterm>
|
---|
1056 | </listitem>
|
---|
1057 | </varlistentry>
|
---|
1058 |
|
---|
1059 | <varlistentry id="smbd">
|
---|
1060 | <term><command>smbd</command></term>
|
---|
1061 | <listitem>
|
---|
1062 | <para>is the main <application>Samba</application> daemon which
|
---|
1063 | provides SMB/CIFS services to clients.</para>
|
---|
1064 | <indexterm zone="samba smbd">
|
---|
1065 | <primary sortas="b-smbd">smbd</primary>
|
---|
1066 | </indexterm>
|
---|
1067 | </listitem>
|
---|
1068 | </varlistentry>
|
---|
1069 |
|
---|
1070 | <varlistentry id="smbget">
|
---|
1071 | <term><command>smbget</command></term>
|
---|
1072 | <listitem>
|
---|
1073 | <para>is a simple utility with <command>wget</command>-like
|
---|
1074 | semantics, that can download files from SMB servers. You can specify
|
---|
1075 | the files you would like to download on the command-line.</para>
|
---|
1076 | <indexterm zone="samba smbget">
|
---|
1077 | <primary sortas="b-smbget">smbget</primary>
|
---|
1078 | </indexterm>
|
---|
1079 | </listitem>
|
---|
1080 | </varlistentry>
|
---|
1081 |
|
---|
1082 | <varlistentry id="smbpasswd">
|
---|
1083 | <term><command>smbpasswd</command></term>
|
---|
1084 | <listitem>
|
---|
1085 | <para>changes a user's <application>Samba</application>
|
---|
1086 | password.</para>
|
---|
1087 | <indexterm zone="samba smbpasswd">
|
---|
1088 | <primary sortas="b-smbpasswd">smbpasswd</primary>
|
---|
1089 | </indexterm>
|
---|
1090 | </listitem>
|
---|
1091 | </varlistentry>
|
---|
1092 |
|
---|
1093 | <varlistentry id="smbspool">
|
---|
1094 | <term><command>smbspool</command></term>
|
---|
1095 | <listitem>
|
---|
1096 | <para>sends a print job to an SMB printer.</para>
|
---|
1097 | <indexterm zone="samba smbspool">
|
---|
1098 | <primary sortas="b-smbspool">smbspool</primary>
|
---|
1099 | </indexterm>
|
---|
1100 | </listitem>
|
---|
1101 | </varlistentry>
|
---|
1102 |
|
---|
1103 | <varlistentry id="smbstatus">
|
---|
1104 | <term><command>smbstatus</command></term>
|
---|
1105 | <listitem>
|
---|
1106 | <para>reports current <application>Samba</application>
|
---|
1107 | connections.</para>
|
---|
1108 | <indexterm zone="samba smbstatus">
|
---|
1109 | <primary sortas="b-smbstatus">smbstatus</primary>
|
---|
1110 | </indexterm>
|
---|
1111 | </listitem>
|
---|
1112 | </varlistentry>
|
---|
1113 |
|
---|
1114 | <varlistentry id="smbtar">
|
---|
1115 | <term><command>smbtar</command></term>
|
---|
1116 | <listitem>
|
---|
1117 | <para>is a shell script used for backing up SMB/CIFS shares
|
---|
1118 | directly to Linux tape drives or a file.</para>
|
---|
1119 | <indexterm zone="samba smbtar">
|
---|
1120 | <primary sortas="b-smbtar">smbtar</primary>
|
---|
1121 | </indexterm>
|
---|
1122 | </listitem>
|
---|
1123 | </varlistentry>
|
---|
1124 |
|
---|
1125 | <!--
|
---|
1126 | <varlistentry id="smbta-util">
|
---|
1127 | <term><command>smbta-util</command></term>
|
---|
1128 | <listitem>
|
---|
1129 | <para>is a tool to ease the configuration of the
|
---|
1130 | vfs_smb_traffic_analyzer module regarding data encryption.</para>
|
---|
1131 | <indexterm zone="samba smbta-util">
|
---|
1132 | <primary sortas="b-smbta-util">smbta-util</primary>
|
---|
1133 | </indexterm>
|
---|
1134 | </listitem>
|
---|
1135 | </varlistentry>
|
---|
1136 | -->
|
---|
1137 |
|
---|
1138 | <varlistentry id="smbtorture">
|
---|
1139 | <term><command>smbtorture</command></term>
|
---|
1140 | <listitem>
|
---|
1141 | <para>is a testsuite that runs several tests against a SMB
|
---|
1142 | server.</para>
|
---|
1143 | <indexterm zone="samba smbtorture">
|
---|
1144 | <primary sortas="b-smbtorture">smbtorture</primary>
|
---|
1145 | </indexterm>
|
---|
1146 | </listitem>
|
---|
1147 | </varlistentry>
|
---|
1148 |
|
---|
1149 | <varlistentry id="smbtree">
|
---|
1150 | <term><command>smbtree</command></term>
|
---|
1151 | <listitem>
|
---|
1152 | <para>is a text-based SMB network browser.</para>
|
---|
1153 | <indexterm zone="samba smbtree">
|
---|
1154 | <primary sortas="b-smbtree">smbtree</primary>
|
---|
1155 | </indexterm>
|
---|
1156 | </listitem>
|
---|
1157 | </varlistentry>
|
---|
1158 |
|
---|
1159 | <varlistentry id="tdbbackup">
|
---|
1160 | <term><command>tdbbackup</command></term>
|
---|
1161 | <listitem>
|
---|
1162 | <para>is a tool for backing up or validating the integrity of
|
---|
1163 | <application>Samba</application> <filename>.tdb</filename>
|
---|
1164 | files.</para>
|
---|
1165 | <indexterm zone="samba tdbbackup">
|
---|
1166 | <primary sortas="b-tdbbackup">tdbbackup</primary>
|
---|
1167 | </indexterm>
|
---|
1168 | </listitem>
|
---|
1169 | </varlistentry>
|
---|
1170 |
|
---|
1171 | <varlistentry id="tdbdump">
|
---|
1172 | <term><command>tdbdump</command></term>
|
---|
1173 | <listitem>
|
---|
1174 | <para> is a tool used to print the contents of a
|
---|
1175 | <application>Samba</application> <filename>.tdb</filename>
|
---|
1176 | file.</para>
|
---|
1177 | <indexterm zone="samba tdbdump">
|
---|
1178 | <primary sortas="b-tdbdump">tdbdump</primary>
|
---|
1179 | </indexterm>
|
---|
1180 | </listitem>
|
---|
1181 | </varlistentry>
|
---|
1182 |
|
---|
1183 | <varlistentry id="tdbrestore">
|
---|
1184 | <term><command>tdbrestore</command></term>
|
---|
1185 | <listitem>
|
---|
1186 | <para> is a tool for creating a <application>Samba</application>
|
---|
1187 | <filename>.tdb</filename> file out of a ntdbdump.</para>
|
---|
1188 | <indexterm zone="samba tdbrestore">
|
---|
1189 | <primary sortas="b-tdbrestore">tdbrestore</primary>
|
---|
1190 | </indexterm>
|
---|
1191 | </listitem>
|
---|
1192 | </varlistentry>
|
---|
1193 |
|
---|
1194 | <varlistentry id="tdbtool">
|
---|
1195 | <term><command>tdbtool</command></term>
|
---|
1196 | <listitem>
|
---|
1197 | <para>is a tool which allows simple database manipulation from the
|
---|
1198 | command line.</para>
|
---|
1199 | <indexterm zone="samba tdbtool">
|
---|
1200 | <primary sortas="b-tdbtool">tdbtool</primary>
|
---|
1201 | </indexterm>
|
---|
1202 | </listitem>
|
---|
1203 | </varlistentry>
|
---|
1204 |
|
---|
1205 | <varlistentry id="testparm">
|
---|
1206 | <term><command>testparm</command></term>
|
---|
1207 | <listitem>
|
---|
1208 | <para>checks an <filename>smb.conf</filename> file for proper
|
---|
1209 | syntax.</para>
|
---|
1210 | <indexterm zone="samba testparm">
|
---|
1211 | <primary sortas="b-testparm">testparm</primary>
|
---|
1212 | </indexterm>
|
---|
1213 | </listitem>
|
---|
1214 | </varlistentry>
|
---|
1215 |
|
---|
1216 | <varlistentry id="wbinfo">
|
---|
1217 | <term><command>wbinfo</command></term>
|
---|
1218 | <listitem>
|
---|
1219 | <para>queries a running <command>winbindd</command> daemon.</para>
|
---|
1220 | <indexterm zone="samba wbinfo">
|
---|
1221 | <primary sortas="b-wbinfo">wbinfo</primary>
|
---|
1222 | </indexterm>
|
---|
1223 | </listitem>
|
---|
1224 | </varlistentry>
|
---|
1225 |
|
---|
1226 | <varlistentry id="winbindd">
|
---|
1227 | <term><command>winbindd</command></term>
|
---|
1228 | <listitem>
|
---|
1229 | <para>resolves names from Windows NT servers.</para>
|
---|
1230 | <indexterm zone="samba winbindd">
|
---|
1231 | <primary sortas="b-winbindd">winbindd</primary>
|
---|
1232 | </indexterm>
|
---|
1233 | </listitem>
|
---|
1234 | </varlistentry>
|
---|
1235 |
|
---|
1236 | <varlistentry id="libnss_winbind">
|
---|
1237 | <term><filename class='libraryfile'>libnss_winbind.so</filename></term>
|
---|
1238 | <listitem>
|
---|
1239 | <para>provides Name Service Switch API functions for resolving names
|
---|
1240 | from NT servers.</para>
|
---|
1241 | <indexterm zone="samba libnss_winbind">
|
---|
1242 | <primary sortas="c-libnss_winbind">libnss_winbind.so</primary>
|
---|
1243 | </indexterm>
|
---|
1244 | </listitem>
|
---|
1245 | </varlistentry>
|
---|
1246 |
|
---|
1247 | <varlistentry id="libnss_wins">
|
---|
1248 | <term><filename class='libraryfile'>libnss_wins.so</filename></term>
|
---|
1249 | <listitem>
|
---|
1250 | <para>provides API functions for Samba's implementation of the
|
---|
1251 | Windows Internet Naming Service.</para>
|
---|
1252 | <indexterm zone="samba libnss_wins">
|
---|
1253 | <primary sortas="c-libnss_wins">libnss_wins.so</primary>
|
---|
1254 | </indexterm>
|
---|
1255 | </listitem>
|
---|
1256 | </varlistentry>
|
---|
1257 |
|
---|
1258 | <varlistentry id="libnetapi">
|
---|
1259 | <term><filename class='libraryfile'>libnetapi.so</filename></term>
|
---|
1260 | <listitem>
|
---|
1261 | <para>provides the API functions for the administration tools used
|
---|
1262 | for Samba and remote CIFS servers.</para>
|
---|
1263 | <indexterm zone="samba libnetapi">
|
---|
1264 | <primary sortas="c-libnetapi">libnetapi.so</primary>
|
---|
1265 | </indexterm>
|
---|
1266 | </listitem>
|
---|
1267 | </varlistentry>
|
---|
1268 |
|
---|
1269 | <varlistentry id="libsmbclient">
|
---|
1270 | <term><filename class='libraryfile'>libsmbclient.so</filename></term>
|
---|
1271 | <listitem>
|
---|
1272 | <para>provides the API functions for the Samba SMB client tools.</para>
|
---|
1273 | <indexterm zone="samba libsmbclient">
|
---|
1274 | <primary sortas="c-libsmbclient">libsmbclient.so</primary>
|
---|
1275 | </indexterm>
|
---|
1276 | </listitem>
|
---|
1277 | </varlistentry>
|
---|
1278 | <!--
|
---|
1279 | <varlistentry id="libsmbsharemodes">
|
---|
1280 | <term><filename class='libraryfile'>libsmbsharemodes.so</filename></term>
|
---|
1281 | <listitem>
|
---|
1282 | <para>provides API functions for accessing SMB share modes
|
---|
1283 | (locks etc.)</para>
|
---|
1284 | <indexterm zone="samba libsmbsharemodes">
|
---|
1285 | <primary sortas="c-libsmbsharemodes">libsmbsharemodes.so</primary>
|
---|
1286 | </indexterm>
|
---|
1287 | </listitem>
|
---|
1288 | </varlistentry>-->
|
---|
1289 |
|
---|
1290 | <varlistentry id="libwbclient">
|
---|
1291 | <term><filename class='libraryfile'>libwbclient.so</filename></term>
|
---|
1292 | <listitem>
|
---|
1293 | <para>provides API functions for Windows domain client services.</para>
|
---|
1294 | <indexterm zone="samba libwbclient">
|
---|
1295 | <primary sortas="c-libwbclient">libwbclient.so</primary>
|
---|
1296 | </indexterm>
|
---|
1297 | </listitem>
|
---|
1298 | </varlistentry>
|
---|
1299 |
|
---|
1300 | </variablelist>
|
---|
1301 |
|
---|
1302 | </sect2>
|
---|
1303 |
|
---|
1304 | </sect1>
|
---|