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