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