diff options
author | Michael Guntsche <mike@it-loops.com> | 2011-07-13 13:26:57 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2011-07-13 13:26:57 -0400 |
commit | aa703c04fd20a5f5c74b7665f55dd9575b806448 (patch) | |
tree | 273b39285dafdbec7d704081fe56b192418e8576 /utils | |
parent | f3d38a7c84f5be084cd45d5d95e2417f1928bd02 (diff) | |
download | nfs-utils-aa703c04fd20a5f5c74b7665f55dd9575b806448.tar.gz nfs-utils-aa703c04fd20a5f5c74b7665f55dd9575b806448.tar.xz nfs-utils-aa703c04fd20a5f5c74b7665f55dd9575b806448.zip |
nfsidmap: Manpage corrections
I recently upgraded to 1.2.4 to use the new nfsidmap feature. While
following the manpage and the kernel documentation I noticed a
difference. Kernel docs mention key TYPE id_resolver while the manpage
states nfs_idmap. The following patch changes the manpage to the proper
type.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/nfsidmap/nfsidmap.man | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/nfsidmap/nfsidmap.man b/utils/nfsidmap/nfsidmap.man index 6c1a2d4..2381908 100644 --- a/utils/nfsidmap/nfsidmap.man +++ b/utils/nfsidmap/nfsidmap.man @@ -25,9 +25,9 @@ will need to be modified so can properly direct the upcall. The following line should be added before a call to keyctl negate: .PP -create nfs_idmap * * /usr/sbin/nfsidmap %k %d 600 +create id_resolver * * /usr/sbin/nfsidmap %k %d 600 .PP -This will direct all nfs_idmap requests to the program +This will direct all id_resolver requests to the program .I /usr/sbin/nfsidmap The last parameter, 600, defines how many seconds into the future the key will expire. This is an optional parameter for @@ -48,9 +48,9 @@ You can choose to handle any of these individually, rather than using the generic upcall program. If you would like to use your own program for a uid lookup then you would edit your request-key.conf so it looks similar to this: .PP -create nfs_idmap uid:* * /some/other/program %k %d 600 +create id_resolver uid:* * /some/other/program %k %d 600 .br -create nfs_idmap * * /usr/sbin/nfsidmap %k %d 600 +create id_resolver * * /usr/sbin/nfsidmap %k %d 600 .PP Notice that the new line was added above the line for the generic program. request-key will find the first matching line and run the corresponding program. |