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