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