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 |
|
---|
7 | <!ENTITY cifsutils-download-http "https://www.samba.org/ftp/linux-cifs/cifs-utils/cifs-utils-&cifsutils-version;.tar.bz2">
|
---|
8 | <!ENTITY cifsutils-download-ftp " ">
|
---|
9 | <!ENTITY cifsutils-md5sum "a385d60293e6f9e4cb0d4ac2093990d8">
|
---|
10 | <!ENTITY cifsutils-size "376 KB">
|
---|
11 | <!ENTITY cifsutils-buildsize "2.9 MB">
|
---|
12 | <!ENTITY cifsutils-time "less than 0.1 SBU">
|
---|
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">
|
---|
26 | <primary sortas="a-cifsutils">cifs-utils</primary>
|
---|
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 |
|
---|
35 | &lfs83_checked;
|
---|
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">Required</bridgehead>
|
---|
62 | <para role="required">
|
---|
63 | <xref linkend="talloc"/>
|
---|
64 | </para>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
67 | <para role="optional">
|
---|
68 | <xref linkend="keyutils"/> (required to build PAM module),
|
---|
69 | <xref linkend="linux-pam"/>,
|
---|
70 | <xref linkend="mitkrb"/>,
|
---|
71 | <xref linkend="samba"/>, and
|
---|
72 | <ulink url="http://people.redhat.com/sgrubb/libcap-ng/">libcap-ng</ulink> or
|
---|
73 | <xref linkend="libcap-pam"/>
|
---|
74 | </para>
|
---|
75 |
|
---|
76 | <para condition="html" role="usernotes">User Notes:
|
---|
77 | <ulink url="&blfs-wiki;/cifsutils"/></para>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
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 --->
|
---|
90 | [*] Network File Systems ---> [CONFIG_NETWORK_FILESYSTEMS]
|
---|
91 | <*/M> CIFS support (advanced network filesystem, SMBFS successor) [CONFIG_CIFS]</literal></screen>
|
---|
92 |
|
---|
93 | <indexterm zone="cifsutils cifsutils-kernel">
|
---|
94 | <primary sortas="d-cifsutils">cifs-utils</primary>
|
---|
95 | </indexterm>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
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 |
|
---|
105 | <screen revision="sysv"><userinput>./configure --prefix=/usr \
|
---|
106 | --disable-pam \
|
---|
107 | --disable-systemd &&
|
---|
108 | make</userinput></screen>
|
---|
109 |
|
---|
110 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
111 | --disable-pam &&
|
---|
112 | make</userinput></screen>
|
---|
113 |
|
---|
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 |
|
---|
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 |
|
---|
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>
|
---|
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 |
|
---|
141 | <sect2 role="content">
|
---|
142 | <title>Contents</title>
|
---|
143 |
|
---|
144 | <segmentedlist>
|
---|
145 | <segtitle>Installed Programs</segtitle>
|
---|
146 | <segtitle>Installed Library</segtitle>
|
---|
147 | <segtitle>Installed Directory</segtitle>
|
---|
148 |
|
---|
149 | <seglistitem>
|
---|
150 | <seg> getcifsacl, mount.cifs and setcifsacl;
|
---|
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>
|
---|
154 | <seg>/usr/lib/cifs-utils</seg>
|
---|
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
|
---|
169 | things for the kernel and then returns the result. It is not intended
|
---|
170 | to be run from the command-line.</para>
|
---|
171 | <indexterm zone="cifsutils cifs.idmap">
|
---|
172 | <primary sortas="b-cifs.idmap">cifs.idmap</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
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
|
---|
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
|
---|
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>
|
---|
193 | <para>is a tool for managing credentials (username and password)
|
---|
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 |
|
---|
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>
|
---|