diff options
author | alfred <alfred@FreeBSD.org> | 2003-11-22 02:16:53 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-11-22 02:16:53 +0000 |
commit | f01b0589c9bcf48cf8f96825579ab7190c29f652 (patch) | |
tree | ba20f074b9b5dbee03581ca2d441fdf2b2964e5e /sbin/idmapd | |
parent | 5d06137397cc0869db52c0ca96423fe73cd0fae0 (diff) | |
download | FreeBSD-src-f01b0589c9bcf48cf8f96825579ab7190c29f652.zip FreeBSD-src-f01b0589c9bcf48cf8f96825579ab7190c29f652.tar.gz |
Bring in manpage for idmapd and change domain to @FreeBSD.org.
Approved by: re
Diffstat (limited to 'sbin/idmapd')
-rw-r--r-- | sbin/idmapd/idmapd.8 | 62 | ||||
-rw-r--r-- | sbin/idmapd/idmapd.c | 4 |
2 files changed, 64 insertions, 2 deletions
diff --git a/sbin/idmapd/idmapd.8 b/sbin/idmapd/idmapd.8 index 26c2c28..05d939c 100644 --- a/sbin/idmapd/idmapd.8 +++ b/sbin/idmapd/idmapd.8 @@ -1,2 +1,64 @@ +.\" copyright (c) 2003 +.\" the regents of the university of michigan +.\" all rights reserved +.\" +.\" permission is granted to use, copy, create derivative works and redistribute +.\" this software and such derivative works for any purpose, so long as the name +.\" of the university of michigan is not used in any advertising or publicity +.\" pertaining to the use or distribution of this software without specific, +.\" written prior authorization. if the above copyright notice or any other +.\" identification of the university of michigan is included in any copy of any +.\" portion of this software, then the disclaimer below must also be included. +.\" +.\" this software is provided as is, without representation from the university +.\" of michigan as to its fitness for any purpose, and without warranty by the +.\" university of michigan of any kind, either express or implied, including +.\" without limitation the implied warranties of merchantability and fitness for +.\" a particular purpose. the regents of the university of michigan shall not be +.\" liable for any damages, including special, indirect, incidental, or +.\" consequential damages, with respect to any claim arising out of or in +.\" connection with the use of the software, even if it has been or is hereafter +.\" advised of the possibility of such damages. +.\" .\" $FreeBSD$ man +.\" +.Dd November 14, 2003 +.Dt IDMAPD 8 +.Os +.Sh NAME +.Nm idmapd +.Nd name/uid mapper for NFSv4 +.Sh SYNOPSIS +.Nm +.Op Fl v +.Op Fl d Ar domainname +.Sh DESCRIPTION +The +.Nm +daemon normally runs in the background and services uid/gid-to-name and +name-to-uid/gid mapping +requests from the NFSv4 client. +.Pp +The options are: +.Bl -tag -width indent +.It Fl v +Be verbose, and do not run in the background. +.It Fl d +Set the domain part of the name string to the specified string. +.El +.Sh FILES +.Bl -tag -width /etc/master.passwd -compact +.It Pa /etc/pwd.db +The insecure password database file +.It Pa /etc/spwd.db +The secure password database file +.It Pa /etc/master.passwd +The current password file +.It Pa /etc/passwd +A Version 7 format password file +.El +.Sh SEE ALSO +.Xr getpwnam 2 , +.Xr getpwuid 2 , +.Xr mount_nfs 8 diff --git a/sbin/idmapd/idmapd.c b/sbin/idmapd/idmapd.c index 0cccde8..8dccd15 100644 --- a/sbin/idmapd/idmapd.c +++ b/sbin/idmapd/idmapd.c @@ -25,7 +25,7 @@ * advised of the possibility of such damages. */ -/* XXX ignores the domain of recieved names. */ +/* XXX ignores the domain of received names. */ #include <sys/types.h> #include <sys/ioctl.h> @@ -52,7 +52,7 @@ #define DEV_PATH "/dev/nfs4" -#define DOMAIN "@citi.umich.edu" +#define DOMAIN "@FreeBSD.org" #define BADUSER "nobody" #define BADGROUP "nogroup" #define BADUID (-2) |