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