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