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