diff options
| author | Bryan Schumaker <bjschuma@netapp.com> | 2012-01-26 16:54:25 -0500 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-02-06 18:48:01 -0500 |
| commit | a602bea3e7ccc5ce3da61d2c18245c4058983926 (patch) | |
| tree | 8a8ff57d6c86111df6713fe2c567c6888efd35aa | |
| parent | 3cd0f37a2cc9e4d6188df10041a2441eaa41d991 (diff) | |
NFS: Update idmapper documentation
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
| -rw-r--r-- | Documentation/filesystems/nfs/idmapper.txt | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Documentation/filesystems/nfs/idmapper.txt b/Documentation/filesystems/nfs/idmapper.txt index 120fd3cf7fd9..fe03d10bb79a 100644 --- a/Documentation/filesystems/nfs/idmapper.txt +++ b/Documentation/filesystems/nfs/idmapper.txt | |||
| @@ -4,13 +4,21 @@ ID Mapper | |||
| 4 | ========= | 4 | ========= |
| 5 | Id mapper is used by NFS to translate user and group ids into names, and to | 5 | Id mapper is used by NFS to translate user and group ids into names, and to |
| 6 | translate user and group names into ids. Part of this translation involves | 6 | translate user and group names into ids. Part of this translation involves |
| 7 | performing an upcall to userspace to request the information. Id mapper will | 7 | performing an upcall to userspace to request the information. There are two |
| 8 | user request-key to perform this upcall and cache the result. The program | 8 | ways NFS could obtain this information: placing a call to /sbin/request-key |
| 9 | /usr/sbin/nfs.idmap should be called by request-key, and will perform the | 9 | or by placing a call to the rpc.idmap daemon. |
| 10 | translation and initialize a key with the resulting information. | 10 | |
| 11 | NFS will attempt to call /sbin/request-key first. If this succeeds, the | ||
| 12 | result will be cached using the generic request-key cache. This call should | ||
| 13 | only fail if /etc/request-key.conf is not configured for the id_resolver key | ||
| 14 | type, see the "Configuring" section below if you wish to use the request-key | ||
| 15 | method. | ||
| 16 | |||
| 17 | If the call to /sbin/request-key fails (if /etc/request-key.conf is not | ||
| 18 | configured with the id_resolver key type), then the idmapper will ask the | ||
| 19 | legacy rpc.idmap daemon for the id mapping. This result will be stored | ||
| 20 | in a custom NFS idmap cache. | ||
| 11 | 21 | ||
| 12 | NFS_USE_NEW_IDMAPPER must be selected when configuring the kernel to use this | ||
| 13 | feature. | ||
| 14 | 22 | ||
| 15 | =========== | 23 | =========== |
| 16 | Configuring | 24 | Configuring |
