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