xref: /linux/fs/nfsd/Kconfig (revision b8bb76713ec50df2f11efee386e16f93d51e1076)
1config NFSD
2	tristate "NFS server support"
3	depends on INET
4	select LOCKD
5	select SUNRPC
6	select EXPORTFS
7	select NFS_ACL_SUPPORT if NFSD_V2_ACL
8	help
9	  Choose Y here if you want to allow other computers to access
10	  files residing on this system using Sun's Network File System
11	  protocol.  To compile the NFS server support as a module,
12	  choose M here: the module will be called nfsd.
13
14	  You may choose to use a user-space NFS server instead, in which
15	  case you can choose N here.
16
17	  To export local file systems using NFS, you also need to install
18	  user space programs which can be found in the Linux nfs-utils
19	  package, available from http://linux-nfs.org/.  More detail about
20	  the Linux NFS server implementation is available via the
21	  exports(5) man page.
22
23	  Below you can choose which versions of the NFS protocol are
24	  available to clients mounting the NFS server on this system.
25	  Support for NFS version 2 (RFC 1094) is always available when
26	  CONFIG_NFSD is selected.
27
28	  If unsure, say N.
29
30config NFSD_V2_ACL
31	bool
32	depends on NFSD
33
34config NFSD_V3
35	bool "NFS server support for NFS version 3"
36	depends on NFSD
37	help
38	  This option enables support in your system's NFS server for
39	  version 3 of the NFS protocol (RFC 1813).
40
41	  If unsure, say Y.
42
43config NFSD_V3_ACL
44	bool "NFS server support for the NFSv3 ACL protocol extension"
45	depends on NFSD_V3
46	select NFSD_V2_ACL
47	help
48	  Solaris NFS servers support an auxiliary NFSv3 ACL protocol that
49	  never became an official part of the NFS version 3 protocol.
50	  This protocol extension allows applications on NFS clients to
51	  manipulate POSIX Access Control Lists on files residing on NFS
52	  servers.  NFS servers enforce POSIX ACLs on local files whether
53	  this protocol is available or not.
54
55	  This option enables support in your system's NFS server for the
56	  NFSv3 ACL protocol extension allowing NFS clients to manipulate
57	  POSIX ACLs on files exported by your system's NFS server.  NFS
58	  clients which support the Solaris NFSv3 ACL protocol can then
59	  access and modify ACLs on your NFS server.
60
61	  To store ACLs on your NFS server, you also need to enable ACL-
62	  related CONFIG options for your local file systems of choice.
63
64	  If unsure, say N.
65
66config NFSD_V4
67	bool "NFS server support for NFS version 4 (EXPERIMENTAL)"
68	depends on NFSD && PROC_FS && EXPERIMENTAL
69	select NFSD_V3
70	select FS_POSIX_ACL
71	select RPCSEC_GSS_KRB5
72	help
73	  This option enables support in your system's NFS server for
74	  version 4 of the NFS protocol (RFC 3530).
75
76	  To export files using NFSv4, you need to install additional user
77	  space programs which can be found in the Linux nfs-utils package,
78	  available from http://linux-nfs.org/.
79
80	  If unsure, say N.
81