[0931098] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[0931098] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[45f56ac] | 7 | <!ENTITY samba-download-http "http://ftp.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz">
|
---|
| 8 | <!ENTITY samba-download-ftp "ftp://ftp.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz">
|
---|
[96770a19] | 9 | <!ENTITY samba-md5sum "f448d18ae678c72afb72e0510cd69710">
|
---|
| 10 | <!ENTITY samba-size "23 MB">
|
---|
| 11 | <!ENTITY samba-buildsize "493 MB (up to 900MB additional for all tests)">
|
---|
| 12 | <!ENTITY samba-time "6.6 SBU (up to 110 SBU to run all tests)">
|
---|
[0931098] | 13 | ]>
|
---|
| 14 |
|
---|
[45f56ac] | 15 | <sect1 id="samba" xreflabel="Samba-&samba-version;">
|
---|
| 16 | <?dbhtml filename="samba.html"?>
|
---|
[99ef1fc] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[45f56ac] | 23 | <title>Samba-&samba-version;</title>
|
---|
[99ef1fc] | 24 |
|
---|
[45f56ac] | 25 | <indexterm zone="samba">
|
---|
[99ef1fc] | 26 | <primary sortas="a-Samba">Samba</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
[4e82a189] | 29 | <sect2 role="package">
|
---|
[99ef1fc] | 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.
|
---|
[7cae14c] | 34 | <application>Samba</application> can also be configured as a Windows Domain
|
---|
| 35 | Controller replacement, a file/print server acting as a member of a Windows
|
---|
[99ef1fc] | 36 | Active Directory domain and a NetBIOS (rfc1001/1002) nameserver (which
|
---|
[7cae14c] | 37 | among other things provides LAN browsing support).</para>
|
---|
[99ef1fc] | 38 |
|
---|
[90ebb73] | 39 | &lfs74_checked;
|
---|
[ee792ef] | 40 |
|
---|
[99ef1fc] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[45f56ac] | 44 | <para>Download (HTTP): <ulink url="&samba-download-http;"/></para>
|
---|
[99ef1fc] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[45f56ac] | 47 | <para>Download (FTP): <ulink url="&samba-download-ftp;"/></para>
|
---|
[99ef1fc] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[45f56ac] | 50 | <para>Download MD5 sum: &samba-md5sum;</para>
|
---|
[99ef1fc] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[45f56ac] | 53 | <para>Download size: &samba-size;</para>
|
---|
[99ef1fc] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[45f56ac] | 56 | <para>Estimated disk space required: &samba-buildsize;</para>
|
---|
[99ef1fc] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[45f56ac] | 59 | <para>Estimated build time: &samba-time;</para>
|
---|
[99ef1fc] | 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect3">Samba Dependencies</bridgehead>
|
---|
| 64 |
|
---|
[e85edcc] | 65 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[7cae14c] | 66 | <para role="required">
|
---|
| 67 | <xref linkend="libtirpc"/>
|
---|
| 68 | </para>
|
---|
[e85edcc] | 69 |
|
---|
[99ef1fc] | 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7cae14c] | 71 | <para role="optional">
|
---|
| 72 | <xref linkend="popt"/>,
|
---|
| 73 | <xref linkend="linux-pam"/>,
|
---|
| 74 | <xref linkend="cups"/>,
|
---|
| 75 | <xref linkend="openldap"/>,
|
---|
[adf6dd9a] | 76 | <ulink url="https://people.gnome.org/~veillard/gamin/">Gamin</ulink>,
|
---|
[7cae14c] | 77 | <xref linkend="acl"/>,
|
---|
| 78 | <xref linkend="xfsprogs"/>,
|
---|
| 79 | <xref linkend="mitkrb"/>,
|
---|
| 80 | <xref linkend="python2"/> (used only in parts of the test suite),
|
---|
| 81 | <xref linkend="libxslt"/> (used only for documentation),
|
---|
| 82 | <ulink url="http://tdb.samba.org/">tdb</ulink>,
|
---|
| 83 | <ulink url="http://ctdb.samba.org/">ctdb</ulink>,
|
---|
[68876b7] | 84 | <xref linkend="libcap"/>,
|
---|
[7cae14c] | 85 | <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
|
---|
| 86 | <xref linkend="avahi"/>,
|
---|
| 87 | <ulink url="http://www.openafs.org/">OpenAFS</ulink>, and
|
---|
| 88 | <ulink url="http://valgrind.org/">Valgrind</ulink> (optionally
|
---|
| 89 | used by the test suite)</para>
|
---|
[6dcdcde] | 90 |
|
---|
[3cb0c57] | 91 | <para condition="html" role="usernotes">User Notes:
|
---|
[45f56ac] | 92 | <ulink url="&blfs-wiki;/samba"/></para>
|
---|
[3cb0c57] | 93 |
|
---|
[99ef1fc] | 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of Samba</title>
|
---|
| 98 |
|
---|
[22320b4c] | 99 | <note>
|
---|
[75b4d9e] | 100 | <para>If you wish to run the test suite after the binaries are built,
|
---|
[7cae14c] | 101 | you must add the <option>--enable-socket-wrapper</option>
|
---|
| 102 | and <option>--enable-selftest</option> parameters to
|
---|
[75b4d9e] | 103 | the <command>configure</command> script below. You may want to run
|
---|
| 104 | <command>configure</command> with the <option>--help</option> parameter
|
---|
| 105 | first. There may be other parameters needed to take advantage of
|
---|
| 106 | optional dependencies.</para>
|
---|
[22320b4c] | 107 | </note>
|
---|
| 108 |
|
---|
[65dea1b6] | 109 | <para>Install <application>Samba</application> by running the following
|
---|
| 110 | commands:</para>
|
---|
| 111 |
|
---|
[7cae14c] | 112 | <screen><userinput>sed -i -e "/dmapi_lib/s/$/ldflags='-ltirpc',/" source3/wscript_build &&
|
---|
[0d7900a] | 113 |
|
---|
[ee792ef] | 114 | ./configure \
|
---|
| 115 | --prefix=/usr \
|
---|
| 116 | --sysconfdir=/etc \
|
---|
| 117 | --localstatedir=/var \
|
---|
[a3f7f4b1] | 118 | --with-piddir=/run/samba \
|
---|
[134279fd] | 119 | --with-pammodulesdir=/lib/security \
|
---|
[d4aa211] | 120 | --enable-fhs \
|
---|
[7cae14c] | 121 | --enable-nss-wrapper &&
|
---|
[38b41c2] | 122 |
|
---|
[7cae14c] | 123 | make</userinput></screen>
|
---|
[4e9f28df] | 124 |
|
---|
[7cae14c] | 125 | <para>To test the results, as the <systemitem
|
---|
| 126 | class="username">root</systemitem> user,issue: <command>make
|
---|
| 127 | quicktest</command> (about 8 SBU). There are other targets (test,
|
---|
| 128 | subunit-test) available, but take a very long (over 100 SBU) time.</para>
|
---|
[22320b4c] | 129 |
|
---|
[99ef1fc] | 130 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[38b41c2] | 131 |
|
---|
[214b9ac] | 132 | <screen role="root"><userinput>make install &&
|
---|
| 133 |
|
---|
[7cae14c] | 134 | mv -v /usr/lib/libnss_win{s,bind}.so* /lib &&
|
---|
| 135 | ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so &&
|
---|
| 136 | ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so &&
|
---|
[214b9ac] | 137 |
|
---|
[b0ed6bdf] | 138 | install -v -m644 examples/smb.conf.default /etc/samba &&
|
---|
[214b9ac] | 139 |
|
---|
[7cae14c] | 140 | mkdir -pv /etc/openldap/schema &&
|
---|
| 141 |
|
---|
| 142 | install -v -m644 examples/LDAP/README \
|
---|
| 143 | /etc/openldap/schema/README.LDAP &&
|
---|
[b0ed6bdf] | 144 |
|
---|
[7cae14c] | 145 | install -v -m644 examples/LDAP/samba* \
|
---|
| 146 | /etc/openldap/schema &&
|
---|
[b0ed6bdf] | 147 |
|
---|
[96770a19] | 148 | install -v -m755 examples/LDAP/{get*,ol*} \
|
---|
[7cae14c] | 149 | /etc/openldap/schema &&
|
---|
[f4c0a45] | 150 |
|
---|
[45f56ac] | 151 | install -v -m755 -d /usr/share/doc/samba-&samba-version; &&
|
---|
[7cae14c] | 152 |
|
---|
| 153 | install -v -m644 lib/ntdb/doc/design.pdf \
|
---|
[96770a19] | 154 | /usr/share/doc/samba-&samba-version;</userinput></screen>
|
---|
[7cae14c] | 155 |
|
---|
[99ef1fc] | 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | <sect2 role="commands">
|
---|
| 159 | <title>Command Explanations</title>
|
---|
| 160 |
|
---|
[7cae14c] | 161 | <para><command>sed ... source3/wscript_build</command>:
|
---|
| 162 | This command enables the build to complete when using libtirpc instead of
|
---|
| 163 | the deprecated glibc rpc functions.</para>
|
---|
[0fd1d58] | 164 |
|
---|
[99ef1fc] | 165 | <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
|
---|
| 166 | file directory to avoid the default of
|
---|
| 167 | <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 168 |
|
---|
| 169 | <para><parameter>--localstatedir=/var</parameter>: Sets the variable
|
---|
| 170 | data directory to avoid the default of
|
---|
| 171 | <filename class="directory">/usr/var</filename>.</para>
|
---|
| 172 |
|
---|
[d18b639] | 173 | <para><parameter>--enable-fhs</parameter>: Assigns all other file paths in
|
---|
[99ef1fc] | 174 | a manner compliant with the Filesystem Hierarchy Standard (FHS).</para>
|
---|
| 175 |
|
---|
[6dcdcde] | 176 | <para><parameter>--enable-nss-wrapper</parameter>: Builds the nss-wrapper
|
---|
| 177 | library.</para>
|
---|
| 178 |
|
---|
[d18b639] | 179 | <para><option>--enable-socket-wrapper</option> and
|
---|
| 180 | <option>--enable-selftest</option>: These options are required to run
|
---|
[7cae14c] | 181 | the test suite.</para>
|
---|
[6dcdcde] | 182 |
|
---|
[7cae14c] | 183 | <para><command>mv -v /usr/lib/libnss_win{s,bind}.so* /lib</command>:
|
---|
| 184 | The nss libraries are installed in /usr/lib by default. Move them to
|
---|
| 185 | /lib.</para>
|
---|
[e85edcc] | 186 |
|
---|
[7cae14c] | 187 | <para><command>ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so</command>
|
---|
| 188 | and <command>ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so</command>:
|
---|
| 189 | These symlinks are required when applicates build against these libraries.</para>
|
---|
[5e8ab95] | 190 |
|
---|
[7cae14c] | 191 | <para><command>install -v -m644 examples/LDAP/* /etc/openldap/schema</command>:
|
---|
| 192 | These commands are used to copy sample Samba schemas to the OpenLDAP
|
---|
[f4c0a45] | 193 | <filename class='directory'>schema</filename> directory.</para>
|
---|
[99ef1fc] | 194 |
|
---|
| 195 | <para><command>install -v -m644 ../examples/smb.conf.default
|
---|
| 196 | /etc/samba</command>: This copies a default <filename>smb.conf</filename>
|
---|
[2ccb0dc] | 197 | file into <filename>/etc/samba</filename>. This sample configuration will
|
---|
| 198 | not work until you copy it to <filename>/etc/samba/smb.conf</filename> and
|
---|
| 199 | make the appropriate changes for your installation. See the configuration
|
---|
| 200 | section for minimum values which must be set.</para>
|
---|
[99ef1fc] | 201 |
|
---|
| 202 | </sect2>
|
---|
| 203 |
|
---|
| 204 | <sect2 role="configuration">
|
---|
| 205 | <title>Configuring Samba</title>
|
---|
| 206 |
|
---|
[45f56ac] | 207 | <sect3 id="samba-config">
|
---|
[99ef1fc] | 208 | <title>Config Files</title>
|
---|
| 209 |
|
---|
| 210 | <para>/etc/samba/smb.conf</para>
|
---|
| 211 |
|
---|
[45f56ac] | 212 | <indexterm zone="samba samba-config">
|
---|
[99ef1fc] | 213 | <primary sortas="e-etc-samba-smb.conf">/etc/samba/smb.conf</primary>
|
---|
| 214 | </indexterm>
|
---|
| 215 |
|
---|
| 216 | </sect3>
|
---|
[0d7900a] | 217 | <!-- mount.cifs is now in the separate cifs-utils package
|
---|
[e75747d1] | 218 | <sect3>
|
---|
| 219 | <title>Mounting Shares by Unprivileged Users</title>
|
---|
| 220 |
|
---|
| 221 | <para>If it is desired for unprivileged users to directly mount (and
|
---|
[6dcdcde] | 222 | unmount) CIFS shares, the <command>mount.cifs</command> and
|
---|
[75b4d9e] | 223 | <command>umount.cifs</command> commands must be setuid
|
---|
[e75747d1] | 224 | <systemitem class='username'>root</systemitem>. Note that users can
|
---|
[6dcdcde] | 225 | only mount CIFS shares on a mount point owned by that user (requires
|
---|
[c9f3c0a] | 226 | write access also). If desired, change these programs to setuid
|
---|
[e75747d1] | 227 | <systemitem class='username'>root</systemitem> by issuing the following
|
---|
[bccbdaea] | 228 | command as the <systemitem class='username'>root</systemitem>
|
---|
[e75747d1] | 229 | user:</para>
|
---|
| 230 |
|
---|
[6dcdcde] | 231 | <screen role="root"><userinput>chmod -v 4755 /usr/sbin/{,u}mount.cifs</userinput></screen>
|
---|
[e75747d1] | 232 |
|
---|
| 233 | </sect3>
|
---|
[ee792ef] | 234 | -->
|
---|
[2ccb0dc] | 235 | <sect3>
|
---|
[fc290c7] | 236 | <title>Printing to SMB Clients</title>
|
---|
[2ccb0dc] | 237 |
|
---|
[fc290c7] | 238 | <para>If you use <application>CUPS</application> for print services,
|
---|
| 239 | and you wish to print to a printer attached to an SMB client, you
|
---|
| 240 | need to create an SMB backend device. To create the device, issue the
|
---|
| 241 | following command as the <systemitem class="username">root</systemitem>
|
---|
| 242 | user:</para>
|
---|
[2ccb0dc] | 243 |
|
---|
[fc290c7] | 244 | <screen role="root"><userinput>ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</userinput></screen>
|
---|
[2ccb0dc] | 245 |
|
---|
| 246 | </sect3>
|
---|
| 247 |
|
---|
[99ef1fc] | 248 | <sect3>
|
---|
[fc290c7] | 249 | <title>Configuration Information</title>
|
---|
[99ef1fc] | 250 |
|
---|
| 251 | <para>Due to the complexity and the many various uses for
|
---|
[fc290c7] | 252 | <application>Samba</application>, complete configuration for all the
|
---|
[e59bdce] | 253 | package's capabilities is well beyond the scope of the BLFS book. This
|
---|
[fc290c7] | 254 | section provides instructions to configure the
|
---|
| 255 | <filename>/etc/samba/smb.conf</filename> file for two common scenarios.
|
---|
| 256 | The complete contents of <filename>/etc/samba/smb.conf</filename> will
|
---|
[bccbdaea] | 257 | depend on the purpose of <application>Samba</application>
|
---|
[fc290c7] | 258 | installation.</para>
|
---|
| 259 |
|
---|
| 260 | <note>
|
---|
| 261 | <para>You may find it easier to copy the configuration parameters shown
|
---|
| 262 | below into an empty <filename>/etc/samba/smb.conf</filename> file
|
---|
| 263 | instead of copying and editing the default file as mentioned in the
|
---|
| 264 | <quote>Command Explanations</quote> section. How you create/edit the
|
---|
| 265 | <filename>/etc/samba/smb.conf</filename> file will be left up to
|
---|
| 266 | you. Do ensure the file is only writeable by the
|
---|
| 267 | <systemitem class="username">root</systemitem> user (mode 644).</para>
|
---|
| 268 | </note>
|
---|
| 269 |
|
---|
| 270 | <sect4>
|
---|
| 271 | <title>Scenario 1: Minimal Standalone Client-Only Installation</title>
|
---|
| 272 |
|
---|
[bccbdaea] | 273 | <para>Choose this variant if you only want to transfer files using
|
---|
[fc290c7] | 274 | <command>smbclient</command>, mount Windows shares and print to Windows
|
---|
[bccbdaea] | 275 | printers, and don't want to share your files and printers to Windows
|
---|
[fc290c7] | 276 | machines.</para>
|
---|
| 277 |
|
---|
| 278 | <para>A <filename>/etc/samba/smb.conf</filename> file with the following
|
---|
| 279 | three parameters is sufficient:</para>
|
---|
| 280 |
|
---|
| 281 | <screen role='root'><literal>[global]
|
---|
| 282 | workgroup = <replaceable>MYGROUP</replaceable>
|
---|
| 283 | dos charset = <replaceable>cp850</replaceable>
|
---|
| 284 | unix charset = <replaceable>ISO-8859-1</replaceable></literal></screen>
|
---|
| 285 |
|
---|
| 286 | <para>The values in this example specify that the computer belongs to a
|
---|
| 287 | Windows workgroup named
|
---|
| 288 | <quote><replaceable>MYGROUP</replaceable></quote>, uses the
|
---|
| 289 | <quote><replaceable>cp850</replaceable></quote> character set on the
|
---|
| 290 | wire when talking to MS-DOS and MS Windows 9x, and that the filenames
|
---|
| 291 | are stored in the <quote><replaceable>ISO-8859-1</replaceable></quote>
|
---|
| 292 | encoding on the disk. Adjust these values appropriately for your
|
---|
| 293 | installation. The <quote>unix charset</quote> value must be the same as
|
---|
| 294 | the output of <command>locale charmap</command> when executed with the
|
---|
| 295 | <envar>LANG</envar> variable set to your preferred locale, otherwise the
|
---|
| 296 | <command>ls</command> command may not display correct filenames of
|
---|
| 297 | downloaded files.</para>
|
---|
| 298 |
|
---|
| 299 | <para>There is no need to run any <application>Samba</application>
|
---|
| 300 | servers in this scenario, thus you don't need to install the provided
|
---|
| 301 | bootscripts.</para>
|
---|
| 302 |
|
---|
| 303 | </sect4>
|
---|
| 304 |
|
---|
| 305 | <sect4>
|
---|
| 306 | <title>Scenario 2: Standalone File/Print Server</title>
|
---|
| 307 |
|
---|
| 308 | <para>Choose this variant if you want to share your files and printers
|
---|
| 309 | to Windows machines in your workgroup in addition to the capabilities
|
---|
| 310 | described in Scenario 1.</para>
|
---|
| 311 |
|
---|
| 312 | <para>In this case, the <filename>/etc/samba/smb.conf.default</filename>
|
---|
[bccbdaea] | 313 | file may be a good template to start from. Also add
|
---|
[fc290c7] | 314 | <quote>dos charset</quote> and <quote>unix charset</quote> parameters
|
---|
| 315 | to the <quote>[global]</quote> section as described in Scenario 1 in
|
---|
| 316 | order to prevent filename corruption.</para>
|
---|
| 317 |
|
---|
| 318 | <para>The following configuration file creates a separate share for each
|
---|
| 319 | user's home directory and also makes all printers available to Windows
|
---|
| 320 | machines:</para>
|
---|
| 321 |
|
---|
| 322 | <screen role='root'><literal>[global]
|
---|
| 323 | workgroup = <replaceable>MYGROUP</replaceable>
|
---|
| 324 | dos charset = <replaceable>cp850</replaceable>
|
---|
| 325 | unix charset = <replaceable>ISO-8859-1</replaceable>
|
---|
| 326 |
|
---|
| 327 | [homes]
|
---|
| 328 | comment = Home Directories
|
---|
| 329 | browseable = no
|
---|
| 330 | writable = yes
|
---|
| 331 |
|
---|
| 332 | [printers]
|
---|
| 333 | comment = All Printers
|
---|
| 334 | path = /var/spool/samba
|
---|
| 335 | browseable = no
|
---|
| 336 | guest ok = no
|
---|
| 337 | printable = yes</literal></screen>
|
---|
| 338 |
|
---|
[bccbdaea] | 339 | <para>Other parameters you may wish to customize in the
|
---|
[fc290c7] | 340 | <quote>[global]</quote> section include:</para>
|
---|
| 341 |
|
---|
| 342 | <screen role='root'><literal> server string =
|
---|
| 343 | security =
|
---|
| 344 | hosts allow =
|
---|
| 345 | load printers =
|
---|
| 346 | log file =
|
---|
| 347 | max log size =
|
---|
| 348 | socket options =
|
---|
| 349 | local master =</literal></screen>
|
---|
| 350 |
|
---|
| 351 | <para>Reference the comments in the
|
---|
| 352 | <filename>/etc/samba/smb.conf.default</filename> file for information
|
---|
| 353 | regarding these parameters.</para>
|
---|
| 354 |
|
---|
| 355 | <para>Since the <command>smbd</command> and <command>nmbd</command>
|
---|
| 356 | daemons are needed in this case, install the <filename>samba</filename>
|
---|
| 357 | bootscript. Be sure to run <command>smbpasswd</command> (with the
|
---|
| 358 | <option>-a</option> option to add users) to enable and
|
---|
| 359 | set passwords for all accounts that need
|
---|
[96770a19] | 360 | <application>Samba</application> access. Using the default
|
---|
[fc290c7] | 361 | <application>Samba</application> passdb backend, any user you attempt
|
---|
| 362 | to add will also be required to exist in the
|
---|
| 363 | <filename>/etc/passwd</filename> file.</para>
|
---|
| 364 |
|
---|
| 365 | </sect4>
|
---|
| 366 |
|
---|
| 367 | <sect4>
|
---|
| 368 | <title>Advanced Requirements</title>
|
---|
| 369 |
|
---|
| 370 | <para>More complex scenarios involving domain control or membership are
|
---|
[7cae14c] | 371 | possible. Such setups are advanced topics and cannot be adequately
|
---|
| 372 | covered in BLFS. Many complete books have been written on these topics
|
---|
| 373 | alone. Note that in some domain membership scenarios, the
|
---|
| 374 | <command>winbindd</command> daemon and the corresponding bootscript are
|
---|
| 375 | needed.</para>
|
---|
[fc290c7] | 376 |
|
---|
| 377 | <para>There is quite a bit of documentation available which covers many
|
---|
| 378 | of these advanced configurations. Point your web browser to the links
|
---|
| 379 | below to view some of the documentation included with the
|
---|
| 380 | <application>Samba</application> package:</para>
|
---|
| 381 |
|
---|
| 382 | <itemizedlist spacing='compact'>
|
---|
| 383 | <listitem>
|
---|
| 384 | <para>Using Samba, 2nd Edition; a popular book published by O'Reilly
|
---|
[7cae14c] | 385 | <ulink url="http://www.samba.org/samba/docs/using_samba/toc.html"/></para>
|
---|
[fc290c7] | 386 | </listitem>
|
---|
| 387 | <listitem>
|
---|
| 388 | <para>The Official Samba HOWTO and Reference Guide <ulink
|
---|
[7cae14c] | 389 | url="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/"/>
|
---|
[fc290c7] | 390 | </para>
|
---|
| 391 | </listitem>
|
---|
| 392 | <listitem>
|
---|
| 393 | <para>Samba-3 by Example
|
---|
[7cae14c] | 394 | <ulink url="http://www.samba.org/samba/docs/man/Samba-Guide/"/>
|
---|
[fc290c7] | 395 | </para>
|
---|
| 396 | </listitem>
|
---|
| 397 | </itemizedlist>
|
---|
| 398 |
|
---|
| 399 | </sect4>
|
---|
[99ef1fc] | 400 |
|
---|
[45f56ac] | 401 | <sect4 id="samba-init">
|
---|
[75f9474f] | 402 | <title>Boot Script</title>
|
---|
[0d7900a] | 403 |
|
---|
[75f9474f] | 404 | <para>For your convenience, boot scripts have been provided for
|
---|
| 405 | <application>Samba</application>. There are two included in the
|
---|
| 406 | <xref linkend="bootscripts"/> package. The first,
|
---|
| 407 | <filename>samba</filename>, will start the <command>smbd</command>
|
---|
| 408 | and <command>nmbd</command> daemons needed to provide SMB/CIFS
|
---|
| 409 | services. The second script, <filename>winbind</filename>, starts
|
---|
| 410 | the <command>winbindd</command> daemon, used for providing Windows
|
---|
| 411 | domain services to Linux clients.</para>
|
---|
[0d7900a] | 412 |
|
---|
[45f56ac] | 413 | <indexterm zone="samba samba-init">
|
---|
[75f9474f] | 414 | <primary sortas="f-samba">samba</primary>
|
---|
[fc290c7] | 415 | </indexterm>
|
---|
[0d7900a] | 416 |
|
---|
[45f56ac] | 417 | <indexterm zone="samba samba-init">
|
---|
[75f9474f] | 418 | <primary sortas="f-winbind">winbind</primary>
|
---|
[fc290c7] | 419 | </indexterm>
|
---|
[0d7900a] | 420 |
|
---|
[75f9474f] | 421 | <para>The default <application>Samba</application> installation uses the
|
---|
| 422 | <systemitem class='username'>nobody</systemitem> user for guest access
|
---|
| 423 | to the server. This can be overridden by setting the
|
---|
| 424 | <option>guest account =</option> parameter in the
|
---|
| 425 | <filename>/etc/samba/smb.conf</filename> file. If you utilize the
|
---|
| 426 | <option>guest account =</option> parameter, ensure this user exists in
|
---|
| 427 | the <filename>/etc/passwd</filename> file. To use the default user,
|
---|
| 428 | issue the following commands as the
|
---|
| 429 | <systemitem class='username'>root</systemitem> user:</para>
|
---|
[fc290c7] | 430 |
|
---|
[75f9474f] | 431 | <screen><userinput>groupadd -g 99 nogroup &&
|
---|
| 432 | useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
|
---|
| 433 | -s /bin/false -u 99 nobody</userinput></screen>
|
---|
[99ef1fc] | 434 |
|
---|
[75f9474f] | 435 | <para>Install the <filename>samba</filename> script with the following
|
---|
| 436 | command issued as the <systemitem class="username">root</systemitem>
|
---|
| 437 | user:</para>
|
---|
[99ef1fc] | 438 |
|
---|
[75f9474f] | 439 | <screen role="root"><userinput>make install-samba</userinput></screen>
|
---|
[99ef1fc] | 440 |
|
---|
[97926ab] | 441 | <para>If you also need the <filename>winbindd</filename>
|
---|
| 442 | script to resolve names from Windows clients, run:</para>
|
---|
[99ef1fc] | 443 |
|
---|
[97926ab] | 444 | <screen role="root"><userinput>make install-winbindd</userinput></screen>
|
---|
[99ef1fc] | 445 |
|
---|
[75f9474f] | 446 | </sect4>
|
---|
[99ef1fc] | 447 |
|
---|
[75f9474f] | 448 | </sect3>
|
---|
[99ef1fc] | 449 |
|
---|
| 450 | </sect2>
|
---|
| 451 |
|
---|
| 452 | <sect2 role="content">
|
---|
| 453 | <title>Contents</title>
|
---|
| 454 |
|
---|
| 455 | <segmentedlist>
|
---|
| 456 | <segtitle>Installed Programs</segtitle>
|
---|
| 457 | <segtitle>Installed Libraries</segtitle>
|
---|
| 458 | <segtitle>Installed Directories</segtitle>
|
---|
| 459 |
|
---|
| 460 | <seglistitem>
|
---|
[7cae14c] | 461 |
|
---|
[96770a19] | 462 | <seg>cifsdd, dbwrap_tool, eventlogadm, gentest, ldbadd, ldbdel, ldbedit,
|
---|
| 463 | ldbmodify, ldbrename, ldbsearch, locktest, masktest, ndrdump, net, nmbd,
|
---|
| 464 | nmblookup, nmblookup4, ntdbbackup, ntdbdump, ntdbrestore, ntdbtool,
|
---|
| 465 | ntlm_auth, oLschema2ldif, pdbedit, pidl, profiles, regdiff, regpatch,
|
---|
| 466 | regshell, regtree, rpcclient, samba, samba_dnsupdate, samba_kcc,
|
---|
| 467 | samba-regedit, samba_spnupdate, samba-tool, samba_upgradedns, sharesec,
|
---|
| 468 | smbcacls, smbclient, smbclient4, smbcontrol, smbcquotas, smbd, smbget,
|
---|
| 469 | smbpasswd, smbspool, smbstatus, smbtar, smbta-util, smbtorture, smbtree,
|
---|
| 470 | tdbbackup, tdbdump, tdbrestore, tdbtool, testparm, wbinfo, and
|
---|
| 471 | winbindd</seg>
|
---|
| 472 |
|
---|
| 473 | <seg>libdcerpc-atsvc.so, libdcerpc-binding.so, libdcerpc-samr.so,
|
---|
| 474 | libdcerpc-server.so, libdcerpc.so, libgensec.so, libndr-krb5pac.so,
|
---|
| 475 | libndr-nbt.so, libndr.so, libndr-standard.so, libnetapi.so,
|
---|
| 476 | libnss_winbind.so, libnss_wins.so, libpdb.so, libregistry.so,
|
---|
| 477 | libsamba-credentials.so, libsamba-hostconfig.so, libsamba-policy.so,
|
---|
| 478 | libsamba-util.so, libsamdb.so, libsmbclient-raw.so, libsmbclient.so,
|
---|
| 479 | libsmbconf.so, libsmbldap.so, libsmbsharemodes.so, libtevent-util.so,
|
---|
| 480 | libtorture.so, libwbclient.so, mit_samba.so, the pam_winbind.so and
|
---|
| 481 | pam_smbpass.so PAM libraries, winbind_krb5_locator.so, and assorted
|
---|
| 482 | character set, filesystem and support modules.</seg>
|
---|
[7cae14c] | 483 |
|
---|
| 484 | <seg>/etc/samba, /usr/include/samba-4.0, /usr/lib/samba,
|
---|
[96770a19] | 485 | /usr/share/samba, /var/cache/samba, /var/lib/samba, /var/lock/samba,
|
---|
| 486 | /var/log/samba, and /var/run/samba</seg>
|
---|
[7cae14c] | 487 |
|
---|
[99ef1fc] | 488 | </seglistitem>
|
---|
| 489 | </segmentedlist>
|
---|
| 490 |
|
---|
| 491 | <variablelist>
|
---|
| 492 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 493 | <?dbfo list-presentation="list"?>
|
---|
| 494 | <?dbhtml list-presentation="table"?>
|
---|
| 495 |
|
---|
[a8ecf657] | 496 | <varlistentry id="eventlogadm">
|
---|
| 497 | <term><command>eventlogadm</command></term>
|
---|
| 498 | <listitem>
|
---|
| 499 | <para>is used to write records to eventlogs from STDIN, add the
|
---|
| 500 | specified source and DLL eventlog registry entries and display the
|
---|
| 501 | active eventlog names (from <filename>smb.conf</filename>).</para>
|
---|
[45f56ac] | 502 | <indexterm zone="samba eventlogadm">
|
---|
[a8ecf657] | 503 | <primary sortas="b-eventlogadm">eventlogadm</primary>
|
---|
| 504 | </indexterm>
|
---|
| 505 | </listitem>
|
---|
| 506 | </varlistentry>
|
---|
| 507 |
|
---|
[f4c0a45] | 508 | <varlistentry id="ldbadd">
|
---|
| 509 | <term><command>ldbadd</command></term>
|
---|
| 510 | <listitem>
|
---|
| 511 | <para>is a command-line utility for adding records to an LDB
|
---|
| 512 | database.</para>
|
---|
[45f56ac] | 513 | <indexterm zone="samba ldbadd">
|
---|
[f4c0a45] | 514 | <primary sortas="b-ldbadd">ldbadd</primary>
|
---|
| 515 | </indexterm>
|
---|
| 516 | </listitem>
|
---|
| 517 | </varlistentry>
|
---|
| 518 |
|
---|
| 519 | <varlistentry id="ldbdel">
|
---|
| 520 | <term><command>ldbdel</command></term>
|
---|
| 521 | <listitem>
|
---|
| 522 | <para>is a command-line program for deleting LDB database
|
---|
| 523 | records.</para>
|
---|
[45f56ac] | 524 | <indexterm zone="samba ldbdel">
|
---|
[f4c0a45] | 525 | <primary sortas="b-ldbdel">ldbdel</primary>
|
---|
| 526 | </indexterm>
|
---|
| 527 | </listitem>
|
---|
| 528 | </varlistentry>
|
---|
| 529 |
|
---|
| 530 | <varlistentry id="ldbedit">
|
---|
| 531 | <term><command>ldbedit</command></term>
|
---|
| 532 | <listitem>
|
---|
| 533 | <para>allows you to edit LDB databases using your preferred
|
---|
| 534 | editor.</para>
|
---|
[45f56ac] | 535 | <indexterm zone="samba ldbedit">
|
---|
[f4c0a45] | 536 | <primary sortas="b-ldbedit">ldbedit</primary>
|
---|
| 537 | </indexterm>
|
---|
| 538 | </listitem>
|
---|
| 539 | </varlistentry>
|
---|
| 540 |
|
---|
| 541 | <varlistentry id="ldbmodify">
|
---|
| 542 | <term><command>ldbmodify</command></term>
|
---|
| 543 | <listitem>
|
---|
| 544 | <para>allows you to modify records in an LDB database.</para>
|
---|
[45f56ac] | 545 | <indexterm zone="samba ldbmodify">
|
---|
[f4c0a45] | 546 | <primary sortas="b-ldbmodify">ldbmodify</primary>
|
---|
| 547 | </indexterm>
|
---|
| 548 | </listitem>
|
---|
| 549 | </varlistentry>
|
---|
| 550 |
|
---|
| 551 | <varlistentry id="ldbrename">
|
---|
| 552 | <term><command>ldbrename</command></term>
|
---|
| 553 | <listitem>
|
---|
| 554 | <para>allows you to edit LDB databases using your preferred
|
---|
| 555 | editor.</para>
|
---|
[45f56ac] | 556 | <indexterm zone="samba ldbrename">
|
---|
[f4c0a45] | 557 | <primary sortas="b-ldbrename">ldbrename</primary>
|
---|
| 558 | </indexterm>
|
---|
| 559 | </listitem>
|
---|
| 560 | </varlistentry>
|
---|
| 561 |
|
---|
| 562 | <varlistentry id="ldbsearch">
|
---|
| 563 | <term><command>ldbsearch</command></term>
|
---|
| 564 | <listitem>
|
---|
| 565 | <para>searches an LDB database for records matching a specified
|
---|
| 566 | expression.</para>
|
---|
[45f56ac] | 567 | <indexterm zone="samba ldbsearch">
|
---|
[f4c0a45] | 568 | <primary sortas="b-ldbsearch">ldbsearch</primary>
|
---|
| 569 | </indexterm>
|
---|
| 570 | </listitem>
|
---|
| 571 | </varlistentry>
|
---|
| 572 |
|
---|
[99ef1fc] | 573 | <varlistentry id="net">
|
---|
| 574 | <term><command>net</command></term>
|
---|
| 575 | <listitem>
|
---|
| 576 | <para>is a tool for administration of
|
---|
| 577 | <application>Samba</application> and remote CIFS servers, similar
|
---|
| 578 | to the <command>net</command> utility for DOS/Windows.</para>
|
---|
[45f56ac] | 579 | <indexterm zone="samba net">
|
---|
[99ef1fc] | 580 | <primary sortas="b-net">net</primary>
|
---|
| 581 | </indexterm>
|
---|
| 582 | </listitem>
|
---|
| 583 | </varlistentry>
|
---|
| 584 |
|
---|
| 585 | <varlistentry id="nmbd">
|
---|
| 586 | <term><command>nmbd</command></term>
|
---|
| 587 | <listitem>
|
---|
| 588 | <para>is the <application>Samba</application>
|
---|
| 589 | NetBIOS name server.</para>
|
---|
[45f56ac] | 590 | <indexterm zone="samba nmbd">
|
---|
[99ef1fc] | 591 | <primary sortas="b-nmbd">nmbd</primary>
|
---|
| 592 | </indexterm>
|
---|
| 593 | </listitem>
|
---|
| 594 | </varlistentry>
|
---|
| 595 |
|
---|
| 596 | <varlistentry id="nmblookup">
|
---|
| 597 | <term><command>nmblookup</command></term>
|
---|
| 598 | <listitem>
|
---|
| 599 | <para>is used to query NetBIOS names and map
|
---|
| 600 | them to IP addresses.</para>
|
---|
[45f56ac] | 601 | <indexterm zone="samba nmblookup">
|
---|
[99ef1fc] | 602 | <primary sortas="b-nmblookup">nmblookup</primary>
|
---|
| 603 | </indexterm>
|
---|
| 604 | </listitem>
|
---|
| 605 | </varlistentry>
|
---|
| 606 |
|
---|
| 607 | <varlistentry id="ntlm_auth">
|
---|
| 608 | <term><command>ntlm_auth</command></term>
|
---|
| 609 | <listitem>
|
---|
| 610 | <para>is a tool to allow external access to Winbind's
|
---|
| 611 | NTLM authentication function.</para>
|
---|
[45f56ac] | 612 | <indexterm zone="samba ntlm_auth">
|
---|
[99ef1fc] | 613 | <primary sortas="b-ntlm_auth">ntlm_auth</primary>
|
---|
| 614 | </indexterm>
|
---|
| 615 | </listitem>
|
---|
| 616 | </varlistentry>
|
---|
| 617 |
|
---|
| 618 | <varlistentry id="pdbedit">
|
---|
| 619 | <term><command>pdbedit</command></term>
|
---|
| 620 | <listitem>
|
---|
| 621 | <para>is a tool used to manage the SAM database.</para>
|
---|
[45f56ac] | 622 | <indexterm zone="samba pdbedit">
|
---|
[99ef1fc] | 623 | <primary sortas="b-pdbedit">pdbedit</primary>
|
---|
| 624 | </indexterm>
|
---|
| 625 | </listitem>
|
---|
| 626 | </varlistentry>
|
---|
| 627 |
|
---|
| 628 | <varlistentry id="profiles">
|
---|
| 629 | <term><command>profiles</command></term>
|
---|
| 630 | <listitem>
|
---|
| 631 | <para>is a utility that reports and changes SIDs in Windows
|
---|
| 632 | registry files. It currently only supports Windows NT.</para>
|
---|
[45f56ac] | 633 | <indexterm zone="samba profiles">
|
---|
[99ef1fc] | 634 | <primary sortas="b-profiles">profiles</primary>
|
---|
| 635 | </indexterm>
|
---|
| 636 | </listitem>
|
---|
| 637 | </varlistentry>
|
---|
| 638 |
|
---|
| 639 | <varlistentry id="rpcclient">
|
---|
| 640 | <term><command>rpcclient</command></term>
|
---|
| 641 | <listitem>
|
---|
| 642 | <para>is used to execute MS-RPC client side functions.</para>
|
---|
[45f56ac] | 643 | <indexterm zone="samba rpcclient">
|
---|
[99ef1fc] | 644 | <primary sortas="b-rpcclient">rpcclient</primary>
|
---|
| 645 | </indexterm>
|
---|
| 646 | </listitem>
|
---|
| 647 | </varlistentry>
|
---|
| 648 |
|
---|
[f4c0a45] | 649 | <varlistentry id="sharesec">
|
---|
| 650 | <term><command>sharesec</command></term>
|
---|
| 651 | <listitem>
|
---|
| 652 | <para>manipulates share ACL permissions on SMB file shares.</para>
|
---|
[45f56ac] | 653 | <indexterm zone="samba sharesec">
|
---|
[f4c0a45] | 654 | <primary sortas="b-sharesec">sharesec</primary>
|
---|
| 655 | </indexterm>
|
---|
| 656 | </listitem>
|
---|
| 657 | </varlistentry>
|
---|
| 658 |
|
---|
[99ef1fc] | 659 | <varlistentry id="smbcacls">
|
---|
| 660 | <term><command>smbcacls</command></term>
|
---|
| 661 | <listitem>
|
---|
| 662 | <para>is used to manipulate Windows NT access control lists.</para>
|
---|
[45f56ac] | 663 | <indexterm zone="samba smbcacls">
|
---|
[99ef1fc] | 664 | <primary sortas="b-smbcacls">smbcacls</primary>
|
---|
| 665 | </indexterm>
|
---|
| 666 | </listitem>
|
---|
| 667 | </varlistentry>
|
---|
| 668 |
|
---|
| 669 | <varlistentry id="smbclient">
|
---|
| 670 | <term><command>smbclient</command></term>
|
---|
| 671 | <listitem>
|
---|
| 672 | <para>is a SMB/CIFS access utility, similar to FTP.</para>
|
---|
[45f56ac] | 673 | <indexterm zone="samba smbclient">
|
---|
[99ef1fc] | 674 | <primary sortas="b-smbclient">smbclient</primary>
|
---|
| 675 | </indexterm>
|
---|
| 676 | </listitem>
|
---|
| 677 | </varlistentry>
|
---|
| 678 |
|
---|
| 679 | <varlistentry id="smbcontrol">
|
---|
| 680 | <term><command>smbcontrol</command></term>
|
---|
| 681 | <listitem>
|
---|
| 682 | <para>is used to control running <command>smbd</command>,
|
---|
| 683 | <command>nmbd</command> and <command>winbindd</command>
|
---|
| 684 | daemons.</para>
|
---|
[45f56ac] | 685 | <indexterm zone="samba smbcontrol">
|
---|
[99ef1fc] | 686 | <primary sortas="b-smbcontrol">smbcontrol</primary>
|
---|
| 687 | </indexterm>
|
---|
| 688 | </listitem>
|
---|
| 689 | </varlistentry>
|
---|
| 690 |
|
---|
| 691 | <varlistentry id="smbcquotas">
|
---|
| 692 | <term><command>smbcquotas</command></term>
|
---|
| 693 | <listitem>
|
---|
| 694 | <para>is used to manipulate Windows NT quotas on
|
---|
| 695 | SMB file shares.</para>
|
---|
[45f56ac] | 696 | <indexterm zone="samba smbcquotas">
|
---|
[99ef1fc] | 697 | <primary sortas="b-smbcquotas">smbcquotas</primary>
|
---|
| 698 | </indexterm>
|
---|
| 699 | </listitem>
|
---|
| 700 | </varlistentry>
|
---|
| 701 |
|
---|
| 702 | <varlistentry id="smbd">
|
---|
| 703 | <term><command>smbd</command></term>
|
---|
| 704 | <listitem>
|
---|
| 705 | <para>is the main <application>Samba</application> daemon which
|
---|
| 706 | provides SMB/CIFS services to clients.</para>
|
---|
[45f56ac] | 707 | <indexterm zone="samba smbd">
|
---|
[99ef1fc] | 708 | <primary sortas="b-smbd">smbd</primary>
|
---|
| 709 | </indexterm>
|
---|
| 710 | </listitem>
|
---|
| 711 | </varlistentry>
|
---|
| 712 |
|
---|
[a8ecf657] | 713 | <varlistentry id="smbget">
|
---|
| 714 | <term><command>smbget</command></term>
|
---|
| 715 | <listitem>
|
---|
| 716 | <para>is a simple utility with <command>wget</command>-like
|
---|
| 717 | semantics, that can download files from SMB servers. You can specify
|
---|
| 718 | the files you would like to download on the command-line.</para>
|
---|
[45f56ac] | 719 | <indexterm zone="samba smbget">
|
---|
[a8ecf657] | 720 | <primary sortas="b-smbget">smbget</primary>
|
---|
| 721 | </indexterm>
|
---|
| 722 | </listitem>
|
---|
| 723 | </varlistentry>
|
---|
| 724 |
|
---|
[99ef1fc] | 725 | <varlistentry id="smbpasswd">
|
---|
| 726 | <term><command>smbpasswd</command></term>
|
---|
| 727 | <listitem>
|
---|
| 728 | <para>changes a user's <application>Samba</application>
|
---|
| 729 | password.</para>
|
---|
[45f56ac] | 730 | <indexterm zone="samba smbpasswd">
|
---|
[99ef1fc] | 731 | <primary sortas="b-smbpasswd">smbpasswd</primary>
|
---|
| 732 | </indexterm>
|
---|
| 733 | </listitem>
|
---|
| 734 | </varlistentry>
|
---|
| 735 |
|
---|
| 736 | <varlistentry id="smbspool">
|
---|
| 737 | <term><command>smbspool</command></term>
|
---|
| 738 | <listitem>
|
---|
| 739 | <para>sends a print job to an SMB printer.</para>
|
---|
[45f56ac] | 740 | <indexterm zone="samba smbspool">
|
---|
[99ef1fc] | 741 | <primary sortas="b-smbspool">smbspool</primary>
|
---|
| 742 | </indexterm>
|
---|
| 743 | </listitem>
|
---|
| 744 | </varlistentry>
|
---|
| 745 |
|
---|
| 746 | <varlistentry id="smbstatus">
|
---|
| 747 | <term><command>smbstatus</command></term>
|
---|
| 748 | <listitem>
|
---|
| 749 | <para>reports current <application>Samba</application>
|
---|
| 750 | connections.</para>
|
---|
[45f56ac] | 751 | <indexterm zone="samba smbstatus">
|
---|
[99ef1fc] | 752 | <primary sortas="b-smbstatus">smbstatus</primary>
|
---|
| 753 | </indexterm>
|
---|
| 754 | </listitem>
|
---|
| 755 | </varlistentry>
|
---|
| 756 |
|
---|
| 757 | <varlistentry id="smbtar">
|
---|
| 758 | <term><command>smbtar</command></term>
|
---|
| 759 | <listitem>
|
---|
| 760 | <para>is a shell script used for backing up SMB/CIFS shares
|
---|
| 761 | directly to Linux tape drives or a file.</para>
|
---|
[45f56ac] | 762 | <indexterm zone="samba smbtar">
|
---|
[99ef1fc] | 763 | <primary sortas="b-smbtar">smbtar</primary>
|
---|
| 764 | </indexterm>
|
---|
| 765 | </listitem>
|
---|
| 766 | </varlistentry>
|
---|
| 767 |
|
---|
| 768 | <varlistentry id="smbtree">
|
---|
| 769 | <term><command>smbtree</command></term>
|
---|
| 770 | <listitem>
|
---|
| 771 | <para>is a text-based SMB network browser.</para>
|
---|
[45f56ac] | 772 | <indexterm zone="samba smbtree">
|
---|
[99ef1fc] | 773 | <primary sortas="b-smbtree">smbtree</primary>
|
---|
| 774 | </indexterm>
|
---|
| 775 | </listitem>
|
---|
| 776 | </varlistentry>
|
---|
| 777 |
|
---|
| 778 | <varlistentry id="tdbbackup">
|
---|
| 779 | <term><command>tdbbackup</command></term>
|
---|
| 780 | <listitem>
|
---|
| 781 | <para>is a tool for backing up or validating the integrity of
|
---|
| 782 | <application>Samba</application> <filename>.tdb</filename>
|
---|
| 783 | files.</para>
|
---|
[45f56ac] | 784 | <indexterm zone="samba tdbbackup">
|
---|
[99ef1fc] | 785 | <primary sortas="b-tdbbackup">tdbbackup</primary>
|
---|
| 786 | </indexterm>
|
---|
| 787 | </listitem>
|
---|
| 788 | </varlistentry>
|
---|
| 789 |
|
---|
| 790 | <varlistentry id="tdbdump">
|
---|
| 791 | <term><command>tdbdump</command></term>
|
---|
| 792 | <listitem>
|
---|
| 793 | <para> is a tool used to print the contents of a
|
---|
| 794 | <application>Samba</application> <filename>.tdb</filename>
|
---|
| 795 | file.</para>
|
---|
[45f56ac] | 796 | <indexterm zone="samba tdbdump">
|
---|
[99ef1fc] | 797 | <primary sortas="b-tdbdump">tdbdump</primary>
|
---|
| 798 | </indexterm>
|
---|
| 799 | </listitem>
|
---|
| 800 | </varlistentry>
|
---|
| 801 |
|
---|
| 802 | <varlistentry id="tdbtool">
|
---|
| 803 | <term><command>tdbtool</command></term>
|
---|
| 804 | <listitem>
|
---|
| 805 | <para>is a tool which allows simple database manipulation from the
|
---|
| 806 | command line.</para>
|
---|
[45f56ac] | 807 | <indexterm zone="samba tdbtool">
|
---|
[99ef1fc] | 808 | <primary sortas="b-tdbtool">tdbtool</primary>
|
---|
| 809 | </indexterm>
|
---|
| 810 | </listitem>
|
---|
| 811 | </varlistentry>
|
---|
| 812 |
|
---|
| 813 | <varlistentry id="testparm">
|
---|
| 814 | <term><command>testparm</command></term>
|
---|
| 815 | <listitem>
|
---|
| 816 | <para>checks an <filename>smb.conf</filename> file for proper
|
---|
| 817 | syntax.</para>
|
---|
[45f56ac] | 818 | <indexterm zone="samba testparm">
|
---|
[99ef1fc] | 819 | <primary sortas="b-testparm">testparm</primary>
|
---|
| 820 | </indexterm>
|
---|
| 821 | </listitem>
|
---|
| 822 | </varlistentry>
|
---|
| 823 |
|
---|
| 824 | <varlistentry id="wbinfo">
|
---|
| 825 | <term><command>wbinfo</command></term>
|
---|
| 826 | <listitem>
|
---|
| 827 | <para>queries a running <command>winbindd</command> daemon.</para>
|
---|
[45f56ac] | 828 | <indexterm zone="samba wbinfo">
|
---|
[99ef1fc] | 829 | <primary sortas="b-wbinfo">wbinfo</primary>
|
---|
| 830 | </indexterm>
|
---|
| 831 | </listitem>
|
---|
| 832 | </varlistentry>
|
---|
| 833 |
|
---|
| 834 | <varlistentry id="winbindd">
|
---|
| 835 | <term><command>winbindd</command></term>
|
---|
| 836 | <listitem>
|
---|
| 837 | <para>resolves names from Windows NT servers.</para>
|
---|
[45f56ac] | 838 | <indexterm zone="samba winbindd">
|
---|
[99ef1fc] | 839 | <primary sortas="b-winbindd">winbindd</primary>
|
---|
| 840 | </indexterm>
|
---|
| 841 | </listitem>
|
---|
| 842 | </varlistentry>
|
---|
| 843 |
|
---|
[f4c0a45] | 844 | <varlistentry id="libnss_winbind">
|
---|
| 845 | <term><filename class='libraryfile'>libnss_winbind.so</filename></term>
|
---|
| 846 | <listitem>
|
---|
| 847 | <para>provides Name Service Switch API functions for resolving names
|
---|
| 848 | from NT servers.</para>
|
---|
[45f56ac] | 849 | <indexterm zone="samba libnss_winbind">
|
---|
[f4c0a45] | 850 | <primary sortas="c-libnss_winbind">libnss_winbind.so</primary>
|
---|
| 851 | </indexterm>
|
---|
| 852 | </listitem>
|
---|
| 853 | </varlistentry>
|
---|
| 854 |
|
---|
| 855 | <varlistentry id="libnss_wins">
|
---|
| 856 | <term><filename class='libraryfile'>libnss_wins.so</filename></term>
|
---|
| 857 | <listitem>
|
---|
| 858 | <para>provides API functions for Samba's implementation of the
|
---|
| 859 | Windows Internet Naming Service.</para>
|
---|
[45f56ac] | 860 | <indexterm zone="samba libnss_wins">
|
---|
[f4c0a45] | 861 | <primary sortas="c-libnss_wins">libnss_wins.so</primary>
|
---|
| 862 | </indexterm>
|
---|
| 863 | </listitem>
|
---|
| 864 | </varlistentry>
|
---|
| 865 |
|
---|
| 866 | <varlistentry id="libnetapi">
|
---|
| 867 | <term><filename class='libraryfile'>libnetapi.so</filename></term>
|
---|
| 868 | <listitem>
|
---|
| 869 | <para>provides the API functions for the administration tools used
|
---|
| 870 | for Samba and remote CIFS servers.</para>
|
---|
[45f56ac] | 871 | <indexterm zone="samba libnetapi">
|
---|
[f4c0a45] | 872 | <primary sortas="c-libnetapi">libnetapi.so</primary>
|
---|
| 873 | </indexterm>
|
---|
| 874 | </listitem>
|
---|
| 875 | </varlistentry>
|
---|
| 876 |
|
---|
| 877 | <varlistentry id="libsmbclient">
|
---|
| 878 | <term><filename class='libraryfile'>libsmbclient.so</filename></term>
|
---|
| 879 | <listitem>
|
---|
| 880 | <para>provides the API functions for the Samba SMB client tools.</para>
|
---|
[45f56ac] | 881 | <indexterm zone="samba libsmbclient">
|
---|
[f4c0a45] | 882 | <primary sortas="c-libsmbclient">libsmbclient.so</primary>
|
---|
| 883 | </indexterm>
|
---|
| 884 | </listitem>
|
---|
| 885 | </varlistentry>
|
---|
| 886 |
|
---|
| 887 | <varlistentry id="libsmbsharemodes">
|
---|
| 888 | <term><filename class='libraryfile'>libsmbsharemodes.so</filename></term>
|
---|
| 889 | <listitem>
|
---|
| 890 | <para>provides API functions for accessing SMB share modes
|
---|
| 891 | (locks etc.)</para>
|
---|
[45f56ac] | 892 | <indexterm zone="samba libsmbsharemodes">
|
---|
[f4c0a45] | 893 | <primary sortas="c-libsmbsharemodes">libsmbsharemodes.so</primary>
|
---|
| 894 | </indexterm>
|
---|
| 895 | </listitem>
|
---|
| 896 | </varlistentry>
|
---|
| 897 |
|
---|
| 898 | <varlistentry id="libwbclient">
|
---|
| 899 | <term><filename class='libraryfile'>libwbclient.so</filename></term>
|
---|
| 900 | <listitem>
|
---|
| 901 | <para>provides API functions for Windows domain client services.</para>
|
---|
[45f56ac] | 902 | <indexterm zone="samba libwbclient">
|
---|
[f4c0a45] | 903 | <primary sortas="c-libwbclient">libwbclient.so</primary>
|
---|
| 904 | </indexterm>
|
---|
| 905 | </listitem>
|
---|
| 906 | </varlistentry>
|
---|
| 907 |
|
---|
[99ef1fc] | 908 | </variablelist>
|
---|
| 909 |
|
---|
| 910 | </sect2>
|
---|
| 911 |
|
---|
| 912 | </sect1>
|
---|