1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY samba3-download-http "http://us1.samba.org/samba/ftp/samba-&samba3-version;.tar.gz">
|
---|
8 | <!ENTITY samba3-download-ftp "ftp://ftp.samba.org/pub/samba/samba-&samba3-version;.tar.gz">
|
---|
9 | <!ENTITY samba3-md5sum "ebee37e66a8b5f6fd328967dc09088e8">
|
---|
10 | <!ENTITY samba3-size "15.6 MB">
|
---|
11 | <!ENTITY samba3-buildsize "147 MB">
|
---|
12 | <!ENTITY samba3-time "2.21 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="samba3" xreflabel="Samba-&samba3-version;">
|
---|
16 | <?dbhtml filename="samba3.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Samba-&samba3-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="samba3">
|
---|
26 | <primary sortas="a-Samba">Samba</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2>
|
---|
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 NT
|
---|
35 | 4.0 Domain Controller replacement (with caveats working with NT PDC's and
|
---|
36 | BDC's), a file/print server acting as a member of a Windows NT 4.0 or
|
---|
37 | Active Directory domain and a NetBIOS (rfc1001/1002) nameserver (which
|
---|
38 | amongst other things provides LAN browsing support).</para>
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&samba3-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&samba3-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &samba3-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &samba3-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &samba3-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &samba3-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">Samba Dependencies</bridgehead>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
65 | <para><xref linkend="popt"/>,
|
---|
66 | <xref linkend="Linux_PAM"/>,
|
---|
67 | <xref linkend="openldap"/>,
|
---|
68 | <xref linkend="cups"/>,
|
---|
69 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
70 | <xref linkend="libxml2"/>,
|
---|
71 | <xref linkend="mysql"/> or <xref linkend="postgresql"/>,
|
---|
72 | <xref linkend="python"/>,
|
---|
73 | <xref linkend="xinetd"/>,
|
---|
74 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink> and
|
---|
75 | <xref linkend="stunnel"/> (used to encrypt access to SWAT)</para>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2 role="installation">
|
---|
80 | <title>Installation of Samba</title>
|
---|
81 |
|
---|
82 | <para>Install <application>Samba</application> by running the following
|
---|
83 | commands:</para>
|
---|
84 |
|
---|
85 | <screen><userinput>cd source &&
|
---|
86 | ./configure \
|
---|
87 | --prefix=/usr \
|
---|
88 | --sysconfdir=/etc \
|
---|
89 | --localstatedir=/var \
|
---|
90 | --with-piddir=/var/run \
|
---|
91 | --with-fhs \
|
---|
92 | --with-smbmount &&
|
---|
93 | make</userinput></screen>
|
---|
94 |
|
---|
95 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
96 |
|
---|
97 | <screen role="root"><userinput>install -v -m755 -d /var/cache/samba &&
|
---|
98 | make install &&
|
---|
99 | mv -v /usr/lib/samba/libsmbclient.so /usr/lib &&
|
---|
100 | ln -v -sf ../libsmbclient.so /usr/lib/samba &&
|
---|
101 | chmod -v 644 /usr/include/libsmbclient.h &&
|
---|
102 | install -v -m755 nsswitch/libnss_win{s,bind}.so /lib &&
|
---|
103 | ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 &&
|
---|
104 | ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 &&
|
---|
105 | if [ -f nsswitch/pam_winbind.so ]; then
|
---|
106 | install -v -m755 nsswitch/pam_winbind.so /lib/security
|
---|
107 | fi &&
|
---|
108 | install -v -m644 ../examples/smb.conf.default /etc/samba &&
|
---|
109 | install -v -m644 ../docs/*.pdf /usr/share/samba</userinput></screen>
|
---|
110 |
|
---|
111 | <note>
|
---|
112 | <para>You may want to run <command>configure</command> with the
|
---|
113 | <option>--help</option> parameter. There may be other parameters
|
---|
114 | needed to take advantage of the optional dependencies.</para>
|
---|
115 | </note>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="commands">
|
---|
120 | <title>Command Explanations</title>
|
---|
121 |
|
---|
122 | <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
|
---|
123 | file directory to avoid the default of
|
---|
124 | <filename class="directory">/usr/etc</filename>.</para>
|
---|
125 |
|
---|
126 | <para><parameter>--localstatedir=/var</parameter>: Sets the variable
|
---|
127 | data directory to avoid the default of
|
---|
128 | <filename class="directory">/usr/var</filename>.</para>
|
---|
129 |
|
---|
130 | <para><parameter>--with-fhs</parameter>: Assigns all other file paths in
|
---|
131 | a manner compliant with the Filesystem Hierarchy Standard (FHS).</para>
|
---|
132 |
|
---|
133 | <para><parameter>--with-smbmount</parameter>: Orders the creation of an
|
---|
134 | extra binary for use by the <command>mount</command> command so that
|
---|
135 | mounting remote SMB (Windows) shares becomes no more complex than
|
---|
136 | mounting remote NFS shares.</para>
|
---|
137 |
|
---|
138 | <para><option>--with-pam</option>: Use this parameter to link
|
---|
139 | <application>Linux-PAM</application> into the build. This
|
---|
140 | also builds the <filename class='libraryfile'>pam_winbind.so</filename>
|
---|
141 | <application>PAM</application> module. You can find
|
---|
142 | instructions on how to configure and use the module by running
|
---|
143 | <command>man winbindd</command>.</para>
|
---|
144 |
|
---|
145 | <para><command>install -v -d /var/cache/samba</command>: This directory is
|
---|
146 | needed for proper operation of the <command>smbd</command> and
|
---|
147 | <command>nmbd</command> daemons.</para>
|
---|
148 |
|
---|
149 | <para><command>mv -v /usr/lib/samba/libsmbclient.so ...; ln -v -sf
|
---|
150 | ../libsmbclient.so ...</command>: The
|
---|
151 | <filename class='libraryfile'>libsmbclient.so</filename> library is needed
|
---|
152 | by other packages. This command moves it to a location where other packages
|
---|
153 | can find it.</para>
|
---|
154 |
|
---|
155 | <para><command>install -v -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
|
---|
156 | The nss libraries are not installed by default. If you intend to use
|
---|
157 | winbindd for domain auth, and/or WINS name resolution,
|
---|
158 | you need these libraries.</para>
|
---|
159 |
|
---|
160 | <para><command>ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2</command>
|
---|
161 | and <command>ln -v -sf libnss_wins.so /lib/libnss_wins.so.2</command>:
|
---|
162 | These symlinks are required by glibc to use the NSS
|
---|
163 | libraries.</para>
|
---|
164 |
|
---|
165 | <para><command>install -v -m644 ../examples/smb.conf.default
|
---|
166 | /etc/samba</command>: This copies a default <filename>smb.conf</filename>
|
---|
167 | into <filename>/etc/samba</filename>. This sample configuration will not
|
---|
168 | work unless edited for your site, and renamed
|
---|
169 | <filename>smb.conf</filename>.</para>
|
---|
170 |
|
---|
171 | </sect2>
|
---|
172 |
|
---|
173 | <sect2 role="configuration">
|
---|
174 | <title>Configuring Samba</title>
|
---|
175 |
|
---|
176 | <sect3 id="samba3-config">
|
---|
177 | <title>Config Files</title>
|
---|
178 |
|
---|
179 | <para>/etc/samba/smb.conf</para>
|
---|
180 |
|
---|
181 | <indexterm zone="samba3 samba3-config">
|
---|
182 | <primary sortas="e-etc-samba-smb.conf">/etc/samba/smb.conf</primary>
|
---|
183 | </indexterm>
|
---|
184 |
|
---|
185 | </sect3>
|
---|
186 |
|
---|
187 | <sect3>
|
---|
188 | <title>Configuration Overview and Available Documentation</title>
|
---|
189 |
|
---|
190 | <para>Due to the complexity and the many various uses for
|
---|
191 | <application>Samba</application>, complete configuration is well beyond
|
---|
192 | the scope of the BLFS book. Advanced configurations including setting up
|
---|
193 | Primary and Backup Domain Controllers are advanced topics and cannot be
|
---|
194 | adequately covered in BLFS (it should be noted, however, that a
|
---|
195 | <application>Samba</application> BDC cannot be used as a fallback for a
|
---|
196 | <application>Windows</application> PDC, and conversely, a
|
---|
197 | <application>Windows</application> BDC cannot be used as a
|
---|
198 | fallback for a <application>Samba</application> PDC). Many
|
---|
199 | complete books have been written on these topics alone.</para>
|
---|
200 |
|
---|
201 | <para>There is quite a bit of documentation available which covers many
|
---|
202 | of these advanced configurations. Point your web browser to the links
|
---|
203 | below to view some of the documentation included with the
|
---|
204 | <application>Samba</application> package:</para>
|
---|
205 |
|
---|
206 | <itemizedlist spacing='compact'>
|
---|
207 | <listitem>
|
---|
208 | <para>Using Samba, 2nd Edition; a popular book published by O'Reilly
|
---|
209 | <ulink url="file:///usr/share/samba/swat/using_samba/toc.html"/></para>
|
---|
210 | </listitem>
|
---|
211 | <listitem>
|
---|
212 | <para>The Official Samba HOWTO and Reference Guide <ulink
|
---|
213 | url="file:///usr/share/samba/swat/help/Samba-HOWTO-Collection/index.html"/>
|
---|
214 | </para>
|
---|
215 | </listitem>
|
---|
216 | <listitem>
|
---|
217 | <para>Samba-3 by Example
|
---|
218 | <ulink url="file:///usr/share/samba/swat/help/Samba-Guide/index.html"/>
|
---|
219 | </para>
|
---|
220 | </listitem>
|
---|
221 | <listitem>
|
---|
222 | <para>The Samba-3 man Pages
|
---|
223 | <ulink url="file:///usr/share/samba/swat/help/samba.7.html"/></para>
|
---|
224 | </listitem>
|
---|
225 | </itemizedlist>
|
---|
226 |
|
---|
227 | </sect3>
|
---|
228 |
|
---|
229 | <sect3 id="samba3-swat-config">
|
---|
230 | <title>Configuring SWAT</title>
|
---|
231 |
|
---|
232 | <para>The built in SWAT (<application>Samba</application> Web
|
---|
233 | Administration Tool) utility can be used for basic configuration of
|
---|
234 | the <application>Samba</application> installation, but because it may
|
---|
235 | be inconvenient, undesireable or perhaps even impossible to gain
|
---|
236 | access to the console, BLFS recommends setting up access to SWAT using
|
---|
237 | <application>Stunnel</application>.</para>
|
---|
238 |
|
---|
239 | <indexterm zone="samba3 samba3-swat-config">
|
---|
240 | <primary sortas="g-SWAT">SWAT</primary>
|
---|
241 | </indexterm>
|
---|
242 |
|
---|
243 | <para>First you must add entries to <filename>/etc/services</filename>
|
---|
244 | and modify the <command>inetd</command>/<command>xinetd</command>
|
---|
245 | configuration.</para>
|
---|
246 |
|
---|
247 | <indexterm zone="samba3 samba3-swat-config">
|
---|
248 | <primary sortas="e-etc-services">/etc/services</primary>
|
---|
249 | </indexterm>
|
---|
250 |
|
---|
251 | <indexterm zone="samba3 samba3-swat-config">
|
---|
252 | <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
|
---|
253 | </indexterm>
|
---|
254 |
|
---|
255 | <indexterm zone="samba3 samba3-swat-config">
|
---|
256 | <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
|
---|
257 | </indexterm>
|
---|
258 |
|
---|
259 | <para>Add swat and swat_tunnel entries to
|
---|
260 | <filename>/etc/services</filename> with the following commands issued
|
---|
261 | as the <systemitem class="username">root</systemitem> user:</para>
|
---|
262 |
|
---|
263 | <screen role="root"><userinput>echo "swat 901/tcp" >> /etc/services &&
|
---|
264 | echo "swat_tunnel 902/tcp" >> /etc/services</userinput></screen>
|
---|
265 |
|
---|
266 | <para>If <command>inetd</command> is used, the following command will
|
---|
267 | add the swat_tunnel entry to <filename>/etc/inetd.conf</filename> (as
|
---|
268 | user <systemitem class="username">root</systemitem>):</para>
|
---|
269 |
|
---|
270 | <screen role="root"><userinput>echo "swat_tunnel stream tcp nowait.400 root /usr/sbin/swat swat" \
|
---|
271 | >> /etc/inetd.conf</userinput></screen>
|
---|
272 |
|
---|
273 | <para>Issue a <command>killall -HUP inetd</command> to reread the
|
---|
274 | changed <filename>inetd.conf</filename> file.</para>
|
---|
275 |
|
---|
276 | <para>If you use <command>xinetd</command>, the following command will
|
---|
277 | create the <application>Samba</application> file as
|
---|
278 | <filename>/etc/xinetd.d/swat_tunnel</filename> (you may need to modify
|
---|
279 | or remove the <quote>only_from</quote> line to include the desired
|
---|
280 | host[s]):</para>
|
---|
281 |
|
---|
282 | <screen role="root"><userinput>cat >> /etc/xinetd.d/swat_tunnel << "EOF"
|
---|
283 | <literal># Begin /etc/xinetd.d/swat_tunnel
|
---|
284 |
|
---|
285 | service swat_tunnel
|
---|
286 | {
|
---|
287 | port = 902
|
---|
288 | socket_type = stream
|
---|
289 | wait = no
|
---|
290 | only_from = 127.0.0.1
|
---|
291 | user = root
|
---|
292 | server = /usr/sbin/swat
|
---|
293 | log_on_failure += USERID
|
---|
294 | }
|
---|
295 |
|
---|
296 | # End /etc/xinetd.d/swat_tunnel</literal>
|
---|
297 | EOF</userinput></screen>
|
---|
298 |
|
---|
299 | <indexterm zone="samba3 samba3-swat-config">
|
---|
300 | <primary sortas="e-etc-xinetd.d-swat-tunnel">/etc/xinetd.d/swat_tunnel</primary>
|
---|
301 | </indexterm>
|
---|
302 |
|
---|
303 | <para>Issue a <command>killall -HUP xinetd</command> to reread the
|
---|
304 | changed <filename>xinetd.conf</filename> file.</para>
|
---|
305 |
|
---|
306 | <para>Next, you must add an entry for the swat service to the
|
---|
307 | <filename>/etc/stunnel/stunnel.conf</filename> file (as user
|
---|
308 | <systemitem class="username">root</systemitem>):</para>
|
---|
309 |
|
---|
310 | <indexterm zone="samba3 samba3-swat-config">
|
---|
311 | <primary sortas="e-etc-stunnel-stunnel.conf">/etc/stunnel/stunnel.conf</primary>
|
---|
312 | </indexterm>
|
---|
313 |
|
---|
314 | <screen role="root"><userinput>cat >> /etc/stunnel/stunnel.conf << "EOF"
|
---|
315 | <literal>[swat]
|
---|
316 | accept = 901
|
---|
317 | connect = 902</literal>
|
---|
318 |
|
---|
319 | EOF</userinput></screen>
|
---|
320 |
|
---|
321 | <para>Restart the <command>stunnel</command> daemon using the following
|
---|
322 | command as the <systemitem class="username">root</systemitem> user:</para>
|
---|
323 |
|
---|
324 | <screen role="root"><userinput>/etc/rc.d/init.d/stunnel restart</userinput></screen>
|
---|
325 |
|
---|
326 | <para>SWAT can be launched by pointing your web browser to
|
---|
327 | <uri>https://<replaceable>[CA_DN_field]</replaceable>:901</uri>.
|
---|
328 | Substitute the hostname listed in the DN field of the CA certificate
|
---|
329 | used with <application>Stunnel</application> for
|
---|
330 | <replaceable>[CA_DN_field]</replaceable>.</para>
|
---|
331 |
|
---|
332 | <note>
|
---|
333 | <para>If you linked <application>Linux-PAM</application> into the
|
---|
334 | <application>Samba</application> build, you'll need to create an
|
---|
335 | <filename>/etc/pam.d/samba</filename> file.</para>
|
---|
336 | </note>
|
---|
337 |
|
---|
338 | <indexterm zone="samba3 samba3-swat-config">
|
---|
339 | <primary sortas="e-etc-pam.d-samba">/etc/pam.d/samba</primary>
|
---|
340 | </indexterm>
|
---|
341 |
|
---|
342 | </sect3>
|
---|
343 |
|
---|
344 | <sect3>
|
---|
345 | <title>Printing to SMB Clients</title>
|
---|
346 |
|
---|
347 | <para>If you use <application>CUPS</application> for print services,
|
---|
348 | and you wish to print to a printer attached to an SMB client, you
|
---|
349 | need to create an SMB backend device. To create the device, issue the
|
---|
350 | following command as the <systemitem class="username">root</systemitem>
|
---|
351 | user:</para>
|
---|
352 |
|
---|
353 | <screen role="root"><userinput>ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</userinput></screen>
|
---|
354 |
|
---|
355 | </sect3>
|
---|
356 |
|
---|
357 | <sect3 id="samba3-init">
|
---|
358 | <title>Boot Script</title>
|
---|
359 |
|
---|
360 | <para>For your convenience, boot scripts have been provided for
|
---|
361 | <application>Samba</application>. There are two included in the
|
---|
362 | <xref linkend="intro-important-bootscripts"/> package. The first,
|
---|
363 | <filename>samba</filename>, will start the <command>smbd</command>
|
---|
364 | and <command>nmbd</command> daemons needed to provide SMB/CIFS
|
---|
365 | services. The second script, <filename>winbind</filename>, starts
|
---|
366 | the <command>winbindd</command> daemon, used for providing Windows
|
---|
367 | domain services to Linux clients.</para>
|
---|
368 |
|
---|
369 | <indexterm zone="samba3 samba3-init">
|
---|
370 | <primary sortas="f-samba">samba</primary>
|
---|
371 | </indexterm>
|
---|
372 |
|
---|
373 | <indexterm zone="samba3 samba3-init">
|
---|
374 | <primary sortas="f-winbind">winbind</primary>
|
---|
375 | </indexterm>
|
---|
376 |
|
---|
377 | <para>Install the <filename>samba</filename> script with the following
|
---|
378 | command issued as the <systemitem class="username">root</systemitem>
|
---|
379 | user:</para>
|
---|
380 |
|
---|
381 | <screen role="root"><userinput>make install-samba</userinput></screen>
|
---|
382 |
|
---|
383 | <para>If you also need the <filename>winbind</filename>
|
---|
384 | script:</para>
|
---|
385 |
|
---|
386 | <screen role="root"><userinput>make install-winbind</userinput></screen>
|
---|
387 |
|
---|
388 | </sect3>
|
---|
389 |
|
---|
390 | </sect2>
|
---|
391 |
|
---|
392 | <sect2 role="content">
|
---|
393 | <title>Contents</title>
|
---|
394 |
|
---|
395 | <segmentedlist>
|
---|
396 | <segtitle>Installed Programs</segtitle>
|
---|
397 | <segtitle>Installed Libraries</segtitle>
|
---|
398 | <segtitle>Installed Directories</segtitle>
|
---|
399 |
|
---|
400 | <seglistitem>
|
---|
401 | <seg>findsmb, mount.smbfs, net, nmbd, nmblookup, ntlm_auth, pdbedit,
|
---|
402 | profiles, rpcclient, smbcacls, smbclient, smbcontrol, smbcquotas, smbd,
|
---|
403 | smbmnt, smbmount, smbpasswd, smbspool, smbstatus, smbtar, smbtree,
|
---|
404 | smbumount, swat, tdbbackup, tdbdump, tdbtool, testparm, testprns,
|
---|
405 | wbinfo, and winbindd</seg>
|
---|
406 | <seg>libnss_winbind.so, libnss_wins.so, libsmbclient.so, the
|
---|
407 | pam_winbind.so PAM library and assorted character set,
|
---|
408 | filesystem and support modules.</seg>
|
---|
409 | <seg>/etc/samba, /usr/lib/samba, /usr/share/samba, /var/cache/samba,
|
---|
410 | and /var/lib/samba</seg>
|
---|
411 | </seglistitem>
|
---|
412 | </segmentedlist>
|
---|
413 |
|
---|
414 | <variablelist>
|
---|
415 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
416 | <?dbfo list-presentation="list"?>
|
---|
417 | <?dbhtml list-presentation="table"?>
|
---|
418 |
|
---|
419 | <varlistentry id="findsmb">
|
---|
420 | <term><command>findsmb</command></term>
|
---|
421 | <listitem>
|
---|
422 | <para>lists information about machines that respond to
|
---|
423 | SMB name queries on a subnet.</para>
|
---|
424 | <indexterm zone="samba3 findsmb">
|
---|
425 | <primary sortas="b-findsmb">findsmb</primary>
|
---|
426 | </indexterm>
|
---|
427 | </listitem>
|
---|
428 | </varlistentry>
|
---|
429 |
|
---|
430 | <varlistentry id="mount.smbfs">
|
---|
431 | <term><command>mount.smbfs</command></term>
|
---|
432 | <listitem>
|
---|
433 | <para>is a symlink to <command>mountsmb</command> which provides
|
---|
434 | <command>/bin/mount</command> with a way to mount remote Windows
|
---|
435 | (or <application>Samba</application>) fileshares.</para>
|
---|
436 | <indexterm zone="samba3 mount.smbfs">
|
---|
437 | <primary sortas="b-mount.smbfs">mount.smbfs</primary>
|
---|
438 | </indexterm>
|
---|
439 | </listitem>
|
---|
440 | </varlistentry>
|
---|
441 |
|
---|
442 | <varlistentry id="net">
|
---|
443 | <term><command>net</command></term>
|
---|
444 | <listitem>
|
---|
445 | <para>is a tool for administration of
|
---|
446 | <application>Samba</application> and remote CIFS servers, similar
|
---|
447 | to the <command>net</command> utility for DOS/Windows.</para>
|
---|
448 | <indexterm zone="samba3 net">
|
---|
449 | <primary sortas="b-net">net</primary>
|
---|
450 | </indexterm>
|
---|
451 | </listitem>
|
---|
452 | </varlistentry>
|
---|
453 |
|
---|
454 | <varlistentry id="nmbd">
|
---|
455 | <term><command>nmbd</command></term>
|
---|
456 | <listitem>
|
---|
457 | <para>is the <application>Samba</application>
|
---|
458 | NetBIOS name server.</para>
|
---|
459 | <indexterm zone="samba3 nmbd">
|
---|
460 | <primary sortas="b-nmbd">nmbd</primary>
|
---|
461 | </indexterm>
|
---|
462 | </listitem>
|
---|
463 | </varlistentry>
|
---|
464 |
|
---|
465 | <varlistentry id="nmblookup">
|
---|
466 | <term><command>nmblookup</command></term>
|
---|
467 | <listitem>
|
---|
468 | <para>is used to query NetBIOS names and map
|
---|
469 | them to IP addresses.</para>
|
---|
470 | <indexterm zone="samba3 nmblookup">
|
---|
471 | <primary sortas="b-nmblookup">nmblookup</primary>
|
---|
472 | </indexterm>
|
---|
473 | </listitem>
|
---|
474 | </varlistentry>
|
---|
475 |
|
---|
476 | <varlistentry id="ntlm_auth">
|
---|
477 | <term><command>ntlm_auth</command></term>
|
---|
478 | <listitem>
|
---|
479 | <para>is a tool to allow external access to Winbind's
|
---|
480 | NTLM authentication function.</para>
|
---|
481 | <indexterm zone="samba3 ntlm_auth">
|
---|
482 | <primary sortas="b-ntlm_auth">ntlm_auth</primary>
|
---|
483 | </indexterm>
|
---|
484 | </listitem>
|
---|
485 | </varlistentry>
|
---|
486 |
|
---|
487 | <varlistentry id="pdbedit">
|
---|
488 | <term><command>pdbedit</command></term>
|
---|
489 | <listitem>
|
---|
490 | <para>is a tool used to manage the SAM database.</para>
|
---|
491 | <indexterm zone="samba3 pdbedit">
|
---|
492 | <primary sortas="b-pdbedit">pdbedit</primary>
|
---|
493 | </indexterm>
|
---|
494 | </listitem>
|
---|
495 | </varlistentry>
|
---|
496 |
|
---|
497 | <varlistentry id="profiles">
|
---|
498 | <term><command>profiles</command></term>
|
---|
499 | <listitem>
|
---|
500 | <para>is a utility that reports and changes SIDs in Windows
|
---|
501 | registry files. It currently only supports Windows NT.</para>
|
---|
502 | <indexterm zone="samba3 profiles">
|
---|
503 | <primary sortas="b-profiles">profiles</primary>
|
---|
504 | </indexterm>
|
---|
505 | </listitem>
|
---|
506 | </varlistentry>
|
---|
507 |
|
---|
508 | <varlistentry id="rpcclient">
|
---|
509 | <term><command>rpcclient</command></term>
|
---|
510 | <listitem>
|
---|
511 | <para>is used to execute MS-RPC client side functions.</para>
|
---|
512 | <indexterm zone="samba3 rpcclient">
|
---|
513 | <primary sortas="b-rpcclient">rpcclient</primary>
|
---|
514 | </indexterm>
|
---|
515 | </listitem>
|
---|
516 | </varlistentry>
|
---|
517 |
|
---|
518 | <varlistentry id="smbcacls">
|
---|
519 | <term><command>smbcacls</command></term>
|
---|
520 | <listitem>
|
---|
521 | <para>is used to manipulate Windows NT access control lists.</para>
|
---|
522 | <indexterm zone="samba3 smbcacls">
|
---|
523 | <primary sortas="b-smbcacls">smbcacls</primary>
|
---|
524 | </indexterm>
|
---|
525 | </listitem>
|
---|
526 | </varlistentry>
|
---|
527 |
|
---|
528 | <varlistentry id="smbclient">
|
---|
529 | <term><command>smbclient</command></term>
|
---|
530 | <listitem>
|
---|
531 | <para>is a SMB/CIFS access utility, similar to FTP.</para>
|
---|
532 | <indexterm zone="samba3 smbclient">
|
---|
533 | <primary sortas="b-smbclient">smbclient</primary>
|
---|
534 | </indexterm>
|
---|
535 | </listitem>
|
---|
536 | </varlistentry>
|
---|
537 |
|
---|
538 | <varlistentry id="smbcontrol">
|
---|
539 | <term><command>smbcontrol</command></term>
|
---|
540 | <listitem>
|
---|
541 | <para>is used to control running <command>smbd</command>,
|
---|
542 | <command>nmbd</command> and <command>winbindd</command>
|
---|
543 | daemons.</para>
|
---|
544 | <indexterm zone="samba3 smbcontrol">
|
---|
545 | <primary sortas="b-smbcontrol">smbcontrol</primary>
|
---|
546 | </indexterm>
|
---|
547 | </listitem>
|
---|
548 | </varlistentry>
|
---|
549 |
|
---|
550 | <varlistentry id="smbcquotas">
|
---|
551 | <term><command>smbcquotas</command></term>
|
---|
552 | <listitem>
|
---|
553 | <para>is used to manipulate Windows NT quotas on
|
---|
554 | SMB file shares.</para>
|
---|
555 | <indexterm zone="samba3 smbcquotas">
|
---|
556 | <primary sortas="b-smbcquotas">smbcquotas</primary>
|
---|
557 | </indexterm>
|
---|
558 | </listitem>
|
---|
559 | </varlistentry>
|
---|
560 |
|
---|
561 | <varlistentry id="smbd">
|
---|
562 | <term><command>smbd</command></term>
|
---|
563 | <listitem>
|
---|
564 | <para>is the main <application>Samba</application> daemon which
|
---|
565 | provides SMB/CIFS services to clients.</para>
|
---|
566 | <indexterm zone="samba3 smbd">
|
---|
567 | <primary sortas="b-smbd">smbd</primary>
|
---|
568 | </indexterm>
|
---|
569 | </listitem>
|
---|
570 | </varlistentry>
|
---|
571 |
|
---|
572 | <varlistentry id="smbmnt">
|
---|
573 | <term><command>smbmnt</command></term>
|
---|
574 | <listitem>
|
---|
575 | <para>is a helper application used by the
|
---|
576 | <command>smbmount</command> program to do the actual mounting of
|
---|
577 | SMB shares. It can be installed setuid root if you want
|
---|
578 | normal users to be able to mount their SMB shares.</para>
|
---|
579 | <indexterm zone="samba3 smbmnt">
|
---|
580 | <primary sortas="b-smbmnt">smbmnt</primary>
|
---|
581 | </indexterm>
|
---|
582 | </listitem>
|
---|
583 | </varlistentry>
|
---|
584 |
|
---|
585 | <varlistentry id="smbmount">
|
---|
586 | <term><command>smbmount</command></term>
|
---|
587 | <listitem>
|
---|
588 | <para>is usually invoked as <command>mount.smbfs</command> by the
|
---|
589 | <command>mount</command> command when using the
|
---|
590 | <parameter>-t smbfs</parameter> option, mounts a Linux SMB
|
---|
591 | filesystem.</para>
|
---|
592 | <indexterm zone="samba3 smbmount">
|
---|
593 | <primary sortas="b-smbmount">smbmount</primary>
|
---|
594 | </indexterm>
|
---|
595 | </listitem>
|
---|
596 | </varlistentry>
|
---|
597 |
|
---|
598 | <varlistentry id="smbpasswd">
|
---|
599 | <term><command>smbpasswd</command></term>
|
---|
600 | <listitem>
|
---|
601 | <para>changes a user's <application>Samba</application>
|
---|
602 | password.</para>
|
---|
603 | <indexterm zone="samba3 smbpasswd">
|
---|
604 | <primary sortas="b-smbpasswd">smbpasswd</primary>
|
---|
605 | </indexterm>
|
---|
606 | </listitem>
|
---|
607 | </varlistentry>
|
---|
608 |
|
---|
609 | <varlistentry id="smbspool">
|
---|
610 | <term><command>smbspool</command></term>
|
---|
611 | <listitem>
|
---|
612 | <para>sends a print job to an SMB printer.</para>
|
---|
613 | <indexterm zone="samba3 smbspool">
|
---|
614 | <primary sortas="b-smbspool">smbspool</primary>
|
---|
615 | </indexterm>
|
---|
616 | </listitem>
|
---|
617 | </varlistentry>
|
---|
618 |
|
---|
619 | <varlistentry id="smbstatus">
|
---|
620 | <term><command>smbstatus</command></term>
|
---|
621 | <listitem>
|
---|
622 | <para>reports current <application>Samba</application>
|
---|
623 | connections.</para>
|
---|
624 | <indexterm zone="samba3 smbstatus">
|
---|
625 | <primary sortas="b-smbstatus">smbstatus</primary>
|
---|
626 | </indexterm>
|
---|
627 | </listitem>
|
---|
628 | </varlistentry>
|
---|
629 |
|
---|
630 | <varlistentry id="smbtar">
|
---|
631 | <term><command>smbtar</command></term>
|
---|
632 | <listitem>
|
---|
633 | <para>is a shell script used for backing up SMB/CIFS shares
|
---|
634 | directly to Linux tape drives or a file.</para>
|
---|
635 | <indexterm zone="samba3 smbtar">
|
---|
636 | <primary sortas="b-smbtar">smbtar</primary>
|
---|
637 | </indexterm>
|
---|
638 | </listitem>
|
---|
639 | </varlistentry>
|
---|
640 |
|
---|
641 | <varlistentry id="smbtree">
|
---|
642 | <term><command>smbtree</command></term>
|
---|
643 | <listitem>
|
---|
644 | <para>is a text-based SMB network browser.</para>
|
---|
645 | <indexterm zone="samba3 smbtree">
|
---|
646 | <primary sortas="b-smbtree">smbtree</primary>
|
---|
647 | </indexterm>
|
---|
648 | </listitem>
|
---|
649 | </varlistentry>
|
---|
650 |
|
---|
651 | <varlistentry id="smbumount">
|
---|
652 | <term><command>smbumount</command></term>
|
---|
653 | <listitem>
|
---|
654 | <para>is used by normal users to unmount SMB filesystems,
|
---|
655 | provided that it is setuid root.</para>
|
---|
656 | <indexterm zone="samba3 smbumount">
|
---|
657 | <primary sortas="b-smbumount">smbumount</primary>
|
---|
658 | </indexterm>
|
---|
659 | </listitem>
|
---|
660 | </varlistentry>
|
---|
661 |
|
---|
662 | <varlistentry id="swat">
|
---|
663 | <term><command>swat</command></term>
|
---|
664 | <listitem>
|
---|
665 | <para>is the <application>Samba</application> Web Administration
|
---|
666 | Tool.</para>
|
---|
667 | <indexterm zone="samba3 swat">
|
---|
668 | <primary sortas="b-swat">swat</primary>
|
---|
669 | </indexterm>
|
---|
670 | </listitem>
|
---|
671 | </varlistentry>
|
---|
672 |
|
---|
673 | <varlistentry id="tdbbackup">
|
---|
674 | <term><command>tdbbackup</command></term>
|
---|
675 | <listitem>
|
---|
676 | <para>is a tool for backing up or validating the integrity of
|
---|
677 | <application>Samba</application> <filename>.tdb</filename>
|
---|
678 | files.</para>
|
---|
679 | <indexterm zone="samba3 tdbbackup">
|
---|
680 | <primary sortas="b-tdbbackup">tdbbackup</primary>
|
---|
681 | </indexterm>
|
---|
682 | </listitem>
|
---|
683 | </varlistentry>
|
---|
684 |
|
---|
685 | <varlistentry id="tdbdump">
|
---|
686 | <term><command>tdbdump</command></term>
|
---|
687 | <listitem>
|
---|
688 | <para> is a tool used to print the contents of a
|
---|
689 | <application>Samba</application> <filename>.tdb</filename>
|
---|
690 | file.</para>
|
---|
691 | <indexterm zone="samba3 tdbdump">
|
---|
692 | <primary sortas="b-tdbdump">tdbdump</primary>
|
---|
693 | </indexterm>
|
---|
694 | </listitem>
|
---|
695 | </varlistentry>
|
---|
696 |
|
---|
697 | <varlistentry id="tdbtool">
|
---|
698 | <term><command>tdbtool</command></term>
|
---|
699 | <listitem>
|
---|
700 | <para>is a tool which allows simple database manipulation from the
|
---|
701 | command line.</para>
|
---|
702 | <indexterm zone="samba3 tdbtool">
|
---|
703 | <primary sortas="b-tdbtool">tdbtool</primary>
|
---|
704 | </indexterm>
|
---|
705 | </listitem>
|
---|
706 | </varlistentry>
|
---|
707 |
|
---|
708 | <varlistentry id="testparm">
|
---|
709 | <term><command>testparm</command></term>
|
---|
710 | <listitem>
|
---|
711 | <para>checks an <filename>smb.conf</filename> file for proper
|
---|
712 | syntax.</para>
|
---|
713 | <indexterm zone="samba3 testparm">
|
---|
714 | <primary sortas="b-testparm">testparm</primary>
|
---|
715 | </indexterm>
|
---|
716 | </listitem>
|
---|
717 | </varlistentry>
|
---|
718 |
|
---|
719 | <varlistentry id="testprns">
|
---|
720 | <term><command>testprns</command></term>
|
---|
721 | <listitem>
|
---|
722 | <para>tests printer names.</para>
|
---|
723 | <indexterm zone="samba3 testprns">
|
---|
724 | <primary sortas="b-testprns">testprns</primary>
|
---|
725 | </indexterm>
|
---|
726 | </listitem>
|
---|
727 | </varlistentry>
|
---|
728 |
|
---|
729 | <varlistentry id="wbinfo">
|
---|
730 | <term><command>wbinfo</command></term>
|
---|
731 | <listitem>
|
---|
732 | <para>queries a running <command>winbindd</command> daemon.</para>
|
---|
733 | <indexterm zone="samba3 wbinfo">
|
---|
734 | <primary sortas="b-wbinfo">wbinfo</primary>
|
---|
735 | </indexterm>
|
---|
736 | </listitem>
|
---|
737 | </varlistentry>
|
---|
738 |
|
---|
739 | <varlistentry id="winbindd">
|
---|
740 | <term><command>winbindd</command></term>
|
---|
741 | <listitem>
|
---|
742 | <para>resolves names from Windows NT servers.</para>
|
---|
743 | <indexterm zone="samba3 winbindd">
|
---|
744 | <primary sortas="b-winbindd">winbindd</primary>
|
---|
745 | </indexterm>
|
---|
746 | </listitem>
|
---|
747 | </varlistentry>
|
---|
748 |
|
---|
749 | </variablelist>
|
---|
750 |
|
---|
751 | </sect2>
|
---|
752 |
|
---|
753 | </sect1>
|
---|