diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-01-26 16:54:23 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-06 18:48:01 -0500 |
commit | e6499c6f4b5f56a16f8b8ef60529c1da28b13aea (patch) | |
tree | 9212b8d42b0cb24e68c46509e3d924f2b9d30f41 /fs/nfs/Kconfig | |
parent | 2d3fe01c36a9b881fae89c5bdf4085a4d7d53ae1 (diff) |
NFS: Fall back on old idmapper if request_key() fails
This patch removes the CONFIG_NFS_USE_NEW_IDMAPPER compile option.
First, the idmapper will attempt to map the id using /sbin/request-key
and nfsidmap. If this fails (if /etc/request-key.conf is not configured
properly) then the idmapper will call the legacy code to perform the
mapping. I left a comment stating where the legacy code begins to make
it easier for somebody to remove in the future.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/Kconfig')
-rw-r--r-- | fs/nfs/Kconfig | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index dbcd82126aed..021d2cf6938a 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig | |||
@@ -132,14 +132,3 @@ config NFS_USE_KERNEL_DNS | |||
132 | select DNS_RESOLVER | 132 | select DNS_RESOLVER |
133 | select KEYS | 133 | select KEYS |
134 | default y | 134 | default y |
135 | |||
136 | config NFS_USE_NEW_IDMAPPER | ||
137 | bool "Use the new idmapper upcall routine" | ||
138 | depends on NFS_V4 && KEYS | ||
139 | help | ||
140 | Say Y here if you want NFS to use the new idmapper upcall functions. | ||
141 | You will need /sbin/request-key (usually provided by the keyutils | ||
142 | package). For details, read | ||
143 | <file:Documentation/filesystems/nfs/idmapper.txt>. | ||
144 | |||
145 | If you are unsure, say N. | ||