[fcc6d60] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[04e597a] | 7 | <!ENTITY cifsutils-download-http "https://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-&cifsutils-version;.tar.bz2">
|
---|
[1c73261] | 8 | <!ENTITY cifsutils-download-ftp " ">
|
---|
[3bf58b9c] | 9 | <!ENTITY cifsutils-md5sum "af3ae1d27aca624c4daac5bf3eb0d4c1">
|
---|
| 10 | <!ENTITY cifsutils-size "356 KB">
|
---|
| 11 | <!ENTITY cifsutils-buildsize "3.1 MB">
|
---|
[9c1fbda4] | 12 | <!ENTITY cifsutils-time "less than 0.1 SBU">
|
---|
[fcc6d60] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="cifsutils" xreflabel="cifs-utils-&cifsutils-version;">
|
---|
| 16 | <?dbhtml filename="cifsutils.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>cifs-utils-&cifsutils-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="cifsutils">
|
---|
[9accaa6] | 26 | <primary sortas="a-cifsutils">cifs-utils</primary>
|
---|
[fcc6d60] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to cifs-utils</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>cifs-utils</application> provides a means for
|
---|
| 33 | mounting SMB/CIFS shares on a Linux system.</para>
|
---|
| 34 |
|
---|
[4ebade44] | 35 | &lfs80_checked;
|
---|
[fcc6d60] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&cifsutils-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&cifsutils-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &cifsutils-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &cifsutils-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &cifsutils-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &cifsutils-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">cifs-utils Dependencies</bridgehead>
|
---|
| 60 |
|
---|
[880a026] | 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 62 | <para role="required">
|
---|
| 63 | <xref linkend="talloc"/>
|
---|
| 64 | </para>
|
---|
| 65 |
|
---|
[fcc6d60] | 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[5e8ab95] | 67 | <para role="optional">
|
---|
[c22aa86] | 68 | <xref linkend="keyutils"/> (required to build PAM module),
|
---|
[9c1fbda4] | 69 | <xref linkend="linux-pam"/>,
|
---|
[3e96e6c6] | 70 | <xref linkend="mitkrb"/>,
|
---|
| 71 | <xref linkend="samba"/>, and
|
---|
| 72 | <ulink url="http://people.redhat.com/sgrubb/libcap-ng/">libcap-ng</ulink> or
|
---|
[56605b9] | 73 | <xref linkend="libcap-pam"/>
|
---|
[5e8ab95] | 74 | </para>
|
---|
[fcc6d60] | 75 |
|
---|
| 76 | <para condition="html" role="usernotes">User Notes:
|
---|
| 77 | <ulink url="&blfs-wiki;/cifsutils"/></para>
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
[3e96e6c6] | 81 | <sect2 role="kernel" id="cifsutils-kernel">
|
---|
| 82 | <title>Kernel Configuration</title>
|
---|
| 83 |
|
---|
| 84 | <para>
|
---|
| 85 | Enable the following options in the kernel configuration and recompile the
|
---|
| 86 | kernel if necessary:
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <screen><literal>File systems --->
|
---|
[196d393] | 90 | [*] Network File Systems ---> [CONFIG_NETWORK_FILESYSTEMS]
|
---|
| 91 | <*/M> CIFS support (advanced network filesystem, SMBFS successor) [CONFIG_CIFS]</literal></screen>
|
---|
[3e96e6c6] | 92 |
|
---|
| 93 | <indexterm zone="cifsutils cifsutils-kernel">
|
---|
| 94 | <primary sortas="d-cifsutils">cifs-utils</primary>
|
---|
| 95 | </indexterm>
|
---|
[f3429309] | 96 |
|
---|
| 97 | </sect2>
|
---|
[3e96e6c6] | 98 |
|
---|
[fcc6d60] | 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of cifs-utils</title>
|
---|
| 101 |
|
---|
| 102 | <para>Install <application>cifs-utils</application> by running the following
|
---|
| 103 | commands:</para>
|
---|
| 104 |
|
---|
[3bf58b9c] | 105 | <screen revision="sysv"><userinput>autoreconf -fiv &&
|
---|
| 106 | ./configure --prefix=/usr \
|
---|
[b3cc6d3] | 107 | --disable-pam \
|
---|
| 108 | --disable-systemd &&
|
---|
[fcc6d60] | 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
[3bf58b9c] | 111 | <screen revision="systemd"><userinput>autoreconf -fiv &&
|
---|
| 112 | ./configure --prefix=/usr \
|
---|
[7b478500] | 113 | --disable-pam &&
|
---|
| 114 | make</userinput></screen>
|
---|
| 115 |
|
---|
[fcc6d60] | 116 | <para>This package does not come with a test suite.</para>
|
---|
| 117 |
|
---|
| 118 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
[b3cc6d3] | 124 | <sect2 role="commands">
|
---|
| 125 | <title>Command Explanations</title>
|
---|
| 126 |
|
---|
| 127 | <para><parameter>--disable-pam</parameter>: Do not build PAM support.
|
---|
| 128 | Remove it and use <option>--with-pamdir</option> (see below),
|
---|
| 129 | if <xref linkend="linux-pam"/> is installed and you wish
|
---|
| 130 | PAM support.</para>
|
---|
| 131 |
|
---|
[7b478500] | 132 | <para revision="sysv"><parameter>--disable-systemd</parameter>:
|
---|
| 133 | Disable systemd specific behavior for
|
---|
| 134 | <command>mount.cifs</command>. Remove it for systems running with
|
---|
| 135 | systemd.</para>
|
---|
[b3cc6d3] | 136 |
|
---|
| 137 | <para><option>--with-pamdir=/lib/security</option>: Install the PAM
|
---|
| 138 | module in
|
---|
| 139 | <filename class="directory">/lib/security</filename>.</para>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
[fcc6d60] | 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
[9c1fbda4] | 148 | <segtitle>Installed Library</segtitle>
|
---|
[04f3ba30] | 149 | <segtitle>Installed Directory</segtitle>
|
---|
[fcc6d60] | 150 |
|
---|
| 151 | <seglistitem>
|
---|
[9c1fbda4] | 152 | <seg> getcifsacl, mount.cifs and setcifsacl;
|
---|
[b3cc6d3] | 153 | optional: cifs.idmap, cifs.upcall and cifscreds</seg>
|
---|
| 154 | <seg>/usr/lib/cifs-utils/idmapwb.so and optionally
|
---|
| 155 | PAM module /lib/security/pam_cifscreds.so</seg>
|
---|
[04f3ba30] | 156 | <seg>/usr/lib/cifs-utils</seg>
|
---|
[fcc6d60] | 157 | </seglistitem>
|
---|
| 158 | </segmentedlist>
|
---|
| 159 |
|
---|
| 160 | <variablelist>
|
---|
| 161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 162 | <?dbfo list-presentation="list"?>
|
---|
| 163 | <?dbhtml list-presentation="table"?>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="cifs.idmap">
|
---|
| 166 | <term><command>cifs.idmap</command></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>is a userspace helper program for the linux CIFS client
|
---|
| 169 | filesystem. There are a number of activities that the kernel cannot
|
---|
| 170 | easily do itself. This program is a callout program that does these
|
---|
[0d7900a] | 171 | things for the kernel and then returns the result. It is not intended
|
---|
[5e8ab95] | 172 | to be run from the command-line.</para>
|
---|
[fcc6d60] | 173 | <indexterm zone="cifsutils cifs.idmap">
|
---|
| 174 | <primary sortas="b-cifs.idmap">cifs.idmap</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
[5e8ab95] | 179 | <varlistentry id="cifs.upcall">
|
---|
| 180 | <term><command>cifs.upcall</command></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>is a userspace helper program for the linux CIFS client
|
---|
[0d7900a] | 183 | filesystem. It is intended to be run when the kernel calls
|
---|
| 184 | request-key for a particular key type. It is not intended to be
|
---|
[5e8ab95] | 185 | run from the command-line.</para>
|
---|
| 186 | <indexterm zone="cifsutils cifs.upcall">
|
---|
| 187 | <primary sortas="b-cifs.upcall">cifs.upcall</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | <varlistentry id="cifscreds">
|
---|
| 193 | <term><command>cifscreds</command></term>
|
---|
| 194 | <listitem>
|
---|
[0d7900a] | 195 | <para>is a tool for managing credentials (username and password)
|
---|
[5e8ab95] | 196 | for the purpose of establishing sessions in multiuser mounts.</para>
|
---|
| 197 | <indexterm zone="cifsutils cifscreds">
|
---|
| 198 | <primary sortas="b-cifscreds">cifscreds</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
[fcc6d60] | 203 | <varlistentry id="getcifsacl">
|
---|
| 204 | <term><command>getcifsacl</command></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>is a userspace helper to display an ACL in a security
|
---|
| 207 | descriptor for Common Internet File System (CIFS).</para>
|
---|
| 208 | <indexterm zone="cifsutils getcifsacl">
|
---|
| 209 | <primary sortas="b-getcifsacl">getcifsacl</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="mount.cifs">
|
---|
| 215 | <term><command>mount.cifs</command></term>
|
---|
| 216 | <listitem>
|
---|
| 217 | <para>mounts a Linux CIFS filesystem. It is usually invoked
|
---|
| 218 | indirectly by the mount(8) command when using the "-t cifs" option.
|
---|
| 219 | </para>
|
---|
| 220 | <indexterm zone="cifsutils mount.cifs">
|
---|
| 221 | <primary sortas="b-mount.cifs">mount.cifs</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="setcifsacl">
|
---|
| 227 | <term><command>setcifsacl</command></term>
|
---|
| 228 | <listitem>
|
---|
| 229 | <para>is intended to alter an ACL of a security descriptor for a file
|
---|
| 230 | system object.</para>
|
---|
| 231 | <indexterm zone="cifsutils setcifsacl">
|
---|
| 232 | <primary sortas="b-setcifsacl">setcifsacl</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | </variablelist>
|
---|
| 238 |
|
---|
| 239 | </sect2>
|
---|
| 240 |
|
---|
| 241 | </sect1>
|
---|