[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 " ">
|
---|
[3921536e] | 9 | <!ENTITY cifsutils-md5sum "8b11350fade47d308b8f377e06cce243">
|
---|
| 10 | <!ENTITY cifsutils-size "396 KB">
|
---|
| 11 | <!ENTITY cifsutils-buildsize "2.7 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 |
|
---|
[77d57d12] | 35 | &lfs7a_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 |
|
---|
| 61 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[5e8ab95] | 62 | <para role="optional">
|
---|
| 63 | <xref linkend="keyutils"/>,
|
---|
[9c1fbda4] | 64 | <xref linkend="linux-pam"/>,
|
---|
[3e96e6c6] | 65 | <xref linkend="mitkrb"/>,
|
---|
| 66 | <xref linkend="talloc"/>,
|
---|
| 67 | <xref linkend="samba"/>, and
|
---|
| 68 | <ulink url="http://people.redhat.com/sgrubb/libcap-ng/">libcap-ng</ulink> or
|
---|
[56605b9] | 69 | <xref linkend="libcap-pam"/>
|
---|
[5e8ab95] | 70 | </para>
|
---|
[fcc6d60] | 71 |
|
---|
| 72 | <para condition="html" role="usernotes">User Notes:
|
---|
| 73 | <ulink url="&blfs-wiki;/cifsutils"/></para>
|
---|
| 74 |
|
---|
| 75 | </sect2>
|
---|
| 76 |
|
---|
[3e96e6c6] | 77 | <sect2 role="kernel" id="cifsutils-kernel">
|
---|
| 78 | <title>Kernel Configuration</title>
|
---|
| 79 |
|
---|
| 80 | <para>
|
---|
| 81 | Enable the following options in the kernel configuration and recompile the
|
---|
| 82 | kernel if necessary:
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <screen><literal>File systems --->
|
---|
[196d393] | 86 | [*] Network File Systems ---> [CONFIG_NETWORK_FILESYSTEMS]
|
---|
| 87 | <*/M> CIFS support (advanced network filesystem, SMBFS successor) [CONFIG_CIFS]</literal></screen>
|
---|
[3e96e6c6] | 88 |
|
---|
| 89 | <indexterm zone="cifsutils cifsutils-kernel">
|
---|
| 90 | <primary sortas="d-cifsutils">cifs-utils</primary>
|
---|
| 91 | </indexterm>
|
---|
[f3429309] | 92 |
|
---|
| 93 | </sect2>
|
---|
[3e96e6c6] | 94 |
|
---|
[fcc6d60] | 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of cifs-utils</title>
|
---|
| 97 |
|
---|
| 98 | <para>Install <application>cifs-utils</application> by running the following
|
---|
| 99 | commands:</para>
|
---|
| 100 |
|
---|
[7b478500] | 101 | <screen revision="sysv"><userinput>./configure --prefix=/usr \
|
---|
[b3cc6d3] | 102 | --disable-pam \
|
---|
| 103 | --disable-systemd &&
|
---|
[fcc6d60] | 104 | make</userinput></screen>
|
---|
| 105 |
|
---|
[7b478500] | 106 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
| 107 | --disable-pam &&
|
---|
| 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
[fcc6d60] | 110 | <para>This package does not come with a test suite.</para>
|
---|
| 111 |
|
---|
| 112 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 113 |
|
---|
| 114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
[b3cc6d3] | 118 | <sect2 role="commands">
|
---|
| 119 | <title>Command Explanations</title>
|
---|
| 120 |
|
---|
| 121 | <para><parameter>--disable-pam</parameter>: Do not build PAM support.
|
---|
| 122 | Remove it and use <option>--with-pamdir</option> (see below),
|
---|
| 123 | if <xref linkend="linux-pam"/> is installed and you wish
|
---|
| 124 | PAM support.</para>
|
---|
| 125 |
|
---|
[7b478500] | 126 | <para revision="sysv"><parameter>--disable-systemd</parameter>:
|
---|
| 127 | Disable systemd specific behavior for
|
---|
| 128 | <command>mount.cifs</command>. Remove it for systems running with
|
---|
| 129 | systemd.</para>
|
---|
[b3cc6d3] | 130 |
|
---|
| 131 | <para><option>--with-pamdir=/lib/security</option>: Install the PAM
|
---|
| 132 | module in
|
---|
| 133 | <filename class="directory">/lib/security</filename>.</para>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
[fcc6d60] | 137 | <sect2 role="content">
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <segmentedlist>
|
---|
| 141 | <segtitle>Installed Programs</segtitle>
|
---|
[9c1fbda4] | 142 | <segtitle>Installed Library</segtitle>
|
---|
[04f3ba30] | 143 | <segtitle>Installed Directory</segtitle>
|
---|
[fcc6d60] | 144 |
|
---|
| 145 | <seglistitem>
|
---|
[9c1fbda4] | 146 | <seg> getcifsacl, mount.cifs and setcifsacl;
|
---|
[b3cc6d3] | 147 | optional: cifs.idmap, cifs.upcall and cifscreds</seg>
|
---|
| 148 | <seg>/usr/lib/cifs-utils/idmapwb.so and optionally
|
---|
| 149 | PAM module /lib/security/pam_cifscreds.so</seg>
|
---|
[04f3ba30] | 150 | <seg>/usr/lib/cifs-utils</seg>
|
---|
[fcc6d60] | 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
| 153 |
|
---|
| 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="cifs.idmap">
|
---|
| 160 | <term><command>cifs.idmap</command></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>is a userspace helper program for the linux CIFS client
|
---|
| 163 | filesystem. There are a number of activities that the kernel cannot
|
---|
| 164 | easily do itself. This program is a callout program that does these
|
---|
[0d7900a] | 165 | things for the kernel and then returns the result. It is not intended
|
---|
[5e8ab95] | 166 | to be run from the command-line.</para>
|
---|
[fcc6d60] | 167 | <indexterm zone="cifsutils cifs.idmap">
|
---|
| 168 | <primary sortas="b-cifs.idmap">cifs.idmap</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
[5e8ab95] | 173 | <varlistentry id="cifs.upcall">
|
---|
| 174 | <term><command>cifs.upcall</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>is a userspace helper program for the linux CIFS client
|
---|
[0d7900a] | 177 | filesystem. It is intended to be run when the kernel calls
|
---|
| 178 | request-key for a particular key type. It is not intended to be
|
---|
[5e8ab95] | 179 | run from the command-line.</para>
|
---|
| 180 | <indexterm zone="cifsutils cifs.upcall">
|
---|
| 181 | <primary sortas="b-cifs.upcall">cifs.upcall</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="cifscreds">
|
---|
| 187 | <term><command>cifscreds</command></term>
|
---|
| 188 | <listitem>
|
---|
[0d7900a] | 189 | <para>is a tool for managing credentials (username and password)
|
---|
[5e8ab95] | 190 | for the purpose of establishing sessions in multiuser mounts.</para>
|
---|
| 191 | <indexterm zone="cifsutils cifscreds">
|
---|
| 192 | <primary sortas="b-cifscreds">cifscreds</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
[fcc6d60] | 197 | <varlistentry id="getcifsacl">
|
---|
| 198 | <term><command>getcifsacl</command></term>
|
---|
| 199 | <listitem>
|
---|
| 200 | <para>is a userspace helper to display an ACL in a security
|
---|
| 201 | descriptor for Common Internet File System (CIFS).</para>
|
---|
| 202 | <indexterm zone="cifsutils getcifsacl">
|
---|
| 203 | <primary sortas="b-getcifsacl">getcifsacl</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="mount.cifs">
|
---|
| 209 | <term><command>mount.cifs</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>mounts a Linux CIFS filesystem. It is usually invoked
|
---|
| 212 | indirectly by the mount(8) command when using the "-t cifs" option.
|
---|
| 213 | </para>
|
---|
| 214 | <indexterm zone="cifsutils mount.cifs">
|
---|
| 215 | <primary sortas="b-mount.cifs">mount.cifs</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | <varlistentry id="setcifsacl">
|
---|
| 221 | <term><command>setcifsacl</command></term>
|
---|
| 222 | <listitem>
|
---|
| 223 | <para>is intended to alter an ACL of a security descriptor for a file
|
---|
| 224 | system object.</para>
|
---|
| 225 | <indexterm zone="cifsutils setcifsacl">
|
---|
| 226 | <primary sortas="b-setcifsacl">setcifsacl</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | </variablelist>
|
---|
| 232 |
|
---|
| 233 | </sect2>
|
---|
| 234 |
|
---|
| 235 | </sect1>
|
---|