[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 |
|
---|
[18f2584] | 7 | <!ENTITY samba-download-http "https://download.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz">
|
---|
[1c73261] | 8 | <!ENTITY samba-download-ftp " ">
|
---|
[99bc211] | 9 | <!ENTITY samba-md5sum "83b1af8a9899ab4de99f155fc42c83dd">
|
---|
[defca61] | 10 | <!ENTITY samba-size "20 MB">
|
---|
[99bc211] | 11 | <!ENTITY samba-buildsize "464 MB (add 15 MB for quicktest, reputedly up to 500 MB additional for all tests)">
|
---|
[5ca14bdd] | 12 | <!ENTITY samba-time "2.1 SBU, using parallelism=4 (add 0.4 SBU for quicktest, reputedly 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 |
|
---|
[a5c252d] | 39 | &lfs79_checked;
|
---|
[99bc211] | 40 | &gcc6_checked;
|
---|
[ee792ef] | 41 |
|
---|
[99ef1fc] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[45f56ac] | 45 | <para>Download (HTTP): <ulink url="&samba-download-http;"/></para>
|
---|
[99ef1fc] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[45f56ac] | 48 | <para>Download (FTP): <ulink url="&samba-download-ftp;"/></para>
|
---|
[99ef1fc] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[45f56ac] | 51 | <para>Download MD5 sum: &samba-md5sum;</para>
|
---|
[99ef1fc] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[45f56ac] | 54 | <para>Download size: &samba-size;</para>
|
---|
[99ef1fc] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[45f56ac] | 57 | <para>Estimated disk space required: &samba-buildsize;</para>
|
---|
[99ef1fc] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[45f56ac] | 60 | <para>Estimated build time: &samba-time;</para>
|
---|
[99ef1fc] | 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect3">Samba Dependencies</bridgehead>
|
---|
| 65 |
|
---|
[e85edcc] | 66 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[7cae14c] | 67 | <para role="required">
|
---|
[fe15290] | 68 | <xref linkend="python2"/>
|
---|
[7cae14c] | 69 | </para>
|
---|
[e85edcc] | 70 |
|
---|
[6e08e9c0] | 71 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[e242b9a] | 72 | <para role="recommended">
|
---|
[defca61] | 73 | <xref linkend="libxslt"/> (for documentation) and
|
---|
| 74 | <xref linkend="openldap"/>
|
---|
[6e08e9c0] | 75 | </para>
|
---|
| 76 |
|
---|
[99ef1fc] | 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7cae14c] | 78 | <para role="optional">
|
---|
[5f1ca9f] | 79 | <xref linkend="avahi"/>,
|
---|
[7cae14c] | 80 | <xref linkend="cups"/>,
|
---|
[2ae8864] | 81 | <xref linkend="gnutls"/>,
|
---|
[defca61] | 82 | <xref linkend="libarchive"/>,
|
---|
[5f1ca9f] | 83 | <xref linkend="libcap-pam"/>,
|
---|
[2ae8864] | 84 | <xref linkend="libgpg-error"/>,
|
---|
[5f1ca9f] | 85 | <xref linkend="linux-pam"/>,
|
---|
[5ca14bdd] | 86 | <xref linkend="mitkrb"/>,
|
---|
[5f1ca9f] | 87 | <xref linkend="popt"/>,
|
---|
[d9e0208] | 88 | <xref linkend="python3"/>,
|
---|
[79ba2ea] | 89 | <xref linkend="talloc"/>,
|
---|
[5f1ca9f] | 90 | <xref linkend="valgrind"/> (optionally used by the test suite),
|
---|
[7cae14c] | 91 | <xref linkend="xfsprogs"/>,
|
---|
[defca61] | 92 | <ulink url="https://ctdb.samba.org/">ctdb</ulink>,
|
---|
[5f1ca9f] | 93 | <ulink url="https://people.gnome.org/~veillard/gamin/">Gamin</ulink>,
|
---|
[defca61] | 94 | <ulink url="http://www.h5l.org/">Heimdal</ulink>,
|
---|
[2ae8864] | 95 | <ulink url="http://ftp.de.debian.org/debian/pool/main/liba/libaio/">libaio</ulink>,
|
---|
[7cae14c] | 96 | <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
|
---|
[defca61] | 97 | <ulink url="https://www.samba.org/ftp/ldb/">ldb</ulink>,
|
---|
| 98 | <ulink url="http://www.openafs.org/">OpenAFS</ulink>,
|
---|
| 99 | <ulink url="https://tevent.samba.org/">tevent</ulink>, and
|
---|
| 100 | <ulink url="https://tdb.samba.org/">tdb</ulink>
|
---|
[f1607a4] | 101 | </para>
|
---|
[6dcdcde] | 102 |
|
---|
[3cb0c57] | 103 | <para condition="html" role="usernotes">User Notes:
|
---|
[216b521] | 104 | <ulink url="&blfs-wiki;/samba4"/></para>
|
---|
[3cb0c57] | 105 |
|
---|
[99ef1fc] | 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of Samba</title>
|
---|
[2ae8864] | 110 |
|
---|
[22320b4c] | 111 | <note>
|
---|
[defca61] | 112 | <para>If you wish to run the test suite after the binaries are built, you
|
---|
| 113 | must add the <option>--enable-selftest</option> parameter to the
|
---|
| 114 | <command>configure</command> script below. You may want to run
|
---|
| 115 | <command>configure</command> with the <option>--help</option> parameter
|
---|
| 116 | first. There may be other parameters needed to take advantage of optional
|
---|
| 117 | dependencies.</para>
|
---|
[2ae8864] | 118 | </note>
|
---|
[22320b4c] | 119 |
|
---|
[65dea1b6] | 120 | <para>Install <application>Samba</application> by running the following
|
---|
| 121 | commands:</para>
|
---|
| 122 |
|
---|
[dbcebcf] | 123 | <screen><userinput>./configure \
|
---|
| 124 | --prefix=/usr \
|
---|
| 125 | --sysconfdir=/etc \
|
---|
| 126 | --localstatedir=/var \
|
---|
| 127 | --with-piddir=/run/samba \
|
---|
| 128 | --with-pammodulesdir=/lib/security \
|
---|
[5ca14bdd] | 129 | --enable-fhs \
|
---|
| 130 | --without-ad-dc \
|
---|
| 131 | --without-systemd &&
|
---|
[7cae14c] | 132 | make</userinput></screen>
|
---|
[2ae8864] | 133 |
|
---|
[99bc211] | 134 | <!--
|
---|
[99ece5d] | 135 | <para>According to <application>Samba</application> developers, the
|
---|
| 136 | limitation to 108 characters of the path length of a unix named pipe socket
|
---|
| 137 | may be the cause of errors, so that over 1/3 of the tests might fail. For
|
---|
[99bc211] | 138 | this reason, the switch <option>- -with-selftest-prefix=/tmp/quick</option>
|
---|
[99ece5d] | 139 | (or another path with small number of characters) can be used with
|
---|
[f3429309] | 140 | configure. Even so, the
|
---|
[99ece5d] | 141 | <quote><replaceable>samba3.raw.eas</replaceable></quote> test may fail,
|
---|
| 142 | apparently for the same reason. If one quicktest fails, it can be disabled.
|
---|
| 143 | For example, <quote><replaceable>samba3.raw.eas</replaceable></quote> may
|
---|
| 144 | be disabled with the following command:</para>
|
---|
| 145 |
|
---|
| 146 | <screen><userinput>sed -i "/samba3.blackbox.failure.failure/i \^samba3.raw.eas" selftest/knownfail</userinput></screen>
|
---|
[99bc211] | 147 | -->
|
---|
[99c32731] | 148 | <para>To test the results, as the
|
---|
| 149 | <systemitem class="username">root</systemitem> user, issue:
|
---|
| 150 | <command>make quicktest 2>&1 | tee quicktest.log</command>. Summary of
|
---|
| 151 | the test results and some other information may be obtained with
|
---|
| 152 | <command>grep -A5 testsuites quicktest.log</command>. There are other
|
---|
| 153 | targets (test, subunit-test) available, but take a very long time
|
---|
| 154 | (over 100 SBU).</para>
|
---|
[0f53ca47] | 155 |
|
---|
[99ef1fc] | 156 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[38b41c2] | 157 |
|
---|
[214b9ac] | 158 | <screen role="root"><userinput>make install &&
|
---|
| 159 |
|
---|
[7cae14c] | 160 | mv -v /usr/lib/libnss_win{s,bind}.so* /lib &&
|
---|
| 161 | ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so &&
|
---|
| 162 | ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so &&
|
---|
[214b9ac] | 163 |
|
---|
[b0ed6bdf] | 164 | install -v -m644 examples/smb.conf.default /etc/samba &&
|
---|
[214b9ac] | 165 |
|
---|
[7cae14c] | 166 | mkdir -pv /etc/openldap/schema &&
|
---|
| 167 |
|
---|
| 168 | install -v -m644 examples/LDAP/README \
|
---|
| 169 | /etc/openldap/schema/README.LDAP &&
|
---|
[f3429309] | 170 |
|
---|
[7cae14c] | 171 | install -v -m644 examples/LDAP/samba* \
|
---|
| 172 | /etc/openldap/schema &&
|
---|
[f3429309] | 173 |
|
---|
[96770a19] | 174 | install -v -m755 examples/LDAP/{get*,ol*} \
|
---|
[d9e0208] | 175 | /etc/openldap/schema</userinput></screen>
|
---|
[7cae14c] | 176 |
|
---|
[99ef1fc] | 177 | </sect2>
|
---|
| 178 |
|
---|
| 179 | <sect2 role="commands">
|
---|
| 180 | <title>Command Explanations</title>
|
---|
| 181 |
|
---|
[d18b639] | 182 | <para><parameter>--enable-fhs</parameter>: Assigns all other file paths in
|
---|
[99ef1fc] | 183 | a manner compliant with the Filesystem Hierarchy Standard (FHS).</para>
|
---|
| 184 |
|
---|
[99ece5d] | 185 | <para><parameter>--without-systemd</parameter>: Disable
|
---|
| 186 | <application>systemd</application> integration, which is not part of
|
---|
| 187 | LFS/BLFS. If you use <application>systemd</application>, replace by
|
---|
| 188 | <parameter>--with-systemd</parameter>.</para>
|
---|
[5ca14bdd] | 189 |
|
---|
| 190 | <para><option>--without-ad-dc</option>: Disable Active Directory Domain
|
---|
| 191 | Controller functionality. See <ulink
|
---|
| 192 | url="https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller">
|
---|
| 193 | Setup a Samba Active Directory Domain Controller</ulink> for detailed
|
---|
| 194 | information. </para>
|
---|
[6dcdcde] | 195 |
|
---|
[08bb11c1] | 196 | <para><option>--with-selftest-prefix=SELFTEST_PREFIX</option>: This option
|
---|
| 197 | specify the test suite work directory (default=./st).</para>
|
---|
[99ece5d] | 198 |
|
---|
[7cae14c] | 199 | <para><command>mv -v /usr/lib/libnss_win{s,bind}.so* /lib</command>:
|
---|
| 200 | The nss libraries are installed in /usr/lib by default. Move them to
|
---|
| 201 | /lib.</para>
|
---|
[e85edcc] | 202 |
|
---|
[7cae14c] | 203 | <para><command>ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so</command>
|
---|
| 204 | and <command>ln -v -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so</command>:
|
---|
| 205 | These symlinks are required when applicates build against these libraries.</para>
|
---|
[5e8ab95] | 206 |
|
---|
[7cae14c] | 207 | <para><command>install -v -m644 examples/LDAP/* /etc/openldap/schema</command>:
|
---|
| 208 | These commands are used to copy sample Samba schemas to the OpenLDAP
|
---|
[f4c0a45] | 209 | <filename class='directory'>schema</filename> directory.</para>
|
---|
[99ef1fc] | 210 |
|
---|
| 211 | <para><command>install -v -m644 ../examples/smb.conf.default
|
---|
| 212 | /etc/samba</command>: This copies a default <filename>smb.conf</filename>
|
---|
[2ccb0dc] | 213 | file into <filename>/etc/samba</filename>. This sample configuration will
|
---|
| 214 | not work until you copy it to <filename>/etc/samba/smb.conf</filename> and
|
---|
| 215 | make the appropriate changes for your installation. See the configuration
|
---|
| 216 | section for minimum values which must be set.</para>
|
---|
[99ef1fc] | 217 |
|
---|
| 218 | </sect2>
|
---|
| 219 |
|
---|
| 220 | <sect2 role="configuration">
|
---|
| 221 | <title>Configuring Samba</title>
|
---|
| 222 |
|
---|
[45f56ac] | 223 | <sect3 id="samba-config">
|
---|
[99ef1fc] | 224 | <title>Config Files</title>
|
---|
| 225 |
|
---|
| 226 | <para>/etc/samba/smb.conf</para>
|
---|
| 227 |
|
---|
[45f56ac] | 228 | <indexterm zone="samba samba-config">
|
---|
[99ef1fc] | 229 | <primary sortas="e-etc-samba-smb.conf">/etc/samba/smb.conf</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 |
|
---|
| 232 | </sect3>
|
---|
[e75747d1] | 233 |
|
---|
[2ccb0dc] | 234 | <sect3>
|
---|
[fc290c7] | 235 | <title>Printing to SMB Clients</title>
|
---|
[2ccb0dc] | 236 |
|
---|
[fc290c7] | 237 | <para>If you use <application>CUPS</application> for print services,
|
---|
| 238 | and you wish to print to a printer attached to an SMB client, you
|
---|
| 239 | need to create an SMB backend device. To create the device, issue the
|
---|
| 240 | following command as the <systemitem class="username">root</systemitem>
|
---|
| 241 | user:</para>
|
---|
[2ccb0dc] | 242 |
|
---|
[fc290c7] | 243 | <screen role="root"><userinput>ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</userinput></screen>
|
---|
[2ccb0dc] | 244 |
|
---|
| 245 | </sect3>
|
---|
| 246 |
|
---|
[99ef1fc] | 247 | <sect3>
|
---|
[fc290c7] | 248 | <title>Configuration Information</title>
|
---|
[99ef1fc] | 249 |
|
---|
| 250 | <para>Due to the complexity and the many various uses for
|
---|
[fc290c7] | 251 | <application>Samba</application>, complete configuration for all the
|
---|
[e59bdce] | 252 | package's capabilities is well beyond the scope of the BLFS book. This
|
---|
[fc290c7] | 253 | section provides instructions to configure the
|
---|
| 254 | <filename>/etc/samba/smb.conf</filename> file for two common scenarios.
|
---|
| 255 | The complete contents of <filename>/etc/samba/smb.conf</filename> will
|
---|
[bccbdaea] | 256 | depend on the purpose of <application>Samba</application>
|
---|
[fc290c7] | 257 | installation.</para>
|
---|
| 258 |
|
---|
| 259 | <note>
|
---|
| 260 | <para>You may find it easier to copy the configuration parameters shown
|
---|
| 261 | below into an empty <filename>/etc/samba/smb.conf</filename> file
|
---|
| 262 | instead of copying and editing the default file as mentioned in the
|
---|
| 263 | <quote>Command Explanations</quote> section. How you create/edit the
|
---|
| 264 | <filename>/etc/samba/smb.conf</filename> file will be left up to
|
---|
| 265 | you. Do ensure the file is only writeable by the
|
---|
| 266 | <systemitem class="username">root</systemitem> user (mode 644).</para>
|
---|
| 267 | </note>
|
---|
| 268 |
|
---|
| 269 | <sect4>
|
---|
| 270 | <title>Scenario 1: Minimal Standalone Client-Only Installation</title>
|
---|
| 271 |
|
---|
[bccbdaea] | 272 | <para>Choose this variant if you only want to transfer files using
|
---|
[fc290c7] | 273 | <command>smbclient</command>, mount Windows shares and print to Windows
|
---|
[bccbdaea] | 274 | printers, and don't want to share your files and printers to Windows
|
---|
[fc290c7] | 275 | machines.</para>
|
---|
| 276 |
|
---|
| 277 | <para>A <filename>/etc/samba/smb.conf</filename> file with the following
|
---|
| 278 | three parameters is sufficient:</para>
|
---|
| 279 |
|
---|
| 280 | <screen role='root'><literal>[global]
|
---|
| 281 | workgroup = <replaceable>MYGROUP</replaceable>
|
---|
| 282 | dos charset = <replaceable>cp850</replaceable>
|
---|
| 283 | unix charset = <replaceable>ISO-8859-1</replaceable></literal></screen>
|
---|
| 284 |
|
---|
| 285 | <para>The values in this example specify that the computer belongs to a
|
---|
| 286 | Windows workgroup named
|
---|
| 287 | <quote><replaceable>MYGROUP</replaceable></quote>, uses the
|
---|
| 288 | <quote><replaceable>cp850</replaceable></quote> character set on the
|
---|
| 289 | wire when talking to MS-DOS and MS Windows 9x, and that the filenames
|
---|
| 290 | are stored in the <quote><replaceable>ISO-8859-1</replaceable></quote>
|
---|
| 291 | encoding on the disk. Adjust these values appropriately for your
|
---|
| 292 | installation. The <quote>unix charset</quote> value must be the same as
|
---|
| 293 | the output of <command>locale charmap</command> when executed with the
|
---|
| 294 | <envar>LANG</envar> variable set to your preferred locale, otherwise the
|
---|
| 295 | <command>ls</command> command may not display correct filenames of
|
---|
| 296 | downloaded files.</para>
|
---|
| 297 |
|
---|
| 298 | <para>There is no need to run any <application>Samba</application>
|
---|
| 299 | servers in this scenario, thus you don't need to install the provided
|
---|
| 300 | bootscripts.</para>
|
---|
| 301 |
|
---|
| 302 | </sect4>
|
---|
| 303 |
|
---|
| 304 | <sect4>
|
---|
| 305 | <title>Scenario 2: Standalone File/Print Server</title>
|
---|
| 306 |
|
---|
| 307 | <para>Choose this variant if you want to share your files and printers
|
---|
| 308 | to Windows machines in your workgroup in addition to the capabilities
|
---|
| 309 | described in Scenario 1.</para>
|
---|
| 310 |
|
---|
| 311 | <para>In this case, the <filename>/etc/samba/smb.conf.default</filename>
|
---|
[bccbdaea] | 312 | file may be a good template to start from. Also add
|
---|
[fc290c7] | 313 | <quote>dos charset</quote> and <quote>unix charset</quote> parameters
|
---|
| 314 | to the <quote>[global]</quote> section as described in Scenario 1 in
|
---|
[0f53ca47] | 315 | order to prevent filename corruption. For security reasons, you may
|
---|
| 316 | wish to define
|
---|
| 317 | <replaceable>path = /home/alice/shared-files</replaceable>,
|
---|
| 318 | assuming your user name is <replaceable>alice</replaceable> and you
|
---|
| 319 | only want to share the files in that directory, instead of your entire
|
---|
| 320 | home. Then, replace <replaceable>homes</replaceable> by
|
---|
| 321 | <replaceable>shared-files</replaceable> and change also the
|
---|
| 322 | <quote><literal>comment</literal></quote> if used the configuration
|
---|
| 323 | file below or the <filename>/etc/samba/smb.conf.default</filename>
|
---|
| 324 | to create yours.</para>
|
---|
[fc290c7] | 325 |
|
---|
| 326 | <para>The following configuration file creates a separate share for each
|
---|
| 327 | user's home directory and also makes all printers available to Windows
|
---|
| 328 | machines:</para>
|
---|
| 329 |
|
---|
| 330 | <screen role='root'><literal>[global]
|
---|
| 331 | workgroup = <replaceable>MYGROUP</replaceable>
|
---|
| 332 | dos charset = <replaceable>cp850</replaceable>
|
---|
| 333 | unix charset = <replaceable>ISO-8859-1</replaceable>
|
---|
| 334 |
|
---|
| 335 | [homes]
|
---|
| 336 | comment = Home Directories
|
---|
| 337 | browseable = no
|
---|
| 338 | writable = yes
|
---|
| 339 |
|
---|
| 340 | [printers]
|
---|
| 341 | comment = All Printers
|
---|
| 342 | path = /var/spool/samba
|
---|
| 343 | browseable = no
|
---|
| 344 | guest ok = no
|
---|
| 345 | printable = yes</literal></screen>
|
---|
| 346 |
|
---|
[bccbdaea] | 347 | <para>Other parameters you may wish to customize in the
|
---|
[fc290c7] | 348 | <quote>[global]</quote> section include:</para>
|
---|
| 349 |
|
---|
| 350 | <screen role='root'><literal> server string =
|
---|
| 351 | security =
|
---|
| 352 | hosts allow =
|
---|
| 353 | load printers =
|
---|
| 354 | log file =
|
---|
| 355 | max log size =
|
---|
| 356 | socket options =
|
---|
| 357 | local master =</literal></screen>
|
---|
| 358 |
|
---|
| 359 | <para>Reference the comments in the
|
---|
| 360 | <filename>/etc/samba/smb.conf.default</filename> file for information
|
---|
| 361 | regarding these parameters.</para>
|
---|
| 362 |
|
---|
| 363 | <para>Since the <command>smbd</command> and <command>nmbd</command>
|
---|
| 364 | daemons are needed in this case, install the <filename>samba</filename>
|
---|
| 365 | bootscript. Be sure to run <command>smbpasswd</command> (with the
|
---|
| 366 | <option>-a</option> option to add users) to enable and
|
---|
| 367 | set passwords for all accounts that need
|
---|
[96770a19] | 368 | <application>Samba</application> access. Using the default
|
---|
[fc290c7] | 369 | <application>Samba</application> passdb backend, any user you attempt
|
---|
| 370 | to add will also be required to exist in the
|
---|
| 371 | <filename>/etc/passwd</filename> file.</para>
|
---|
| 372 |
|
---|
| 373 | </sect4>
|
---|
| 374 |
|
---|
| 375 | <sect4>
|
---|
| 376 | <title>Advanced Requirements</title>
|
---|
| 377 |
|
---|
| 378 | <para>More complex scenarios involving domain control or membership are
|
---|
[7cae14c] | 379 | possible. Such setups are advanced topics and cannot be adequately
|
---|
| 380 | covered in BLFS. Many complete books have been written on these topics
|
---|
| 381 | alone. Note that in some domain membership scenarios, the
|
---|
| 382 | <command>winbindd</command> daemon and the corresponding bootscript are
|
---|
| 383 | needed.</para>
|
---|
[fc290c7] | 384 |
|
---|
| 385 | <para>There is quite a bit of documentation available which covers many
|
---|
| 386 | of these advanced configurations. Point your web browser to the links
|
---|
| 387 | below to view some of the documentation included with the
|
---|
| 388 | <application>Samba</application> package:</para>
|
---|
| 389 |
|
---|
| 390 | <itemizedlist spacing='compact'>
|
---|
| 391 | <listitem>
|
---|
| 392 | <para>Using Samba, 2nd Edition; a popular book published by O'Reilly
|
---|
[7cae14c] | 393 | <ulink url="http://www.samba.org/samba/docs/using_samba/toc.html"/></para>
|
---|
[fc290c7] | 394 | </listitem>
|
---|
| 395 | <listitem>
|
---|
| 396 | <para>The Official Samba HOWTO and Reference Guide <ulink
|
---|
[7cae14c] | 397 | url="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/"/>
|
---|
[fc290c7] | 398 | </para>
|
---|
| 399 | </listitem>
|
---|
| 400 | <listitem>
|
---|
| 401 | <para>Samba-3 by Example
|
---|
[7cae14c] | 402 | <ulink url="http://www.samba.org/samba/docs/man/Samba-Guide/"/>
|
---|
[fc290c7] | 403 | </para>
|
---|
| 404 | </listitem>
|
---|
| 405 | </itemizedlist>
|
---|
| 406 |
|
---|
| 407 | </sect4>
|
---|
[99ef1fc] | 408 |
|
---|
[45f56ac] | 409 | <sect4 id="samba-init">
|
---|
[75f9474f] | 410 | <title>Boot Script</title>
|
---|
[0d7900a] | 411 |
|
---|
[75f9474f] | 412 | <para>For your convenience, boot scripts have been provided for
|
---|
| 413 | <application>Samba</application>. There are two included in the
|
---|
[3c7bd00] | 414 | <xref linkend="bootscripts" revision="sysv"/>
|
---|
| 415 | <xref linkend="systemd-units" revision="systemd"/> package. The first,
|
---|
[75f9474f] | 416 | <filename>samba</filename>, will start the <command>smbd</command>
|
---|
| 417 | and <command>nmbd</command> daemons needed to provide SMB/CIFS
|
---|
| 418 | services. The second script, <filename>winbind</filename>, starts
|
---|
| 419 | the <command>winbindd</command> daemon, used for providing Windows
|
---|
| 420 | domain services to Linux clients.</para>
|
---|
[0d7900a] | 421 |
|
---|
[45f56ac] | 422 | <indexterm zone="samba samba-init">
|
---|
[75f9474f] | 423 | <primary sortas="f-samba">samba</primary>
|
---|
[fc290c7] | 424 | </indexterm>
|
---|
[0d7900a] | 425 |
|
---|
[45f56ac] | 426 | <indexterm zone="samba samba-init">
|
---|
[75f9474f] | 427 | <primary sortas="f-winbind">winbind</primary>
|
---|
[fc290c7] | 428 | </indexterm>
|
---|
[0d7900a] | 429 |
|
---|
[75f9474f] | 430 | <para>The default <application>Samba</application> installation uses the
|
---|
| 431 | <systemitem class='username'>nobody</systemitem> user for guest access
|
---|
| 432 | to the server. This can be overridden by setting the
|
---|
| 433 | <option>guest account =</option> parameter in the
|
---|
| 434 | <filename>/etc/samba/smb.conf</filename> file. If you utilize the
|
---|
| 435 | <option>guest account =</option> parameter, ensure this user exists in
|
---|
| 436 | the <filename>/etc/passwd</filename> file. To use the default user,
|
---|
| 437 | issue the following commands as the
|
---|
| 438 | <systemitem class='username'>root</systemitem> user:</para>
|
---|
[fc290c7] | 439 |
|
---|
[56be1485] | 440 | <screen role="root"><userinput>groupadd -g 99 nogroup &&
|
---|
[75f9474f] | 441 | useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
|
---|
| 442 | -s /bin/false -u 99 nobody</userinput></screen>
|
---|
[99ef1fc] | 443 |
|
---|
[75f9474f] | 444 | <para>Install the <filename>samba</filename> script with the following
|
---|
| 445 | command issued as the <systemitem class="username">root</systemitem>
|
---|
| 446 | user:</para>
|
---|
[99ef1fc] | 447 |
|
---|
[75f9474f] | 448 | <screen role="root"><userinput>make install-samba</userinput></screen>
|
---|
[99ef1fc] | 449 |
|
---|
[97926ab] | 450 | <para>If you also need the <filename>winbindd</filename>
|
---|
| 451 | script to resolve names from Windows clients, run:</para>
|
---|
[99ef1fc] | 452 |
|
---|
[97926ab] | 453 | <screen role="root"><userinput>make install-winbindd</userinput></screen>
|
---|
[99ef1fc] | 454 |
|
---|
[75f9474f] | 455 | </sect4>
|
---|
[99ef1fc] | 456 |
|
---|
[75f9474f] | 457 | </sect3>
|
---|
[99ef1fc] | 458 |
|
---|
| 459 | </sect2>
|
---|
| 460 |
|
---|
| 461 | <sect2 role="content">
|
---|
| 462 | <title>Contents</title>
|
---|
| 463 |
|
---|
| 464 | <segmentedlist>
|
---|
| 465 | <segtitle>Installed Programs</segtitle>
|
---|
| 466 | <segtitle>Installed Libraries</segtitle>
|
---|
| 467 | <segtitle>Installed Directories</segtitle>
|
---|
| 468 |
|
---|
| 469 | <seglistitem>
|
---|
[7cae14c] | 470 |
|
---|
[defca61] | 471 | <seg>
|
---|
[d9e0208] | 472 | cifsdd, dbwrap_tool, eventlogadm, gentest, ldbadd, ldbdel,
|
---|
| 473 | ldbedit, ldbmodify, ldbrename, ldbsearch, locktest, masktest,
|
---|
| 474 | ndrdump, net, nmbd, nmblookup, ntlm_auth, oLschema2ldif,
|
---|
| 475 | pdbedit, pidl, profiles, regdiff, regpatch, regshell, regtree,
|
---|
| 476 | rpcclient, samba, samba_dnsupdate, samba_kcc, samba-regedit,
|
---|
| 477 | samba_spnupdate, samba-tool, samba_upgradedns, sharesec,
|
---|
| 478 | smbcacls, smbclient, smbcontrol, smbcquotas, smbd, smbget,
|
---|
| 479 | smbpasswd, smbspool, smbstatus, smbtar, smbta-util,
|
---|
| 480 | smbtorture, smbtree, tdbbackup, tdbdump, tdbrestore, tdbtool,
|
---|
| 481 | testparm, wbinfo, and winbindd
|
---|
[defca61] | 482 | </seg>
|
---|
| 483 |
|
---|
| 484 | <seg>
|
---|
| 485 | libdcerpc-atsvc.so, libdcerpc-binding.so, libdcerpc-samr.so,
|
---|
| 486 | libdcerpc-server.so, libdcerpc.so, libgensec.so, libndr-krb5pac.so,
|
---|
| 487 | libndr-nbt.so, libndr.so, libndr-standard.so, libnetapi.so,
|
---|
| 488 | libnss_winbind.so, libnss_wins.so, libregistry.so,
|
---|
| 489 | libsamba-credentials.so, libsamba-hostconfig.so, libsamba-passdb.so,
|
---|
| 490 | libsamba-policy.so, libsamba-util.so, libsamdb.so,
|
---|
| 491 | libsmbclient-raw.so, libsmbclient.so, libsmbconf.so, libsmbldap.so,
|
---|
[dbcebcf] | 492 | libtevent-util.so, libtorture.so, libwbclient.so, <!--mit_samba.so,
|
---|
| 493 | --> and winbind_krb5_locator.so; the pam_winbind.so and pam_smbpass.so
|
---|
| 494 | PAM libraries; and assorted character set, filesystem and support
|
---|
| 495 | modules under /usr/lib/{python&python2-majorver;,samba}
|
---|
[defca61] | 496 | </seg>
|
---|
[f3429309] | 497 |
|
---|
[defca61] | 498 | <seg>
|
---|
| 499 | /etc/samba, /run/samba, /usr/include/samba-4.0,
|
---|
| 500 | /usr/lib/perl5/vendor_perl/5.x.y/Parse/Pidl/{Samba{3,4},Wireshark},
|
---|
| 501 | /usr/lib/python&python2-majorver;/site-packages/samba,
|
---|
[514797f] | 502 | /usr/{lib,share}/samba, and /var/{cache,lib,lock,log,run}/samba
|
---|
[defca61] | 503 | </seg>
|
---|
[7cae14c] | 504 |
|
---|
[99ef1fc] | 505 | </seglistitem>
|
---|
| 506 | </segmentedlist>
|
---|
| 507 |
|
---|
| 508 | <variablelist>
|
---|
| 509 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 510 | <?dbfo list-presentation="list"?>
|
---|
| 511 | <?dbhtml list-presentation="table"?>
|
---|
| 512 |
|
---|
[72d90b67] | 513 | <varlistentry id="cifsdd">
|
---|
| 514 | <term><command>cifsdd</command></term>
|
---|
| 515 | <listitem>
|
---|
| 516 | <para>is the dd command for SMB.</para>
|
---|
| 517 | <indexterm zone="samba cifsdd">
|
---|
| 518 | <primary sortas="b-cifsdd">cifsdd</primary>
|
---|
| 519 | </indexterm>
|
---|
| 520 | </listitem>
|
---|
| 521 | </varlistentry>
|
---|
| 522 |
|
---|
| 523 | <varlistentry id="dbwrap_tool">
|
---|
| 524 | <term><command>dbwrap_tool</command></term>
|
---|
| 525 | <listitem>
|
---|
| 526 | <para>is used to read and manipulate TDB/CTDB databases using
|
---|
| 527 | the dbwrap interface.</para>
|
---|
| 528 | <indexterm zone="samba dbwrap_tool">
|
---|
| 529 | <primary sortas="b-dbwrap_tool">dbwrap_tool</primary>
|
---|
| 530 | </indexterm>
|
---|
| 531 | </listitem>
|
---|
| 532 | </varlistentry>
|
---|
| 533 |
|
---|
[a8ecf657] | 534 | <varlistentry id="eventlogadm">
|
---|
| 535 | <term><command>eventlogadm</command></term>
|
---|
| 536 | <listitem>
|
---|
| 537 | <para>is used to write records to eventlogs from STDIN, add the
|
---|
| 538 | specified source and DLL eventlog registry entries and display the
|
---|
| 539 | active eventlog names (from <filename>smb.conf</filename>).</para>
|
---|
[45f56ac] | 540 | <indexterm zone="samba eventlogadm">
|
---|
[a8ecf657] | 541 | <primary sortas="b-eventlogadm">eventlogadm</primary>
|
---|
| 542 | </indexterm>
|
---|
| 543 | </listitem>
|
---|
| 544 | </varlistentry>
|
---|
| 545 |
|
---|
[72d90b67] | 546 | <varlistentry id="gentest">
|
---|
| 547 | <term><command>gentest</command></term>
|
---|
| 548 | <listitem>
|
---|
| 549 | <para>is used to run random generic SMB operations against two
|
---|
| 550 | SMB servers and show the differences in behavior.</para>
|
---|
| 551 | <indexterm zone="samba gentest">
|
---|
| 552 | <primary sortas="b-gentest">gentest</primary>
|
---|
| 553 | </indexterm>
|
---|
| 554 | </listitem>
|
---|
| 555 | </varlistentry>
|
---|
| 556 |
|
---|
[f4c0a45] | 557 | <varlistentry id="ldbadd">
|
---|
| 558 | <term><command>ldbadd</command></term>
|
---|
| 559 | <listitem>
|
---|
| 560 | <para>is a command-line utility for adding records to an LDB
|
---|
| 561 | database.</para>
|
---|
[45f56ac] | 562 | <indexterm zone="samba ldbadd">
|
---|
[f4c0a45] | 563 | <primary sortas="b-ldbadd">ldbadd</primary>
|
---|
| 564 | </indexterm>
|
---|
| 565 | </listitem>
|
---|
| 566 | </varlistentry>
|
---|
| 567 |
|
---|
| 568 | <varlistentry id="ldbdel">
|
---|
| 569 | <term><command>ldbdel</command></term>
|
---|
| 570 | <listitem>
|
---|
| 571 | <para>is a command-line program for deleting LDB database
|
---|
| 572 | records.</para>
|
---|
[45f56ac] | 573 | <indexterm zone="samba ldbdel">
|
---|
[f4c0a45] | 574 | <primary sortas="b-ldbdel">ldbdel</primary>
|
---|
| 575 | </indexterm>
|
---|
| 576 | </listitem>
|
---|
| 577 | </varlistentry>
|
---|
| 578 |
|
---|
| 579 | <varlistentry id="ldbedit">
|
---|
| 580 | <term><command>ldbedit</command></term>
|
---|
| 581 | <listitem>
|
---|
| 582 | <para>allows you to edit LDB databases using your preferred
|
---|
| 583 | editor.</para>
|
---|
[45f56ac] | 584 | <indexterm zone="samba ldbedit">
|
---|
[f4c0a45] | 585 | <primary sortas="b-ldbedit">ldbedit</primary>
|
---|
| 586 | </indexterm>
|
---|
| 587 | </listitem>
|
---|
| 588 | </varlistentry>
|
---|
| 589 |
|
---|
| 590 | <varlistentry id="ldbmodify">
|
---|
| 591 | <term><command>ldbmodify</command></term>
|
---|
| 592 | <listitem>
|
---|
| 593 | <para>allows you to modify records in an LDB database.</para>
|
---|
[45f56ac] | 594 | <indexterm zone="samba ldbmodify">
|
---|
[f4c0a45] | 595 | <primary sortas="b-ldbmodify">ldbmodify</primary>
|
---|
| 596 | </indexterm>
|
---|
| 597 | </listitem>
|
---|
| 598 | </varlistentry>
|
---|
| 599 |
|
---|
| 600 | <varlistentry id="ldbrename">
|
---|
| 601 | <term><command>ldbrename</command></term>
|
---|
| 602 | <listitem>
|
---|
| 603 | <para>allows you to edit LDB databases using your preferred
|
---|
| 604 | editor.</para>
|
---|
[45f56ac] | 605 | <indexterm zone="samba ldbrename">
|
---|
[f4c0a45] | 606 | <primary sortas="b-ldbrename">ldbrename</primary>
|
---|
| 607 | </indexterm>
|
---|
| 608 | </listitem>
|
---|
| 609 | </varlistentry>
|
---|
| 610 |
|
---|
| 611 | <varlistentry id="ldbsearch">
|
---|
| 612 | <term><command>ldbsearch</command></term>
|
---|
| 613 | <listitem>
|
---|
| 614 | <para>searches an LDB database for records matching a specified
|
---|
| 615 | expression.</para>
|
---|
[45f56ac] | 616 | <indexterm zone="samba ldbsearch">
|
---|
[f4c0a45] | 617 | <primary sortas="b-ldbsearch">ldbsearch</primary>
|
---|
| 618 | </indexterm>
|
---|
| 619 | </listitem>
|
---|
| 620 | </varlistentry>
|
---|
| 621 |
|
---|
[72d90b67] | 622 | <varlistentry id="locktest">
|
---|
| 623 | <term><command>locktest</command></term>
|
---|
| 624 | <listitem>
|
---|
| 625 | <para>is used to find differences in locking between two SMB
|
---|
| 626 | servers.</para>
|
---|
| 627 | <indexterm zone="samba locktest">
|
---|
| 628 | <primary sortas="b-locktest">locktest</primary>
|
---|
| 629 | </indexterm>
|
---|
| 630 | </listitem>
|
---|
| 631 | </varlistentry>
|
---|
| 632 |
|
---|
| 633 | <varlistentry id="masktest">
|
---|
| 634 | <term><command>masktest</command></term>
|
---|
| 635 | <listitem>
|
---|
| 636 | <para>is used to find differences in wildcard matching between
|
---|
| 637 | Samba's implementation and that of a remote server.</para>
|
---|
| 638 | <indexterm zone="samba masktest">
|
---|
| 639 | <primary sortas="b-masktest">masktest</primary>
|
---|
| 640 | </indexterm>
|
---|
| 641 | </listitem>
|
---|
| 642 | </varlistentry>
|
---|
| 643 |
|
---|
| 644 | <varlistentry id="ndrdump">
|
---|
| 645 | <term><command>ndrdump</command></term>
|
---|
| 646 | <listitem>
|
---|
| 647 | <para>is a DCE/RPC Packet Parser and Dumper.</para>
|
---|
| 648 | <indexterm zone="samba ndrdump">
|
---|
| 649 | <primary sortas="b-ndrdump">ndrdump</primary>
|
---|
| 650 | </indexterm>
|
---|
| 651 | </listitem>
|
---|
| 652 | </varlistentry>
|
---|
| 653 |
|
---|
[99ef1fc] | 654 | <varlistentry id="net">
|
---|
| 655 | <term><command>net</command></term>
|
---|
| 656 | <listitem>
|
---|
| 657 | <para>is a tool for administration of
|
---|
| 658 | <application>Samba</application> and remote CIFS servers, similar
|
---|
| 659 | to the <command>net</command> utility for DOS/Windows.</para>
|
---|
[45f56ac] | 660 | <indexterm zone="samba net">
|
---|
[99ef1fc] | 661 | <primary sortas="b-net">net</primary>
|
---|
| 662 | </indexterm>
|
---|
| 663 | </listitem>
|
---|
| 664 | </varlistentry>
|
---|
| 665 |
|
---|
| 666 | <varlistentry id="nmbd">
|
---|
| 667 | <term><command>nmbd</command></term>
|
---|
| 668 | <listitem>
|
---|
| 669 | <para>is the <application>Samba</application>
|
---|
| 670 | NetBIOS name server.</para>
|
---|
[45f56ac] | 671 | <indexterm zone="samba nmbd">
|
---|
[99ef1fc] | 672 | <primary sortas="b-nmbd">nmbd</primary>
|
---|
| 673 | </indexterm>
|
---|
| 674 | </listitem>
|
---|
| 675 | </varlistentry>
|
---|
| 676 |
|
---|
| 677 | <varlistentry id="nmblookup">
|
---|
| 678 | <term><command>nmblookup</command></term>
|
---|
| 679 | <listitem>
|
---|
| 680 | <para>is used to query NetBIOS names and map
|
---|
| 681 | them to IP addresses.</para>
|
---|
[45f56ac] | 682 | <indexterm zone="samba nmblookup">
|
---|
[99ef1fc] | 683 | <primary sortas="b-nmblookup">nmblookup</primary>
|
---|
| 684 | </indexterm>
|
---|
| 685 | </listitem>
|
---|
| 686 | </varlistentry>
|
---|
| 687 |
|
---|
| 688 | <varlistentry id="ntlm_auth">
|
---|
| 689 | <term><command>ntlm_auth</command></term>
|
---|
| 690 | <listitem>
|
---|
| 691 | <para>is a tool to allow external access to Winbind's
|
---|
| 692 | NTLM authentication function.</para>
|
---|
[45f56ac] | 693 | <indexterm zone="samba ntlm_auth">
|
---|
[99ef1fc] | 694 | <primary sortas="b-ntlm_auth">ntlm_auth</primary>
|
---|
| 695 | </indexterm>
|
---|
| 696 | </listitem>
|
---|
| 697 | </varlistentry>
|
---|
| 698 |
|
---|
[72d90b67] | 699 | <varlistentry id="oLschema2ldif">
|
---|
| 700 | <term><command>oLschema2ldif</command></term>
|
---|
| 701 | <listitem>
|
---|
| 702 | <para>converts LDAP schema's to LDB-compatible LDIF.</para>
|
---|
| 703 | <indexterm zone="samba oLschema2ldif">
|
---|
| 704 | <primary sortas="b-oLschema2ldif">oLschema2ldif</primary>
|
---|
| 705 | </indexterm>
|
---|
| 706 | </listitem>
|
---|
| 707 | </varlistentry>
|
---|
| 708 |
|
---|
[99ef1fc] | 709 | <varlistentry id="pdbedit">
|
---|
| 710 | <term><command>pdbedit</command></term>
|
---|
| 711 | <listitem>
|
---|
| 712 | <para>is a tool used to manage the SAM database.</para>
|
---|
[45f56ac] | 713 | <indexterm zone="samba pdbedit">
|
---|
[99ef1fc] | 714 | <primary sortas="b-pdbedit">pdbedit</primary>
|
---|
| 715 | </indexterm>
|
---|
| 716 | </listitem>
|
---|
| 717 | </varlistentry>
|
---|
| 718 |
|
---|
[72d90b67] | 719 | <varlistentry id="pidl">
|
---|
| 720 | <term><command>pidl</command></term>
|
---|
| 721 | <listitem>
|
---|
| 722 | <para>is an IDL (Interface Definition Language) compiler
|
---|
| 723 | written in Perl.</para>
|
---|
| 724 | <indexterm zone="samba pidl">
|
---|
| 725 | <primary sortas="b-pidl">pidl</primary>
|
---|
| 726 | </indexterm>
|
---|
| 727 | </listitem>
|
---|
| 728 | </varlistentry>
|
---|
| 729 |
|
---|
[99ef1fc] | 730 | <varlistentry id="profiles">
|
---|
| 731 | <term><command>profiles</command></term>
|
---|
| 732 | <listitem>
|
---|
| 733 | <para>is a utility that reports and changes SIDs in Windows
|
---|
| 734 | registry files. It currently only supports Windows NT.</para>
|
---|
[45f56ac] | 735 | <indexterm zone="samba profiles">
|
---|
[99ef1fc] | 736 | <primary sortas="b-profiles">profiles</primary>
|
---|
| 737 | </indexterm>
|
---|
| 738 | </listitem>
|
---|
| 739 | </varlistentry>
|
---|
| 740 |
|
---|
[72d90b67] | 741 | <varlistentry id="regdiff">
|
---|
| 742 | <term><command>regdiff</command></term>
|
---|
| 743 | <listitem>
|
---|
| 744 | <para>is a Diff program for Windows registry files.</para>
|
---|
| 745 | <indexterm zone="samba regdiff">
|
---|
| 746 | <primary sortas="b-regdiff">regdiff</primary>
|
---|
| 747 | </indexterm>
|
---|
| 748 | </listitem>
|
---|
| 749 | </varlistentry>
|
---|
| 750 |
|
---|
| 751 | <varlistentry id="regpatch">
|
---|
| 752 | <term><command>regpatch</command></term>
|
---|
| 753 | <listitem>
|
---|
| 754 | <para>applies registry patches to registry files.</para>
|
---|
| 755 | <indexterm zone="samba regpatch">
|
---|
| 756 | <primary sortas="b-regpatch">regpatch</primary>
|
---|
| 757 | </indexterm>
|
---|
| 758 | </listitem>
|
---|
| 759 | </varlistentry>
|
---|
| 760 |
|
---|
| 761 | <varlistentry id="regshell">
|
---|
| 762 | <term><command>regshell</command></term>
|
---|
| 763 | <listitem>
|
---|
| 764 | <para>is a Windows registry file browser using readline.</para>
|
---|
| 765 | <indexterm zone="samba regshell">
|
---|
| 766 | <primary sortas="b-regshell">regshell</primary>
|
---|
| 767 | </indexterm>
|
---|
| 768 | </listitem>
|
---|
| 769 | </varlistentry>
|
---|
| 770 |
|
---|
| 771 | <varlistentry id="regtree">
|
---|
| 772 | <term><command>regtree</command></term>
|
---|
| 773 | <listitem>
|
---|
| 774 | <para>is a text-mode registry viewer.</para>
|
---|
| 775 | <indexterm zone="samba regtree">
|
---|
| 776 | <primary sortas="b-regtree">regtree</primary>
|
---|
| 777 | </indexterm>
|
---|
| 778 | </listitem>
|
---|
| 779 | </varlistentry>
|
---|
| 780 |
|
---|
[99ef1fc] | 781 | <varlistentry id="rpcclient">
|
---|
| 782 | <term><command>rpcclient</command></term>
|
---|
| 783 | <listitem>
|
---|
| 784 | <para>is used to execute MS-RPC client side functions.</para>
|
---|
[45f56ac] | 785 | <indexterm zone="samba rpcclient">
|
---|
[99ef1fc] | 786 | <primary sortas="b-rpcclient">rpcclient</primary>
|
---|
| 787 | </indexterm>
|
---|
| 788 | </listitem>
|
---|
| 789 | </varlistentry>
|
---|
| 790 |
|
---|
[72d90b67] | 791 | <varlistentry id="samba-prog">
|
---|
| 792 | <term><command>samba</command></term>
|
---|
| 793 | <listitem>
|
---|
| 794 | <para>is a server to provide AD and SMB/CIFS services
|
---|
| 795 | to clients.</para>
|
---|
| 796 | <indexterm zone="samba samba-prog">
|
---|
| 797 | <primary sortas="b-samba-prog">samba</primary>
|
---|
| 798 | </indexterm>
|
---|
| 799 | </listitem>
|
---|
| 800 | </varlistentry>
|
---|
| 801 |
|
---|
| 802 | <varlistentry id="samba_dnsupdate">
|
---|
| 803 | <term><command>samba_dnsupdate</command></term>
|
---|
| 804 | <listitem>
|
---|
| 805 | <para>is used to update our DNS names using TSIG-GSS.</para>
|
---|
| 806 | <indexterm zone="samba samba_dnsupdate">
|
---|
| 807 | <primary sortas="b-samba_dnsupdate">samba_dnsupdate</primary>
|
---|
| 808 | </indexterm>
|
---|
| 809 | </listitem>
|
---|
| 810 | </varlistentry>
|
---|
| 811 |
|
---|
| 812 | <varlistentry id="samba_kcc">
|
---|
| 813 | <term><command>samba_kcc</command></term>
|
---|
| 814 | <listitem>
|
---|
| 815 | <para>is a script used to compute your KCC (Knowledge
|
---|
| 816 | Consistency Checker) topology.</para>
|
---|
| 817 | <indexterm zone="samba samba_kcc">
|
---|
| 818 | <primary sortas="b-samba_kcc">samba_kcc</primary>
|
---|
| 819 | </indexterm>
|
---|
| 820 | </listitem>
|
---|
| 821 | </varlistentry>
|
---|
| 822 |
|
---|
| 823 | <varlistentry id="samba-regedit">
|
---|
| 824 | <term><command>samba-regedit</command></term>
|
---|
| 825 | <listitem>
|
---|
| 826 | <para>is a ncurses based tool to manage the Samba registry.</para>
|
---|
| 827 | <indexterm zone="samba samba-regedit">
|
---|
| 828 | <primary sortas="b-samba-regedit">samba-regedit</primary>
|
---|
| 829 | </indexterm>
|
---|
| 830 | </listitem>
|
---|
| 831 | </varlistentry>
|
---|
| 832 |
|
---|
| 833 | <varlistentry id="samba_spnupdate">
|
---|
| 834 | <term><command>samba_spnupdate</command></term>
|
---|
| 835 | <listitem>
|
---|
| 836 | <para>is a script to update the servicePrincipalName
|
---|
| 837 | names from spn_update_list.</para>
|
---|
| 838 | <indexterm zone="samba samba_spnupdate">
|
---|
| 839 | <primary sortas="b-samba_spnupdate">samba_spnupdate</primary>
|
---|
| 840 | </indexterm>
|
---|
| 841 | </listitem>
|
---|
| 842 | </varlistentry>
|
---|
| 843 |
|
---|
| 844 | <varlistentry id="samba-tool">
|
---|
| 845 | <term><command>samba-tool</command></term>
|
---|
| 846 | <listitem>
|
---|
| 847 | <para>is the main Samba administration tool.</para>
|
---|
| 848 | <indexterm zone="samba samba-tool">
|
---|
| 849 | <primary sortas="b-samba-tool">samba-tool</primary>
|
---|
| 850 | </indexterm>
|
---|
| 851 | </listitem>
|
---|
| 852 | </varlistentry>
|
---|
| 853 |
|
---|
| 854 | <varlistentry id="samba_upgradedns">
|
---|
| 855 | <term><command>samba_upgradedns</command></term>
|
---|
| 856 | <listitem>
|
---|
| 857 | <para>is a Unix SMB/CIFS implementation.</para>
|
---|
| 858 | <indexterm zone="samba samba_upgradedns">
|
---|
| 859 | <primary sortas="b-samba_upgradedns">samba_upgradedns</primary>
|
---|
| 860 | </indexterm>
|
---|
| 861 | </listitem>
|
---|
| 862 | </varlistentry>
|
---|
| 863 |
|
---|
[f4c0a45] | 864 | <varlistentry id="sharesec">
|
---|
| 865 | <term><command>sharesec</command></term>
|
---|
| 866 | <listitem>
|
---|
| 867 | <para>manipulates share ACL permissions on SMB file shares.</para>
|
---|
[45f56ac] | 868 | <indexterm zone="samba sharesec">
|
---|
[f4c0a45] | 869 | <primary sortas="b-sharesec">sharesec</primary>
|
---|
| 870 | </indexterm>
|
---|
| 871 | </listitem>
|
---|
| 872 | </varlistentry>
|
---|
| 873 |
|
---|
[99ef1fc] | 874 | <varlistentry id="smbcacls">
|
---|
| 875 | <term><command>smbcacls</command></term>
|
---|
| 876 | <listitem>
|
---|
| 877 | <para>is used to manipulate Windows NT access control lists.</para>
|
---|
[45f56ac] | 878 | <indexterm zone="samba smbcacls">
|
---|
[99ef1fc] | 879 | <primary sortas="b-smbcacls">smbcacls</primary>
|
---|
| 880 | </indexterm>
|
---|
| 881 | </listitem>
|
---|
| 882 | </varlistentry>
|
---|
| 883 |
|
---|
| 884 | <varlistentry id="smbclient">
|
---|
| 885 | <term><command>smbclient</command></term>
|
---|
| 886 | <listitem>
|
---|
| 887 | <para>is a SMB/CIFS access utility, similar to FTP.</para>
|
---|
[45f56ac] | 888 | <indexterm zone="samba smbclient">
|
---|
[99ef1fc] | 889 | <primary sortas="b-smbclient">smbclient</primary>
|
---|
| 890 | </indexterm>
|
---|
| 891 | </listitem>
|
---|
| 892 | </varlistentry>
|
---|
| 893 |
|
---|
| 894 | <varlistentry id="smbcontrol">
|
---|
| 895 | <term><command>smbcontrol</command></term>
|
---|
| 896 | <listitem>
|
---|
| 897 | <para>is used to control running <command>smbd</command>,
|
---|
| 898 | <command>nmbd</command> and <command>winbindd</command>
|
---|
| 899 | daemons.</para>
|
---|
[45f56ac] | 900 | <indexterm zone="samba smbcontrol">
|
---|
[99ef1fc] | 901 | <primary sortas="b-smbcontrol">smbcontrol</primary>
|
---|
| 902 | </indexterm>
|
---|
| 903 | </listitem>
|
---|
| 904 | </varlistentry>
|
---|
| 905 |
|
---|
| 906 | <varlistentry id="smbcquotas">
|
---|
| 907 | <term><command>smbcquotas</command></term>
|
---|
| 908 | <listitem>
|
---|
| 909 | <para>is used to manipulate Windows NT quotas on
|
---|
| 910 | SMB file shares.</para>
|
---|
[45f56ac] | 911 | <indexterm zone="samba smbcquotas">
|
---|
[99ef1fc] | 912 | <primary sortas="b-smbcquotas">smbcquotas</primary>
|
---|
| 913 | </indexterm>
|
---|
| 914 | </listitem>
|
---|
| 915 | </varlistentry>
|
---|
| 916 |
|
---|
| 917 | <varlistentry id="smbd">
|
---|
| 918 | <term><command>smbd</command></term>
|
---|
| 919 | <listitem>
|
---|
| 920 | <para>is the main <application>Samba</application> daemon which
|
---|
| 921 | provides SMB/CIFS services to clients.</para>
|
---|
[45f56ac] | 922 | <indexterm zone="samba smbd">
|
---|
[99ef1fc] | 923 | <primary sortas="b-smbd">smbd</primary>
|
---|
| 924 | </indexterm>
|
---|
| 925 | </listitem>
|
---|
| 926 | </varlistentry>
|
---|
| 927 |
|
---|
[a8ecf657] | 928 | <varlistentry id="smbget">
|
---|
| 929 | <term><command>smbget</command></term>
|
---|
| 930 | <listitem>
|
---|
| 931 | <para>is a simple utility with <command>wget</command>-like
|
---|
| 932 | semantics, that can download files from SMB servers. You can specify
|
---|
| 933 | the files you would like to download on the command-line.</para>
|
---|
[45f56ac] | 934 | <indexterm zone="samba smbget">
|
---|
[a8ecf657] | 935 | <primary sortas="b-smbget">smbget</primary>
|
---|
| 936 | </indexterm>
|
---|
| 937 | </listitem>
|
---|
| 938 | </varlistentry>
|
---|
| 939 |
|
---|
[99ef1fc] | 940 | <varlistentry id="smbpasswd">
|
---|
| 941 | <term><command>smbpasswd</command></term>
|
---|
| 942 | <listitem>
|
---|
| 943 | <para>changes a user's <application>Samba</application>
|
---|
| 944 | password.</para>
|
---|
[45f56ac] | 945 | <indexterm zone="samba smbpasswd">
|
---|
[99ef1fc] | 946 | <primary sortas="b-smbpasswd">smbpasswd</primary>
|
---|
| 947 | </indexterm>
|
---|
| 948 | </listitem>
|
---|
| 949 | </varlistentry>
|
---|
| 950 |
|
---|
| 951 | <varlistentry id="smbspool">
|
---|
| 952 | <term><command>smbspool</command></term>
|
---|
| 953 | <listitem>
|
---|
| 954 | <para>sends a print job to an SMB printer.</para>
|
---|
[45f56ac] | 955 | <indexterm zone="samba smbspool">
|
---|
[99ef1fc] | 956 | <primary sortas="b-smbspool">smbspool</primary>
|
---|
| 957 | </indexterm>
|
---|
| 958 | </listitem>
|
---|
| 959 | </varlistentry>
|
---|
| 960 |
|
---|
| 961 | <varlistentry id="smbstatus">
|
---|
| 962 | <term><command>smbstatus</command></term>
|
---|
| 963 | <listitem>
|
---|
| 964 | <para>reports current <application>Samba</application>
|
---|
| 965 | connections.</para>
|
---|
[45f56ac] | 966 | <indexterm zone="samba smbstatus">
|
---|
[99ef1fc] | 967 | <primary sortas="b-smbstatus">smbstatus</primary>
|
---|
| 968 | </indexterm>
|
---|
| 969 | </listitem>
|
---|
| 970 | </varlistentry>
|
---|
| 971 |
|
---|
| 972 | <varlistentry id="smbtar">
|
---|
| 973 | <term><command>smbtar</command></term>
|
---|
| 974 | <listitem>
|
---|
| 975 | <para>is a shell script used for backing up SMB/CIFS shares
|
---|
| 976 | directly to Linux tape drives or a file.</para>
|
---|
[45f56ac] | 977 | <indexterm zone="samba smbtar">
|
---|
[99ef1fc] | 978 | <primary sortas="b-smbtar">smbtar</primary>
|
---|
| 979 | </indexterm>
|
---|
| 980 | </listitem>
|
---|
| 981 | </varlistentry>
|
---|
| 982 |
|
---|
[72d90b67] | 983 | <varlistentry id="smbta-util">
|
---|
| 984 | <term><command>smbta-util</command></term>
|
---|
| 985 | <listitem>
|
---|
| 986 | <para>is a tool to ease the configuration of the
|
---|
| 987 | vfs_smb_traffic_analyzer module regarding data encryption.</para>
|
---|
| 988 | <indexterm zone="samba smbta-util">
|
---|
| 989 | <primary sortas="b-smbta-util">smbta-util</primary>
|
---|
| 990 | </indexterm>
|
---|
| 991 | </listitem>
|
---|
| 992 | </varlistentry>
|
---|
| 993 |
|
---|
| 994 | <varlistentry id="smbtorture">
|
---|
| 995 | <term><command>smbtorture</command></term>
|
---|
| 996 | <listitem>
|
---|
| 997 | <para>is a testsuite that runs several tests against a SMB
|
---|
| 998 | server.</para>
|
---|
| 999 | <indexterm zone="samba smbtorture">
|
---|
| 1000 | <primary sortas="b-smbtorture">smbtorture</primary>
|
---|
| 1001 | </indexterm>
|
---|
| 1002 | </listitem>
|
---|
| 1003 | </varlistentry>
|
---|
| 1004 |
|
---|
[99ef1fc] | 1005 | <varlistentry id="smbtree">
|
---|
| 1006 | <term><command>smbtree</command></term>
|
---|
| 1007 | <listitem>
|
---|
| 1008 | <para>is a text-based SMB network browser.</para>
|
---|
[45f56ac] | 1009 | <indexterm zone="samba smbtree">
|
---|
[99ef1fc] | 1010 | <primary sortas="b-smbtree">smbtree</primary>
|
---|
| 1011 | </indexterm>
|
---|
| 1012 | </listitem>
|
---|
| 1013 | </varlistentry>
|
---|
| 1014 |
|
---|
| 1015 | <varlistentry id="tdbbackup">
|
---|
| 1016 | <term><command>tdbbackup</command></term>
|
---|
| 1017 | <listitem>
|
---|
| 1018 | <para>is a tool for backing up or validating the integrity of
|
---|
| 1019 | <application>Samba</application> <filename>.tdb</filename>
|
---|
| 1020 | files.</para>
|
---|
[45f56ac] | 1021 | <indexterm zone="samba tdbbackup">
|
---|
[99ef1fc] | 1022 | <primary sortas="b-tdbbackup">tdbbackup</primary>
|
---|
| 1023 | </indexterm>
|
---|
| 1024 | </listitem>
|
---|
| 1025 | </varlistentry>
|
---|
| 1026 |
|
---|
| 1027 | <varlistentry id="tdbdump">
|
---|
| 1028 | <term><command>tdbdump</command></term>
|
---|
| 1029 | <listitem>
|
---|
| 1030 | <para> is a tool used to print the contents of a
|
---|
| 1031 | <application>Samba</application> <filename>.tdb</filename>
|
---|
| 1032 | file.</para>
|
---|
[45f56ac] | 1033 | <indexterm zone="samba tdbdump">
|
---|
[99ef1fc] | 1034 | <primary sortas="b-tdbdump">tdbdump</primary>
|
---|
| 1035 | </indexterm>
|
---|
[72d90b67] | 1036 | </listitem>
|
---|
| 1037 | </varlistentry>
|
---|
| 1038 |
|
---|
| 1039 | <varlistentry id="tdbrestore">
|
---|
| 1040 | <term><command>tdbrestore</command></term>
|
---|
| 1041 | <listitem>
|
---|
| 1042 | <para> is a tool for creating a <application>Samba</application>
|
---|
| 1043 | <filename>.tdb</filename> file out of a ntdbdump.</para>
|
---|
| 1044 | <indexterm zone="samba tdbrestore">
|
---|
| 1045 | <primary sortas="b-tdbrestore">tdbrestore</primary>
|
---|
| 1046 | </indexterm>
|
---|
[99ef1fc] | 1047 | </listitem>
|
---|
| 1048 | </varlistentry>
|
---|
| 1049 |
|
---|
| 1050 | <varlistentry id="tdbtool">
|
---|
| 1051 | <term><command>tdbtool</command></term>
|
---|
| 1052 | <listitem>
|
---|
| 1053 | <para>is a tool which allows simple database manipulation from the
|
---|
| 1054 | command line.</para>
|
---|
[45f56ac] | 1055 | <indexterm zone="samba tdbtool">
|
---|
[99ef1fc] | 1056 | <primary sortas="b-tdbtool">tdbtool</primary>
|
---|
| 1057 | </indexterm>
|
---|
| 1058 | </listitem>
|
---|
| 1059 | </varlistentry>
|
---|
| 1060 |
|
---|
| 1061 | <varlistentry id="testparm">
|
---|
| 1062 | <term><command>testparm</command></term>
|
---|
| 1063 | <listitem>
|
---|
| 1064 | <para>checks an <filename>smb.conf</filename> file for proper
|
---|
| 1065 | syntax.</para>
|
---|
[45f56ac] | 1066 | <indexterm zone="samba testparm">
|
---|
[99ef1fc] | 1067 | <primary sortas="b-testparm">testparm</primary>
|
---|
| 1068 | </indexterm>
|
---|
| 1069 | </listitem>
|
---|
| 1070 | </varlistentry>
|
---|
| 1071 |
|
---|
| 1072 | <varlistentry id="wbinfo">
|
---|
| 1073 | <term><command>wbinfo</command></term>
|
---|
| 1074 | <listitem>
|
---|
| 1075 | <para>queries a running <command>winbindd</command> daemon.</para>
|
---|
[45f56ac] | 1076 | <indexterm zone="samba wbinfo">
|
---|
[99ef1fc] | 1077 | <primary sortas="b-wbinfo">wbinfo</primary>
|
---|
| 1078 | </indexterm>
|
---|
| 1079 | </listitem>
|
---|
| 1080 | </varlistentry>
|
---|
| 1081 |
|
---|
| 1082 | <varlistentry id="winbindd">
|
---|
| 1083 | <term><command>winbindd</command></term>
|
---|
| 1084 | <listitem>
|
---|
| 1085 | <para>resolves names from Windows NT servers.</para>
|
---|
[45f56ac] | 1086 | <indexterm zone="samba winbindd">
|
---|
[99ef1fc] | 1087 | <primary sortas="b-winbindd">winbindd</primary>
|
---|
| 1088 | </indexterm>
|
---|
| 1089 | </listitem>
|
---|
| 1090 | </varlistentry>
|
---|
| 1091 |
|
---|
[f4c0a45] | 1092 | <varlistentry id="libnss_winbind">
|
---|
| 1093 | <term><filename class='libraryfile'>libnss_winbind.so</filename></term>
|
---|
| 1094 | <listitem>
|
---|
| 1095 | <para>provides Name Service Switch API functions for resolving names
|
---|
| 1096 | from NT servers.</para>
|
---|
[45f56ac] | 1097 | <indexterm zone="samba libnss_winbind">
|
---|
[f4c0a45] | 1098 | <primary sortas="c-libnss_winbind">libnss_winbind.so</primary>
|
---|
| 1099 | </indexterm>
|
---|
| 1100 | </listitem>
|
---|
| 1101 | </varlistentry>
|
---|
| 1102 |
|
---|
| 1103 | <varlistentry id="libnss_wins">
|
---|
| 1104 | <term><filename class='libraryfile'>libnss_wins.so</filename></term>
|
---|
| 1105 | <listitem>
|
---|
| 1106 | <para>provides API functions for Samba's implementation of the
|
---|
| 1107 | Windows Internet Naming Service.</para>
|
---|
[45f56ac] | 1108 | <indexterm zone="samba libnss_wins">
|
---|
[f4c0a45] | 1109 | <primary sortas="c-libnss_wins">libnss_wins.so</primary>
|
---|
| 1110 | </indexterm>
|
---|
| 1111 | </listitem>
|
---|
| 1112 | </varlistentry>
|
---|
| 1113 |
|
---|
| 1114 | <varlistentry id="libnetapi">
|
---|
| 1115 | <term><filename class='libraryfile'>libnetapi.so</filename></term>
|
---|
| 1116 | <listitem>
|
---|
| 1117 | <para>provides the API functions for the administration tools used
|
---|
| 1118 | for Samba and remote CIFS servers.</para>
|
---|
[45f56ac] | 1119 | <indexterm zone="samba libnetapi">
|
---|
[f4c0a45] | 1120 | <primary sortas="c-libnetapi">libnetapi.so</primary>
|
---|
| 1121 | </indexterm>
|
---|
| 1122 | </listitem>
|
---|
| 1123 | </varlistentry>
|
---|
| 1124 |
|
---|
| 1125 | <varlistentry id="libsmbclient">
|
---|
| 1126 | <term><filename class='libraryfile'>libsmbclient.so</filename></term>
|
---|
| 1127 | <listitem>
|
---|
| 1128 | <para>provides the API functions for the Samba SMB client tools.</para>
|
---|
[45f56ac] | 1129 | <indexterm zone="samba libsmbclient">
|
---|
[f4c0a45] | 1130 | <primary sortas="c-libsmbclient">libsmbclient.so</primary>
|
---|
| 1131 | </indexterm>
|
---|
| 1132 | </listitem>
|
---|
| 1133 | </varlistentry>
|
---|
[defca61] | 1134 | <!--
|
---|
[f4c0a45] | 1135 | <varlistentry id="libsmbsharemodes">
|
---|
| 1136 | <term><filename class='libraryfile'>libsmbsharemodes.so</filename></term>
|
---|
| 1137 | <listitem>
|
---|
| 1138 | <para>provides API functions for accessing SMB share modes
|
---|
| 1139 | (locks etc.)</para>
|
---|
[45f56ac] | 1140 | <indexterm zone="samba libsmbsharemodes">
|
---|
[f4c0a45] | 1141 | <primary sortas="c-libsmbsharemodes">libsmbsharemodes.so</primary>
|
---|
| 1142 | </indexterm>
|
---|
| 1143 | </listitem>
|
---|
[defca61] | 1144 | </varlistentry>-->
|
---|
[f4c0a45] | 1145 |
|
---|
| 1146 | <varlistentry id="libwbclient">
|
---|
| 1147 | <term><filename class='libraryfile'>libwbclient.so</filename></term>
|
---|
| 1148 | <listitem>
|
---|
| 1149 | <para>provides API functions for Windows domain client services.</para>
|
---|
[45f56ac] | 1150 | <indexterm zone="samba libwbclient">
|
---|
[f4c0a45] | 1151 | <primary sortas="c-libwbclient">libwbclient.so</primary>
|
---|
| 1152 | </indexterm>
|
---|
| 1153 | </listitem>
|
---|
| 1154 | </varlistentry>
|
---|
| 1155 |
|
---|
[99ef1fc] | 1156 | </variablelist>
|
---|
| 1157 |
|
---|
| 1158 | </sect2>
|
---|
| 1159 |
|
---|
| 1160 | </sect1>
|
---|