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