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