[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">
|
---|
[2bfe939] | 9 | <!ENTITY samba3-size "15.0 MB">
|
---|
| 10 | <!ENTITY samba3-buildsize "136 MB">
|
---|
| 11 | <!ENTITY samba3-time "2.04 SBU">
|
---|
[0931098] | 12 | ]>
|
---|
| 13 |
|
---|
[736ede9] | 14 | <sect1 id="samba3" xreflabel="Samba-&samba3-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[736ede9] | 19 | <?dbhtml filename="samba3.html"?>
|
---|
| 20 | <title>Samba-&samba3-version;</title>
|
---|
| 21 |
|
---|
[0931098] | 22 | <sect2>
|
---|
| 23 | <title>Introduction to <application>Samba</application></title>
|
---|
| 24 |
|
---|
| 25 | <para>The <application>Samba</application> package provides file and print
|
---|
| 26 | services to <acronym>SMB</acronym>/<acronym>CIFS</acronym> clients and
|
---|
[2bfe939] | 27 | Windows networking to Linux clients. <application>Samba</application> can also
|
---|
| 28 | be configured as a Windows NT 4.0 Domain Controller replacement
|
---|
| 29 | (with caveats working with NT <acronym>PDC</acronym>'s and
|
---|
| 30 | <acronym>BDC</acronym>'s), a file/print server acting as a member of a
|
---|
| 31 | Windows NT 4.0 or Active Directory domain and a NetBIOS (rfc1001/1002)
|
---|
| 32 | nameserver (which amongst other things provides
|
---|
| 33 | <acronym>LAN</acronym> browsing support).</para>
|
---|
[0931098] | 34 |
|
---|
| 35 | <sect3><title>Package information</title>
|
---|
| 36 | <itemizedlist spacing='compact'>
|
---|
| 37 | <listitem><para>Download (HTTP): <ulink url="&samba3-download-http;"/></para></listitem>
|
---|
| 38 | <listitem><para>Download (FTP): <ulink url="&samba3-download-ftp;"/></para></listitem>
|
---|
| 39 | <listitem><para>Download size: &samba3-size;</para></listitem>
|
---|
[2bfe939] | 40 | <listitem><para>Estimated disk space required: &samba3-buildsize;</para></listitem>
|
---|
[0931098] | 41 | <listitem><para>Estimated build time: &samba3-time;</para></listitem></itemizedlist>
|
---|
| 42 | </sect3>
|
---|
| 43 |
|
---|
[2bfe939] | 44 | <!-- <sect3><title>Additional downloads</title>
|
---|
[0931098] | 45 | <itemizedlist spacing='compact'>
|
---|
[07b157f4] | 46 | <listitem><para>Maintainer Recommended Patch: <ulink
|
---|
| 47 | url="&patch-root;/samba-&samba3-version;-maintainer-1.patch"/></para></listitem>
|
---|
[0931098] | 48 | </itemizedlist>
|
---|
[2bfe939] | 49 | </sect3> -->
|
---|
[0931098] | 50 |
|
---|
| 51 | <sect3>
|
---|
| 52 | <title><application>Samba</application> dependencies</title>
|
---|
| 53 | <sect4>
|
---|
| 54 | <title>Optional</title>
|
---|
[2bfe939] | 55 | <para><xref linkend="popt"/>,
|
---|
[0931098] | 56 | <xref linkend="Linux_PAM"/>,
|
---|
| 57 | <xref linkend="openldap"/>,
|
---|
| 58 | <xref linkend="cups"/>,
|
---|
| 59 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
|
---|
| 60 | <xref linkend="libxml2"/>,
|
---|
| 61 | <xref linkend="mysql"/> or <xref linkend="postgresql"/>,
|
---|
[2bfe939] | 62 | <xref linkend="Python"/>,
|
---|
| 63 | <xref linkend="xinetd"/>,
|
---|
| 64 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink> and
|
---|
| 65 | <xref linkend="stunnel"/> (used to encrypt access to SWAT)</para>
|
---|
[0931098] | 66 | </sect4>
|
---|
| 67 | </sect3>
|
---|
| 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2>
|
---|
| 72 | <title>Installation of <application>Samba</application></title>
|
---|
| 73 |
|
---|
| 74 | <para>Install <application>Samba</application> by running the following
|
---|
| 75 | commands:</para>
|
---|
| 76 |
|
---|
[2bfe939] | 77 | <screen><userinput><command>cd source &&
|
---|
[0931098] | 78 | install -d /var/cache/samba &&
|
---|
| 79 | ./configure \
|
---|
| 80 | --prefix=/usr \
|
---|
| 81 | --sysconfdir=/etc \
|
---|
| 82 | --localstatedir=/var \
|
---|
| 83 | --with-piddir=/var/run \
|
---|
| 84 | --with-fhs \
|
---|
| 85 | --with-smbmount &&
|
---|
| 86 | make &&
|
---|
| 87 | make install &&
|
---|
[2bfe939] | 88 | chmod 644 /usr/include/libsmbclient.h &&
|
---|
[0931098] | 89 | install -m755 nsswitch/libnss_win{s,bind}.so /lib &&
|
---|
| 90 | ln -sf libnss_winbind.so /lib/libnss_winbind.so.2 &&
|
---|
| 91 | ln -sf libnss_wins.so /lib/libnss_wins.so.2 &&
|
---|
[2bfe939] | 92 | cp ../examples/smb.conf.default /etc/samba &&
|
---|
| 93 | install -m644 ../docs/*.pdf /usr/share/samba
|
---|
| 94 | if [ -f nsswitch/pam_winbind.so ]; then
|
---|
| 95 | install -m755 nsswitch/pam_winbind.so /lib/security
|
---|
| 96 | fi</command></userinput></screen>
|
---|
[0931098] | 97 |
|
---|
| 98 | <note><para>You may want to run <command>configure</command> with the
|
---|
| 99 | <parameter>--help</parameter> parameter. There may be other parameters
|
---|
| 100 | needed to take advantage of the optional dependencies.</para></note>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2>
|
---|
[2bfe939] | 105 | <title>Command explanations</title>
|
---|
[0931098] | 106 |
|
---|
| 107 | <para><command>install -d /var/cache/samba</command>: This directory is
|
---|
| 108 | needed for proper operation of the <command>smbd</command> and
|
---|
| 109 | <command>nmbd</command> daemons.</para>
|
---|
| 110 |
|
---|
| 111 | <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
|
---|
[2bfe939] | 112 | file directory to avoid the default of
|
---|
| 113 | <filename class="directory">/usr/etc</filename>.</para>
|
---|
[0931098] | 114 |
|
---|
| 115 | <para><parameter>--localstatedir=/var</parameter>: Sets the variable
|
---|
[2bfe939] | 116 | data directory to avoid the default of
|
---|
| 117 | <filename class="directory">/usr/var</filename>.</para>
|
---|
[0931098] | 118 |
|
---|
| 119 | <para><option>--with-fhs</option>: Assigns all other file paths in a manner
|
---|
| 120 | compliant with the Filesystem Hierarchy Standard
|
---|
| 121 | (<acronym>FHS</acronym>).</para>
|
---|
| 122 |
|
---|
| 123 | <para><option>--with-smbmount</option>: Orders the creation of an extra
|
---|
| 124 | binary for use by the <command>mount</command> command so that mounting remote
|
---|
| 125 | <acronym>SMB</acronym> (Windows) shares becomes no more complex than mounting
|
---|
| 126 | remote <acronym>NFS</acronym> shares.</para>
|
---|
| 127 |
|
---|
[2bfe939] | 128 | <para><option>--with-pam</option>: Use this parameter to link
|
---|
| 129 | <application>Linux-<acronym>PAM</acronym></application> into the build. This
|
---|
| 130 | also builds the <filename class='libraryfile'>pam_winbind.so</filename>
|
---|
| 131 | <application><acronym>PAM</acronym></application> module. You can find
|
---|
| 132 | instructions on how to configure and use the module by running
|
---|
| 133 | <command>man winbindd</command>.</para>
|
---|
| 134 |
|
---|
[0931098] | 135 | <para><command>install -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
|
---|
| 136 | The nss libraries are not installed by default. If you intend to use
|
---|
| 137 | winbindd for domain auth, and/or <acronym>WINS</acronym> name resolution,
|
---|
| 138 | you need these libraries.</para>
|
---|
| 139 |
|
---|
| 140 | <para><command>ln -sf libnss_winbind.so /lib/libnss_winbind.so.2</command>
|
---|
| 141 | and <command>ln -sf libnss_wins.so /lib/libnss_wins.so.2</command>:
|
---|
| 142 | These symlinks are required by glibc to use the nss libraries.</para>
|
---|
| 143 |
|
---|
| 144 | <para><command>cp ../examples/smb.conf.default /etc/samba</command>:
|
---|
| 145 | This copies a default <filename>smb.conf </filename>into
|
---|
| 146 | <filename>/etc/samba</filename>. This sample configuration will not
|
---|
| 147 | work unless edited for your site, and renamed
|
---|
| 148 | <filename>smb.conf</filename>.</para>
|
---|
| 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | <sect2>
|
---|
| 153 | <title>Configuring <application>Samba</application></title>
|
---|
| 154 |
|
---|
[2bfe939] | 155 | <sect3><title>Configuration overview and available documentation</title>
|
---|
| 156 |
|
---|
| 157 | <para>Due to the complexity and the many various uses for
|
---|
| 158 | <application>Samba</application>, complete configuration is well beyond the
|
---|
| 159 | scope of the BLFS book. Advanced configurations including setting up Primary
|
---|
| 160 | and Backup Domain Controllers are advanced topics and cannot be adequately
|
---|
| 161 | covered in BLFS (it should be noted, however, that a
|
---|
| 162 | <application>Samba</application> BDC cannot be used as a fallback for a
|
---|
| 163 | <application>Windows</application> <acronym>PDC</acronym>, and conversely, a
|
---|
| 164 | <application>Windows</application> <acronym>BDC</acronym> cannot be used as a
|
---|
| 165 | fallback for a <application>Samba</application> <acronym>PDC</acronym>). Many
|
---|
| 166 | complete books have been written on these topics alone.</para>
|
---|
| 167 |
|
---|
| 168 | <para>There is quite a bit of documentation available which covers many of
|
---|
| 169 | these advanced configurations. Point your web browser to the links below to
|
---|
| 170 | view some of the documentation included with the
|
---|
| 171 | <application>Samba</application> package:</para>
|
---|
| 172 |
|
---|
| 173 | <itemizedlist spacing='compact'>
|
---|
| 174 | <listitem><para>Using Samba, 2nd Edition; a popular book published by O'Reilly
|
---|
| 175 | <ulink url="file:///usr/share/samba/swat/using_samba/toc.html"/></para>
|
---|
| 176 | </listitem>
|
---|
| 177 |
|
---|
| 178 | <listitem><para>The Official Samba HOWTO and Reference Guide
|
---|
| 179 | <ulink url="file:///usr/share/samba/swat/help/Samba-HOWTO-Collection/index.html"/></para>
|
---|
| 180 | </listitem>
|
---|
| 181 |
|
---|
| 182 | <listitem><para>Samba-3 by Example
|
---|
| 183 | <ulink url="file:///usr/share/samba/swat/help/Samba-Guide/index.html"/></para>
|
---|
| 184 | </listitem>
|
---|
| 185 |
|
---|
| 186 | <listitem><para>The Samba-3 man Pages
|
---|
| 187 | <ulink url="file:///usr/share/samba/swat/help/samba.7.html"/></para>
|
---|
| 188 | </listitem>
|
---|
| 189 | </itemizedlist>
|
---|
| 190 | </sect3>
|
---|
| 191 |
|
---|
| 192 | <sect3><title>Configuring SWAT</title>
|
---|
| 193 |
|
---|
| 194 | <para>The built in <acronym>SWAT</acronym>
|
---|
| 195 | (<application>Samba</application> Web Administration Tool) utility can be used
|
---|
| 196 | for basic configuration of the <application>Samba</application> installation,
|
---|
| 197 | but because it may be inconvenient, undesireable or perhaps even impossible
|
---|
| 198 | to gain access to the console, BLFS recommends setting up access to
|
---|
| 199 | <acronym>SWAT</acronym> using <application>Stunnel</application>.</para>
|
---|
| 200 |
|
---|
| 201 | <para>First you must add entries to <filename>/etc/services</filename> and
|
---|
| 202 | modify the <command>inetd</command>/<command>xinetd</command>
|
---|
[0931098] | 203 | configuration.</para>
|
---|
| 204 |
|
---|
[2bfe939] | 205 | <para>Add swat and swat_tunnel entries to
|
---|
| 206 | <filename>/etc/services</filename> with the following commands:</para>
|
---|
[0931098] | 207 |
|
---|
[2bfe939] | 208 | <screen><userinput><command>echo "swat 901/tcp" >> /etc/services &&
|
---|
| 209 | echo "swat_tunnel 902/tcp" >> /etc/services</command></userinput></screen>
|
---|
[0931098] | 210 |
|
---|
| 211 | <para>If <command>inetd</command> is used, the following command will add the
|
---|
[2bfe939] | 212 | swat_tunnel entry to <filename>/etc/inetd.conf</filename>: </para>
|
---|
[0931098] | 213 |
|
---|
[2bfe939] | 214 | <screen><userinput><command>echo "swat_tunnel stream tcp nowait.400 root /usr/sbin/swat swat" \
|
---|
[0931098] | 215 | >> /etc/inetd.conf</command></userinput></screen>
|
---|
| 216 | <para>Issue a <command>killall -HUP inetd</command> to reread the
|
---|
| 217 | changed <filename>inetd.conf</filename> file.</para>
|
---|
| 218 |
|
---|
| 219 | <para>If <command>xinetd</command> is used, the following command will
|
---|
[2bfe939] | 220 | add the swat_tunnel entry to <filename>/etc/xinetd.conf</filename> (you may
|
---|
| 221 | need to modify or remove the <quote>only_from</quote> line to include the
|
---|
| 222 | desired host[s]):</para>
|
---|
[0931098] | 223 |
|
---|
| 224 | <screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command>
|
---|
[2bfe939] | 225 | service swat_tunnel
|
---|
[0931098] | 226 | {
|
---|
[2bfe939] | 227 | port = 902
|
---|
[0931098] | 228 | socket_type = stream
|
---|
| 229 | wait = no
|
---|
| 230 | only_from = 127.0.0.1
|
---|
| 231 | user = root
|
---|
| 232 | server = /usr/sbin/swat
|
---|
| 233 | log_on_failure += USERID
|
---|
| 234 | }
|
---|
| 235 | <command>EOF</command></userinput></screen>
|
---|
| 236 |
|
---|
| 237 | <para>Issue a <command>killall -HUP xinetd</command> to reread the
|
---|
| 238 | changed <filename>xinetd.conf</filename> file.</para>
|
---|
| 239 |
|
---|
[2bfe939] | 240 | <para>Next, you must add an entry for the swat service to the
|
---|
| 241 | <filename>/etc/stunnel/stunnel.conf</filename> file:</para>
|
---|
| 242 |
|
---|
| 243 | <screen><userinput><command>cat >> /etc/stunnel/stunnel.conf << "EOF"</command>
|
---|
| 244 | [swat]
|
---|
| 245 | accept = 901
|
---|
| 246 | connect = 902
|
---|
| 247 |
|
---|
| 248 | <command>EOF</command></userinput></screen>
|
---|
| 249 |
|
---|
| 250 | <para>Restart the <command>stunnel</command> daemon using the following
|
---|
| 251 | command:</para>
|
---|
| 252 |
|
---|
| 253 | <screen><userinput><command>/etc/rc.d/init.d/stunnel restart</command></userinput></screen>
|
---|
| 254 |
|
---|
| 255 | <para><acronym>SWAT</acronym> can be launched by pointing your web browser to
|
---|
| 256 | <userinput>https://<replaceable>[CA_DN_field]</replaceable>:901</userinput>.
|
---|
| 257 | Substitute the hostname listed in the <acronym>DN</acronym> field of the
|
---|
| 258 | <acronym>CA</acronym> certificate used with
|
---|
| 259 | <application>Stunnel</application> for
|
---|
| 260 | <replaceable>[CA_DN_field]</replaceable>.</para>
|
---|
| 261 |
|
---|
| 262 | <note><para>If you linked
|
---|
| 263 | <application>Linux-<acronym>PAM</acronym></application> into the
|
---|
| 264 | <application>Samba</application> build, you'll need to create an
|
---|
| 265 | <filename>/etc/pam.d/samba</filename> file.</para></note>
|
---|
| 266 | </sect3>
|
---|
| 267 |
|
---|
| 268 | <sect3><title>Printing to <acronym>SMB</acronym> clients</title>
|
---|
| 269 |
|
---|
| 270 | <para>If you use <application><acronym>CUPS</acronym></application> for print
|
---|
| 271 | services, and you wish to print to a printer attached to an
|
---|
| 272 | <acronym>SMB</acronym> client, you need to create an <acronym>SMB</acronym>
|
---|
| 273 | backend device. To create the device, issue the following command:</para>
|
---|
| 274 |
|
---|
| 275 | <screen><userinput><command>ln -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</command></userinput></screen>
|
---|
| 276 | </sect3>
|
---|
| 277 |
|
---|
| 278 | <sect3><title>Installing bootscripts</title>
|
---|
[0931098] | 279 |
|
---|
| 280 | <para>For your convenience, boot scripts have been provided for
|
---|
| 281 | <application>Samba</application>. There are two included in the
|
---|
| 282 | <xref linkend="intro-important-bootscripts"/> package. The first,
|
---|
| 283 | <filename>samba</filename>, will start the <command>smbd</command> and
|
---|
| 284 | <command>nmbd</command> daemons needed to provide
|
---|
| 285 | <acronym>SMB</acronym>/<acronym>CIFS</acronym> services. The second
|
---|
| 286 | script, <filename>winbind</filename>, starts the <command>winbindd</command>
|
---|
| 287 | daemon, used for providing Windows domain services to Linux clients.</para>
|
---|
| 288 |
|
---|
| 289 | <para>Install the <filename>samba</filename> script with the following
|
---|
| 290 | command:</para>
|
---|
| 291 |
|
---|
| 292 | <screen><userinput><command>make install-samba</command></userinput></screen>
|
---|
| 293 |
|
---|
| 294 | <para>If you also need the <filename>winbind</filename> script:</para>
|
---|
| 295 |
|
---|
| 296 | <screen><userinput><command>make install-winbind</command></userinput></screen>
|
---|
[2bfe939] | 297 | </sect3>
|
---|
[0931098] | 298 |
|
---|
| 299 | </sect2>
|
---|
| 300 |
|
---|
| 301 | <sect2>
|
---|
| 302 | <title>Contents</title>
|
---|
| 303 |
|
---|
| 304 | <para>The <application>Samba</application> package contains
|
---|
[2bfe939] | 305 | <command>findsmb</command>,
|
---|
[0931098] | 306 | <command>make_smbcodepage</command>,
|
---|
| 307 | <command>make_unicodemap</command>,
|
---|
| 308 | <command>mount.smbfs</command>,
|
---|
| 309 | <command>net</command>,
|
---|
| 310 | <command>nmbd</command>,
|
---|
| 311 | <command>nmblookup</command>,
|
---|
[2bfe939] | 312 | <command>ntlm_auth</command>,
|
---|
| 313 | <command>pdbedit</command>,
|
---|
| 314 | <command>profiles</command>,
|
---|
[0931098] | 315 | <command>rpcclient</command>,
|
---|
| 316 | <command>smbcacls</command>,
|
---|
| 317 | <command>smbclient</command>,
|
---|
| 318 | <command>smbcontrol</command>,
|
---|
[2bfe939] | 319 | <command>smbcquotas</command>,
|
---|
[0931098] | 320 | <command>smbd</command>,
|
---|
[2bfe939] | 321 | <command>smbmnt</command>,
|
---|
| 322 | <command>smbmount</command>,
|
---|
[0931098] | 323 | <command>smbpasswd</command>,
|
---|
| 324 | <command>smbspool</command>,
|
---|
| 325 | <command>smbstatus</command>,
|
---|
[2bfe939] | 326 | <command>smbtar</command>,
|
---|
| 327 | <command>smbtree</command>,
|
---|
| 328 | <command>smbumount</command>,
|
---|
[0931098] | 329 | <command>swat</command>,
|
---|
[2bfe939] | 330 | <command>tdbbackup</command>,
|
---|
| 331 | <command>tdbdump</command>,
|
---|
[0931098] | 332 | <command>testparm</command>,
|
---|
| 333 | <command>testprns</command>,
|
---|
| 334 | <command>wbinfo</command> and
|
---|
[2bfe939] | 335 | <command>winbindd</command>.</para>
|
---|
| 336 |
|
---|
| 337 | </sect2>
|
---|
[0931098] | 338 |
|
---|
| 339 | <sect2>
|
---|
| 340 | <title>Description</title>
|
---|
[2bfe939] | 341 | <sect3><title>findsmb</title>
|
---|
| 342 | <para><command>findsmb</command> lists information about machines that respond
|
---|
| 343 | to <acronym>SMB</acronym> name queries on a subnet.</para></sect3>
|
---|
[0931098] | 344 | <sect3><title>make_smbcodepage</title>
|
---|
| 345 | <para><command>make_smbcodepage</command> converts text descriptions of code
|
---|
| 346 | pages to binary code page files and vice versa.</para></sect3>
|
---|
| 347 | <sect3><title>make_unicodemap</title>
|
---|
| 348 | <para><command>make_unicodemap</command> converts text Unicode map files to
|
---|
| 349 | binary, for use in mapping characters to 16 bit Unicode.</para></sect3>
|
---|
| 350 | <sect3><title>mount.smbfs</title>
|
---|
| 351 | <para><command>mount.smbfs</command> provides <command>/bin/mount</command>
|
---|
[2bfe939] | 352 | with a way to mount remote Windows (or
|
---|
| 353 | <application>Samba</application>) fileshares.</para></sect3>
|
---|
[0931098] | 354 | <sect3><title>net</title>
|
---|
[2bfe939] | 355 | <para><command>net</command> is a tool for administration of
|
---|
| 356 | <application>Samba</application> and remote <acronym>CIFS</acronym> servers,
|
---|
| 357 | similar to the net utility for <acronym>DOS</acronym>/Windows.</para></sect3>
|
---|
[0931098] | 358 | <sect3><title>nmbd</title>
|
---|
[2bfe939] | 359 | <para><command>nmbd</command> is the <application>Samba</application>
|
---|
| 360 | Net<acronym>BIOS</acronym> name server.</para></sect3>
|
---|
[0931098] | 361 | <sect3><title>nmblookup</title>
|
---|
| 362 | <para><command>nmblookup</command> is used to query
|
---|
| 363 | Net<acronym>BIOS</acronym> names and map them to <acronym>IP</acronym>
|
---|
| 364 | addresses.</para></sect3>
|
---|
[2bfe939] | 365 | <sect3><title>ntlm_auth</title>
|
---|
| 366 | <para><command>ntlm_auth</command> is a tool to allow external access to
|
---|
| 367 | Winbind's <acronym>NTLM</acronym> authentication function.</para></sect3>
|
---|
| 368 | <sect3><title>pdbedit</title>
|
---|
| 369 | <para><command>pdbedit</command> is a tool used to manage the
|
---|
| 370 | <acronym>SAM</acronym> database.</para></sect3>
|
---|
| 371 | <sect3><title>profiles</title>
|
---|
| 372 | <para><command>profiles</command> is a utility that reports and changes
|
---|
| 373 | <acronym>SID</acronym>s in Windows registry files. It currently only supports
|
---|
| 374 | NT.</para></sect3>
|
---|
[0931098] | 375 | <sect3><title>rpcclient</title>
|
---|
| 376 | <para><command>rpcclient</command> is used to execute
|
---|
| 377 | MS-<acronym>RPC</acronym> client side functions.</para></sect3>
|
---|
| 378 | <sect3><title>smbcacls</title>
|
---|
| 379 | <para><command>smbcacls</command> is used to manipulate NT access control
|
---|
| 380 | lists.</para></sect3>
|
---|
| 381 | <sect3><title>smbclient</title>
|
---|
| 382 | <para><command>smbclient</command> is a <acronym>SMB</acronym>/<acronym>CIFS
|
---|
| 383 | </acronym> access utility, similar to <acronym>FTP</acronym>.</para></sect3>
|
---|
| 384 | <sect3><title>smbcontrol</title>
|
---|
[2bfe939] | 385 | <para><command>smbcontrol</command> is used to control running
|
---|
| 386 | <command>smbd</command>, <command>nmbd</command> and
|
---|
| 387 | <command>winbindd</command> daemons.</para></sect3>
|
---|
| 388 | <sect3><title>smbcquotas</title>
|
---|
| 389 | <para><command>smbcquotas</command> is used to manipulate NT quotas on
|
---|
| 390 | <acronym>SMB</acronym> file shares.</para></sect3>
|
---|
[0931098] | 391 | <sect3><title>smbd</title>
|
---|
| 392 | <para><command>smbd</command> is the main
|
---|
| 393 | <application>Samba</application> daemon.</para></sect3>
|
---|
[2bfe939] | 394 | <sect3><title>smbmnt</title>
|
---|
| 395 | <para><command>smbmnt</command> is a helper application used by the
|
---|
| 396 | <command>smbmount</command> program to do the actual mounting of
|
---|
| 397 | <acronym>SMB</acronym> shares. It can be installed setuid root if you want
|
---|
| 398 | normal users to be able to mount their <acronym>SMB</acronym>
|
---|
| 399 | shares.</para></sect3>
|
---|
| 400 | <sect3><title>smbmount</title>
|
---|
| 401 | <para><command>smbmount</command>, usually invoked as
|
---|
| 402 | <command>mount.smbfs</command> by the <command>mount</command> command when
|
---|
| 403 | using the <quote>-t smbfs</quote> option, mounts a Linux <acronym>SMB</acronym>
|
---|
| 404 | filesystem.</para></sect3>
|
---|
[0931098] | 405 | <sect3><title>smbpasswd</title>
|
---|
[2bfe939] | 406 | <para><command>smbpasswd</command> changes a user's
|
---|
| 407 | <application>Samba</application> password.</para></sect3>
|
---|
[0931098] | 408 | <sect3><title>smbspool</title>
|
---|
[2bfe939] | 409 | <para><command>smbspool</command> sends a print job to an
|
---|
| 410 | <acronym>SMB</acronym> printer.</para></sect3>
|
---|
[0931098] | 411 | <sect3><title>smbstatus</title>
|
---|
| 412 | <para><command>smbstatus</command> reports current
|
---|
| 413 | <application>Samba</application> connections.</para></sect3>
|
---|
[2bfe939] | 414 | <sect3><title>smbtar</title>
|
---|
| 415 | <para><command>smbtar</command> is a shell script used for backing up
|
---|
| 416 | <acronym>SMB</acronym>/<acronym>CIFS</acronym> shares directly to Linux tape
|
---|
| 417 | drives or a file.</para></sect3>
|
---|
| 418 | <sect3><title>smbtree</title>
|
---|
| 419 | <para><command>smbtree</command> is a text-based <acronym>SMB</acronym>
|
---|
| 420 | network browser.</para></sect3>
|
---|
| 421 | <sect3><title>smbumount</title>
|
---|
| 422 | <para><command>smbumount</command> is used by normal users to unmount
|
---|
| 423 | <acronym>SMB</acronym> filesystems, provided that it is setuid
|
---|
| 424 | root.</para></sect3>
|
---|
[0931098] | 425 | <sect3><title>swat</title>
|
---|
[2bfe939] | 426 | <para><command>swat</command> is the
|
---|
| 427 | <application>Samba</application> Web Administration Tool.</para></sect3>
|
---|
| 428 | <sect3><title>tdbbackup</title>
|
---|
| 429 | <para><command>tdbbackup</command> is a tool for backing up or validating the
|
---|
| 430 | integrity of <application>Samba</application> <filename>.tdb</filename>
|
---|
| 431 | files.</para></sect3>
|
---|
| 432 | <sect3><title>tdbdump</title>
|
---|
| 433 | <para><command>tdbdump</command> is a tool used to print the contents of a
|
---|
| 434 | <application>Samba</application> <filename>.tdb</filename> file.</para></sect3>
|
---|
[0931098] | 435 | <sect3><title>testparm</title>
|
---|
| 436 | <para><command>testparm</command> checks an <filename>smb.conf</filename> file
|
---|
| 437 | for proper syntax.</para></sect3>
|
---|
| 438 | <sect3><title>testprns</title>
|
---|
| 439 | <para><command>testprns</command> tests printer names.</para></sect3>
|
---|
| 440 | <sect3><title>wbinfo</title>
|
---|
| 441 | <para><command>wbinfo</command> queries a running <command>winbindd</command>
|
---|
| 442 | daemon.</para></sect3>
|
---|
| 443 | <sect3><title>winbindd</title>
|
---|
| 444 | <para><command>winbindd</command> resolves names from NT servers.</para></sect3>
|
---|
[2bfe939] | 445 |
|
---|
[0931098] | 446 | </sect2>
|
---|
[736ede9] | 447 |
|
---|
| 448 | </sect1>
|
---|
| 449 |
|
---|