Blame view

fs/cifs/Kconfig 8.25 KB
bb26b963d   Alexey Dobriyan   fs/Kconfig: move ...
1
2
3
4
  config CIFS
  	tristate "CIFS support (advanced network filesystem, SMBFS successor)"
  	depends on INET
  	select NLS
d2b915210   Shirish Pargaonkar   NTLM auth and sig...
5
  	select CRYPTO
f855f6cbe   Jeff Layton   cifs: make CIFS d...
6
  	select CRYPTO_MD4
d2b915210   Shirish Pargaonkar   NTLM auth and sig...
7
  	select CRYPTO_MD5
362d31297   Steve French   [CIFS] fs/cifs/Kc...
8
  	select CRYPTO_HMAC
d2b915210   Shirish Pargaonkar   NTLM auth and sig...
9
  	select CRYPTO_ARC4
5f0b23eeb   Suresh Jayaraman   cifs: make CIFS d...
10
  	select CRYPTO_ECB
43988d768   Steve French   [CIFS] Use ecb de...
11
  	select CRYPTO_DES
3c1bf7e48   Pavel Shilovsky   CIFS: Enable sign...
12
  	select CRYPTO_SHA256
429b46f4f   Steve French   [CIFS] SMB3 Signi...
13
  	select CRYPTO_CMAC
bb26b963d   Alexey Dobriyan   fs/Kconfig: move ...
14
15
16
17
18
  	help
  	  This is the client VFS module for the Common Internet File System
  	  (CIFS) protocol which is the successor to the Server Message Block
  	  (SMB) protocol, the native file sharing mechanism for most early
  	  PC operating systems.  The CIFS protocol is fully supported by
1d4ab9077   Steve French   [CIFS] Fix indent...
19
20
  	  file servers such as Windows 2000 (including Windows 2003, Windows 2008,
  	  NT 4 and Windows XP) as well by Samba (which provides excellent CIFS
bb26b963d   Alexey Dobriyan   fs/Kconfig: move ...
21
22
23
  	  server support for Linux and many other operating systems). Limited
  	  support for OS/2 and Windows ME and similar servers is provided as
  	  well.
ca5d13fc3   Steve French   Clarify Kconfig h...
24
25
26
27
  	  The module also provides optional support for the followon
  	  protocols for CIFS including SMB3, which enables
  	  useful performance and security features (see the description
  	  of CONFIG_CIFS_SMB2).
bb26b963d   Alexey Dobriyan   fs/Kconfig: move ...
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
  	  The cifs module provides an advanced network file system
  	  client for mounting to CIFS compliant servers.  It includes
  	  support for DFS (hierarchical name space), secure per-user
  	  session establishment via Kerberos or NTLM or NTLMv2,
  	  safe distributed caching (oplock), optional packet
  	  signing, Unicode and other internationalization improvements.
  	  If you need to mount to Samba or Windows from this machine, say Y.
  
  config CIFS_STATS
          bool "CIFS statistics"
          depends on CIFS
          help
            Enabling this option will cause statistics for each server share
  	  mounted by the cifs client to be displayed in /proc/fs/cifs/Stats
  
  config CIFS_STATS2
  	bool "Extended statistics"
  	depends on CIFS_STATS
  	help
  	  Enabling this option will allow more detailed statistics on SMB
  	  request timing to be displayed in /proc/fs/cifs/DebugData and also
  	  allow optional logging of slow responses to dmesg (depending on the
  	  value of /proc/fs/cifs/cifsFYI, see fs/cifs/README for more details).
  	  These additional statistics may have a minor effect on performance
  	  and memory utilization.
  
  	  Unless you are a developer or are doing network performance analysis
  	  or tuning, say N.
  
  config CIFS_WEAK_PW_HASH
  	bool "Support legacy servers which use weaker LANMAN security"
  	depends on CIFS
  	help
  	  Modern CIFS servers including Samba and most Windows versions
  	  (since 1997) support stronger NTLM (and even NTLMv2 and Kerberos)
  	  security mechanisms. These hash the password more securely
  	  than the mechanisms used in the older LANMAN version of the
  	  SMB protocol but LANMAN based authentication is needed to
  	  establish sessions with some old SMB servers.
  
  	  Enabling this option allows the cifs module to mount to older
  	  LANMAN based servers such as OS/2 and Windows 95, but such
  	  mounts may be less secure than mounts using NTLM or more recent
  	  security mechanisms if you are on a public network.  Unless you
  	  have a need to access old SMB servers (and are on a private
  	  network) you probably want to say N.  Even if this support
  	  is enabled in the kernel build, LANMAN authentication will not be
  	  used automatically. At runtime LANMAN mounts are disabled but
  	  can be set to required (or optional) either in
  	  /proc/fs/cifs (see fs/cifs/README for more detail) or via an
  	  option on the mount command. This support is disabled by
  	  default in order to reduce the possibility of a downgrade
  	  attack.
  
  	  If unsure, say N.
  
  config CIFS_UPCALL
1a4240f47   Wang Lei   DNS: Separate out...
85
86
87
88
89
90
91
92
  	bool "Kerberos/SPNEGO advanced session setup"
  	depends on CIFS && KEYS
  	select DNS_RESOLVER
  	help
  	  Enables an upcall mechanism for CIFS which accesses userspace helper
  	  utilities to provide SPNEGO packaged (RFC 4178) Kerberos tickets
  	  which are needed to mount to certain secure servers (for which more
  	  secure Kerberos authentication is required). If unsure, say N.
bb26b963d   Alexey Dobriyan   fs/Kconfig: move ...
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
  
  config CIFS_XATTR
          bool "CIFS extended attributes"
          depends on CIFS
          help
            Extended attributes are name:value pairs associated with inodes by
            the kernel or by users (see the attr(5) manual page, or visit
            <http://acl.bestbits.at/> for details).  CIFS maps the name of
            extended attributes beginning with the user namespace prefix
            to SMB/CIFS EAs. EAs are stored on Windows servers without the
            user namespace prefix, but their names are seen by Linux cifs clients
            prefaced by the user namespace prefix. The system namespace
            (used by some filesystems to store ACLs) is not supported at
            this time.
  
            If unsure, say N.
  
  config CIFS_POSIX
          bool "CIFS POSIX Extensions"
          depends on CIFS_XATTR
          help
            Enabling this option will cause the cifs client to attempt to
  	  negotiate a newer dialect with servers, such as Samba 3.0.5
  	  or later, that optionally can handle more POSIX like (rather
  	  than Windows like) file behavior.  It also enables
  	  support for POSIX ACLs (getfacl and setfacl) to servers
  	  (such as Samba 3.10 and later) which can negotiate
  	  CIFS POSIX ACL support.  If unsure, say N.
1d4ab9077   Steve French   [CIFS] Fix indent...
121
122
123
124
125
  config CIFS_ACL
  	  bool "Provide CIFS ACL support"
  	  depends on CIFS_XATTR && KEYS
  	  help
  	    Allows fetching CIFS/NTFS ACL from the server.  The DACL blob
ca5d13fc3   Steve French   Clarify Kconfig h...
126
127
  	    is handed over to the application/caller.  See the man
  	    page for getcifsacl for more information.
1d4ab9077   Steve French   [CIFS] Fix indent...
128

471b1f987   Joe Perches   cifs: Add CONFIG_...
129
130
131
132
133
134
135
136
  config CIFS_DEBUG
  	bool "Enable CIFS debugging routines"
  	default y
  	depends on CIFS
  	help
  	   Enabling this option adds helpful debugging messages to
  	   the cifs code which increases the size of the cifs module.
  	   If unsure, say Y.
bb26b963d   Alexey Dobriyan   fs/Kconfig: move ...
137
138
  config CIFS_DEBUG2
  	bool "Enable additional CIFS debugging routines"
471b1f987   Joe Perches   cifs: Add CONFIG_...
139
  	depends on CIFS_DEBUG
bb26b963d   Alexey Dobriyan   fs/Kconfig: move ...
140
141
142
143
144
145
146
  	help
  	   Enabling this option adds a few more debugging routines
  	   to the cifs code which slightly increases the size of
  	   the cifs module and can cause additional logging of debug
  	   messages in some error paths, slowing performance. This
  	   option can be turned off unless you are debugging
  	   cifs problems.  If unsure, say N.
10e70afa7   Steve French   [CIFS] DFS no lon...
147
148
149
  config CIFS_DFS_UPCALL
  	  bool "DFS feature support"
  	  depends on CIFS && KEYS
1a4240f47   Wang Lei   DNS: Separate out...
150
  	  select DNS_RESOLVER
10e70afa7   Steve French   [CIFS] DFS no lon...
151
152
153
154
155
156
157
158
  	  help
  	    Distributed File System (DFS) support is used to access shares
  	    transparently in an enterprise name space, even if the share
  	    moves to a different server.  This feature also enables
  	    an upcall mechanism for CIFS which contacts userspace helper
  	    utilities to provide server name resolution (host names to
  	    IP addresses) which is needed for implicit mounts of DFS junction
  	    points. If unsure, say N.
257208736   Shirish Pargaonkar   cifs: cleanup: Re...
159
  config CIFS_NFSD_EXPORT
00f3616b2   Kees Cook   fs/cifs: remove d...
160
161
  	  bool "Allow nfsd to export CIFS file system"
  	  depends on CIFS && BROKEN
bb26b963d   Alexey Dobriyan   fs/Kconfig: move ...
162
  	  help
257208736   Shirish Pargaonkar   cifs: cleanup: Re...
163
  	   Allows NFS server to export a CIFS mounted share (nfsd over cifs)
675f36fb1   Steve French   CIFS: Introduce S...
164
165
  
  config CIFS_SMB2
ca5d13fc3   Steve French   Clarify Kconfig h...
166
  	bool "SMB2 and SMB3 network file system support"
00f3616b2   Kees Cook   fs/cifs: remove d...
167
  	depends on CIFS && INET
675f36fb1   Steve French   CIFS: Introduce S...
168
169
170
171
172
173
  	select NLS
  	select KEYS
  	select FSCACHE
  	select DNS_RESOLVER
  
  	help
ca5d13fc3   Steve French   Clarify Kconfig h...
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
  	  This enables support for the Server Message Block version 2
  	  family of protocols, including SMB3.  SMB3 support is
  	  enabled on mount by specifying "vers=3.0" in the mount
  	  options. These protocols are the successors to the popular
  	  CIFS and SMB network file sharing protocols. SMB3 is the
  	  native file sharing mechanism for the more recent
  	  versions of Windows (Windows 8 and Windows 2012 and
  	  later) and Samba server and many others support SMB3 well.
  	  In general SMB3 enables better performance, security
  	  and features, than would be possible with CIFS (Note that
  	  when mounting to Samba, due to the CIFS POSIX extensions,
  	  CIFS mounts can provide slightly better POSIX compatibility
  	  than SMB3 mounts do though). Note that SMB2/SMB3 mount
  	  options are also slightly simpler (compared to CIFS) due
  	  to protocol improvements.
1d4ab9077   Steve French   [CIFS] Fix indent...
189

5f7fbf733   Steve French   Allow parsing ver...
190
191
192
193
194
195
196
197
  config CIFS_SMB311
  	bool "SMB3.1.1 network file system support (Experimental)"
  	depends on CIFS_SMB2 && INET
  
  	help
  	  This enables experimental support for the newest, SMB3.1.1, dialect.
  	  This dialect includes improved security negotiation features.
  	  If unsure, say N
1d4ab9077   Steve French   [CIFS] Fix indent...
198
199
200
201
202
203
204
  config CIFS_FSCACHE
  	  bool "Provide CIFS client caching support"
  	  depends on CIFS=m && FSCACHE || CIFS=y && FSCACHE=y
  	  help
  	    Makes CIFS FS-Cache capable. Say Y here if you want your CIFS data
  	    to be cached locally on disk through the general filesystem cache
  	    manager. If unsure, say N.