Bring in manpage for idmapd and change domain to @FreeBSD.org.

Approved by: re
This commit is contained in:
alfred 2003-11-22 02:16:53 +00:00
parent 5d06137397
commit f01b0589c9
2 changed files with 64 additions and 2 deletions

View File

@ -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

View File

@ -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)