[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY cifsutils-download-http "https://www.samba.org/ftp/linux-cifs/cifs-utils/cifs-utils-&cifsutils-version;.tar.bz2">
|
---|
[1c73261] | 8 | <!ENTITY cifsutils-download-ftp " ">
|
---|
[4fe0229] | 9 | <!ENTITY cifsutils-md5sum "a385d60293e6f9e4cb0d4ac2093990d8">
|
---|
| 10 | <!ENTITY cifsutils-size "376 KB">
|
---|
| 11 | <!ENTITY cifsutils-buildsize "2.9 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 |
|
---|
[3af0a66] | 35 | &lfs83_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 |
|
---|
[4fe0229] | 105 | <screen revision="sysv"><userinput>./configure --prefix=/usr \
|
---|
[b3cc6d3] | 106 | --disable-pam \
|
---|
| 107 | --disable-systemd &&
|
---|
[fcc6d60] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
[4fe0229] | 110 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
[7b478500] | 111 | --disable-pam &&
|
---|
| 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[fcc6d60] | 114 | <para>This package does not come with a test suite.</para>
|
---|
| 115 |
|
---|
| 116 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 117 |
|
---|
| 118 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
[b3cc6d3] | 122 | <sect2 role="commands">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
| 124 |
|
---|
| 125 | <para><parameter>--disable-pam</parameter>: Do not build PAM support.
|
---|
| 126 | Remove it and use <option>--with-pamdir</option> (see below),
|
---|
| 127 | if <xref linkend="linux-pam"/> is installed and you wish
|
---|
| 128 | PAM support.</para>
|
---|
| 129 |
|
---|
[7b478500] | 130 | <para revision="sysv"><parameter>--disable-systemd</parameter>:
|
---|
| 131 | Disable systemd specific behavior for
|
---|
| 132 | <command>mount.cifs</command>. Remove it for systems running with
|
---|
| 133 | systemd.</para>
|
---|
[b3cc6d3] | 134 |
|
---|
| 135 | <para><option>--with-pamdir=/lib/security</option>: Install the PAM
|
---|
| 136 | module in
|
---|
| 137 | <filename class="directory">/lib/security</filename>.</para>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
[fcc6d60] | 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
[9c1fbda4] | 146 | <segtitle>Installed Library</segtitle>
|
---|
[04f3ba30] | 147 | <segtitle>Installed Directory</segtitle>
|
---|
[fcc6d60] | 148 |
|
---|
| 149 | <seglistitem>
|
---|
[9c1fbda4] | 150 | <seg> getcifsacl, mount.cifs and setcifsacl;
|
---|
[b3cc6d3] | 151 | optional: cifs.idmap, cifs.upcall and cifscreds</seg>
|
---|
| 152 | <seg>/usr/lib/cifs-utils/idmapwb.so and optionally
|
---|
| 153 | PAM module /lib/security/pam_cifscreds.so</seg>
|
---|
[04f3ba30] | 154 | <seg>/usr/lib/cifs-utils</seg>
|
---|
[fcc6d60] | 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="cifs.idmap">
|
---|
| 164 | <term><command>cifs.idmap</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>is a userspace helper program for the linux CIFS client
|
---|
| 167 | filesystem. There are a number of activities that the kernel cannot
|
---|
| 168 | easily do itself. This program is a callout program that does these
|
---|
[0d7900a] | 169 | things for the kernel and then returns the result. It is not intended
|
---|
[5e8ab95] | 170 | to be run from the command-line.</para>
|
---|
[fcc6d60] | 171 | <indexterm zone="cifsutils cifs.idmap">
|
---|
| 172 | <primary sortas="b-cifs.idmap">cifs.idmap</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
[5e8ab95] | 177 | <varlistentry id="cifs.upcall">
|
---|
| 178 | <term><command>cifs.upcall</command></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>is a userspace helper program for the linux CIFS client
|
---|
[0d7900a] | 181 | filesystem. It is intended to be run when the kernel calls
|
---|
| 182 | request-key for a particular key type. It is not intended to be
|
---|
[5e8ab95] | 183 | run from the command-line.</para>
|
---|
| 184 | <indexterm zone="cifsutils cifs.upcall">
|
---|
| 185 | <primary sortas="b-cifs.upcall">cifs.upcall</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="cifscreds">
|
---|
| 191 | <term><command>cifscreds</command></term>
|
---|
| 192 | <listitem>
|
---|
[0d7900a] | 193 | <para>is a tool for managing credentials (username and password)
|
---|
[5e8ab95] | 194 | for the purpose of establishing sessions in multiuser mounts.</para>
|
---|
| 195 | <indexterm zone="cifsutils cifscreds">
|
---|
| 196 | <primary sortas="b-cifscreds">cifscreds</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
[fcc6d60] | 201 | <varlistentry id="getcifsacl">
|
---|
| 202 | <term><command>getcifsacl</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>is a userspace helper to display an ACL in a security
|
---|
| 205 | descriptor for Common Internet File System (CIFS).</para>
|
---|
| 206 | <indexterm zone="cifsutils getcifsacl">
|
---|
| 207 | <primary sortas="b-getcifsacl">getcifsacl</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="mount.cifs">
|
---|
| 213 | <term><command>mount.cifs</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>mounts a Linux CIFS filesystem. It is usually invoked
|
---|
| 216 | indirectly by the mount(8) command when using the "-t cifs" option.
|
---|
| 217 | </para>
|
---|
| 218 | <indexterm zone="cifsutils mount.cifs">
|
---|
| 219 | <primary sortas="b-mount.cifs">mount.cifs</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="setcifsacl">
|
---|
| 225 | <term><command>setcifsacl</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>is intended to alter an ACL of a security descriptor for a file
|
---|
| 228 | system object.</para>
|
---|
| 229 | <indexterm zone="cifsutils setcifsacl">
|
---|
| 230 | <primary sortas="b-setcifsacl">setcifsacl</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | </variablelist>
|
---|
| 236 |
|
---|
| 237 | </sect2>
|
---|
| 238 |
|
---|
| 239 | </sect1>
|
---|