X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fnfsidmap%2Fnfsidmap.man;h=9badb3f6f31f9c3b8ffc2ae170dec97c2fbb8eff;hp=c67aab6087c8535796e2740b52d5148158a23e1c;hb=69aa69e7de80b6cdf2ea0212a2f3df20fc8d3853;hpb=d22ef3f525d71b565fcc688557273a6cabeeb71a diff --git a/utils/nfsidmap/nfsidmap.man b/utils/nfsidmap/nfsidmap.man index c67aab6..9badb3f 100644 --- a/utils/nfsidmap/nfsidmap.man +++ b/utils/nfsidmap/nfsidmap.man @@ -7,6 +7,8 @@ nfsidmap \- The NFS idmapper upcall program .SH SYNOPSIS .B "nfsidmap [-v] [-t timeout] key desc" +.br +.B "nfsidmap [-v] [-c]" .SH DESCRIPTION The file .I /usr/sbin/nfsidmap @@ -14,10 +16,18 @@ is used by the NFS idmapper to translate user and group ids into names, and to translate user and group names into ids. Idmapper uses request-key to perform the upcall and cache the result. .I /usr/sbin/nfsidmap -should only be called by request-key, and will perform the translation and +is called by /sbin/request-key, and will perform the translation and initialize a key with the resulting information. +.PP +.I nfsidmap +can also used to clear the keyring of all the keys. +This is useful when all the mappings have failed to due to an DNS outage +or some other error resulting in all the cached uid/gid to be invalid. .SH OPTIONS .TP +.B -c +Clear the keyring of all the keys. +.TP .B -t timeout Set the expiration timer, in seconds, on the key. The default is 600 seconds (10 mins).