source: networking/netprogs/cifsutils.xml@ fb078c8

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since fb078c8 was fb078c8, checked in by Douglas R. Reno <renodr@…>, 10 months ago

Update to cifs-utils-6.12

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24049 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.1 KB
Line 
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 "b49b10692bcae7f28669173a472077dd">
10 <!ENTITY cifsutils-size "404 KB">
11 <!ENTITY cifsutils-buildsize "4.7 MB">
12 <!ENTITY cifsutils-time "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>
33 The <application>cifs-utils</application> package provides a means for
34 mounting SMB/CIFS shares on a Linux system.
35 </para>
36
37 &lfs10_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&cifsutils-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&cifsutils-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &cifsutils-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &cifsutils-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &cifsutils-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &cifsutils-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">cifs-utils Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="talloc"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="keyutils"/> (required to build PAM module),
83 <xref linkend="linux-pam"/>,
84 <xref linkend="mitkrb"/>,
85 <xref linkend="samba"/>, and
86 <xref linkend="libcap-pam"/> or
87 <ulink url="http://people.redhat.com/sgrubb/libcap-ng/">
88 libcap-ng
89 </ulink>
90 </para>
91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/cifsutils"/></para>
94
95 </sect2>
96
97 <sect2 role="kernel" id="cifsutils-kernel">
98 <title>Kernel Configuration</title>
99
100 <para>
101 Enable the following options in the kernel configuration and recompile the
102 kernel if necessary:
103 </para>
104
105<screen><literal>File systems ---&gt;
106 [*] Network File Systems ---&gt; [CONFIG_NETWORK_FILESYSTEMS]
107 &lt;*/M&gt; SMB3 and CIFS support (advanced network filesystem) [CONFIG_CIFS]</literal></screen>
108
109 <para>
110 Depending on your server configuration, additional kernel options may be
111 required.
112 </para>
113
114 <indexterm zone="cifsutils cifsutils-kernel">
115 <primary sortas="d-cifsutils">cifs-utils</primary>
116 </indexterm>
117
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of cifs-utils</title>
122
123 <para>
124 Install <application>cifs-utils</application> by running the following
125 commands:
126 </para>
127
128<screen revision="sysv"><userinput>autoreconf -fiv &amp;&amp;
129./configure --prefix=/usr \
130 --disable-pam \
131 --disable-systemd &amp;&amp;
132make</userinput></screen>
133
134<screen revision="systemd"><userinput>autoreconf -fiv &amp;&amp;
135./configure --prefix=/usr \
136 --disable-pam &amp;&amp;
137make</userinput></screen>
138
139 <para>
140 This package does not come with a test suite.
141 </para>
142
143 <para>
144 Now, as the <systemitem class="username">root</systemitem> user:
145 </para>
146
147<!-- Note to editors: You need to define ROOTSBINDIR and man8dir, like this:
148 ROOTSBINDIR=<DESTDIR>/sbin man8dir=<DESTDIR>/usr/share/man/man8
149 This is due to a bug in the makefile for cifs-utils-6.10, since it tries
150 to install symlinks for mount.smb3 without thinking about DESTDIR
151 installations. -->
152
153<screen role="root"><userinput>make install</userinput></screen>
154
155 </sect2>
156
157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
160 <para>
161 <parameter>--disable-pam</parameter>: Do not build PAM support.
162 Remove it and use <option>--with-pamdir</option> (see below),
163 if <xref linkend="linux-pam"/> is installed and you wish
164 PAM support.
165 </para>
166
167 <para revision="sysv">
168 <parameter>--disable-systemd</parameter>: Disable systemd specific
169 behavior for <command>mount.cifs</command>.
170 </para>
171
172 <para>
173 <option>--with-pamdir=/lib/security</option>: Install the PAM
174 module in <filename class="directory">/lib/security</filename>.
175 </para>
176
177 </sect2>
178
179 <sect2 role="content">
180 <title>Contents</title>
181
182 <segmentedlist>
183 <segtitle>Installed Programs</segtitle>
184 <segtitle>Installed Library</segtitle>
185 <segtitle>Installed Directory</segtitle>
186
187 <seglistitem>
188 <seg> cifs.idmap, cifs.upcall, cifscreds, getcifsacl,
189 mount.cifs, mount.smb3, setcifsacl, smb2-quota, and smbinfo</seg>
190 <seg>/usr/lib/cifs-utils/idmapwb.so and optionally
191 PAM module /lib/security/pam_cifscreds.so</seg>
192 <seg>/usr/lib/cifs-utils</seg>
193 </seglistitem>
194 </segmentedlist>
195
196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
200
201 <varlistentry id="cifs.idmap">
202 <term><command>cifs.idmap</command></term>
203 <listitem>
204 <para>
205 is a userspace helper program for the linux CIFS client filesystem.
206 There are a number of activities that the kernel cannot easily do
207 itself. This program is a callout program that does these
208 things for the kernel and then returns the result. It is not
209 intended to be run from the command-line.
210 </para>
211 <indexterm zone="cifsutils cifs.idmap">
212 <primary sortas="b-cifs.idmap">cifs.idmap</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="cifs.upcall">
218 <term><command>cifs.upcall</command></term>
219 <listitem>
220 <para>
221 is a userspace helper program for the linux CIFS client
222 filesystem. It is intended to be run when the kernel calls
223 request-key for a particular key type. It is not intended to be
224 run from the command-line.
225 </para>
226 <indexterm zone="cifsutils cifs.upcall">
227 <primary sortas="b-cifs.upcall">cifs.upcall</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="cifscreds">
233 <term><command>cifscreds</command></term>
234 <listitem>
235 <para>
236 is a tool for managing credentials (username and password)
237 for the purpose of establishing sessions in multiuser mounts.
238 </para>
239 <indexterm zone="cifsutils cifscreds">
240 <primary sortas="b-cifscreds">cifscreds</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="getcifsacl">
246 <term><command>getcifsacl</command></term>
247 <listitem>
248 <para>
249 is a userspace helper to display an ACL in a security
250 descriptor for Common Internet File System (CIFS).
251 </para>
252 <indexterm zone="cifsutils getcifsacl">
253 <primary sortas="b-getcifsacl">getcifsacl</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="mount.cifs">
259 <term><command>mount.cifs</command></term>
260 <listitem>
261 <para>
262 mounts a Linux CIFS filesystem. It is usually invoked
263 indirectly by the mount(8) command when using the "-t cifs" option.
264 </para>
265 <indexterm zone="cifsutils mount.cifs">
266 <primary sortas="b-mount.cifs">mount.cifs</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="mount.smb3">
272 <term><command>mount.smb3</command></term>
273 <listitem>
274 <para>
275 mounts a SMB3-based filesystem. It is usually invoked
276 indirectly by the mount(8) command when using the "-t smb3" option.
277 </para>
278 <indexterm zone="cifsutils mount.smb3">
279 <primary sortas="b-mount.smb3">mount.smb3</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="setcifsacl">
285 <term><command>setcifsacl</command></term>
286 <listitem>
287 <para>
288 is intended to alter an ACL of a security descriptor for a file
289 system object.
290 </para>
291 <indexterm zone="cifsutils setcifsacl">
292 <primary sortas="b-setcifsacl">setcifsacl</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="smb2-quota">
298 <term><command>smb3-quota</command></term>
299 <listitem>
300 <para>
301 displays quota information for a SMB filesystem.
302 </para>
303 <indexterm zone="cifsutils smb2-quota">
304 <primary sortas="b-smb2-quota">smb2-quota</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="smbinfo">
310 <term><command>smbinfo</command></term>
311 <listitem>
312 <para>
313 displays SMB-specific file information, such as security
314 descriptors and quotas.
315 </para>
316 <indexterm zone="cifsutils smbinfo">
317 <primary sortas="b-smbinfo">smbinfo</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 </variablelist>
323
324 </sect2>
325
326</sect1>
Note: See TracBrowser for help on using the repository browser.