NFSMAPID(8) Maintenance Commands and Procedures NFSMAPID(8)

NAME


nfsmapid - NFS user and group id mapping daemon

SYNOPSIS


/usr/lib/nfs/nfsmapid

DESCRIPTION


The nfsmapid daemon maps to and from NFS version 4 owner and owner_group
identification attributes and local UID and GID numbers used by both the
NFS version 4 client and server.

nfsmapid uses the passwd and group entries in the /etc/nsswitch.conf file
to direct how it performs the mappings.

The nfsmapid daemon has no external, customer-accessible interfaces. You
can, however, administratively configure nfsmapid in one of the following
ways:

+o Set the nfsmapid_domain property for the nfs protocol using
sharectl(8).

+o Specify the _nfsv4idmapdomain DNS resource record.

SEE ALSO


svcs(1), nfs(5), attributes(7), smf(7), automountd(8), groupdel(8),
groupmod(8), mount_nfs(8), passmgmt(8), share_nfs(8), sharectl(8),
svcadm(8), userdel(8), usermod(8)

NOTES


The nfsmapid service is managed by the service management facility, smf(7),
under the service identifier:

svc:/network/nfs/mapid

Administrative actions on this service, such as enabling, disabling, or
requesting restart, can be performed using svcadm(8). The service's status
can be queried using the svcs(1) command.

If it is disabled, it will be enabled by mount_nfs(8), share_nfs(8), and
automountd(8), unless its application/auto_enable property is set to false.

nfsmapid caches a user's UID and GID. If a user subsequently changes a UID
or GID, using one of the utilities listed below, the nfsmapid cache becomes
stale. At this point, any NFS operation that gets or set attributes will
result in the exchange of this stale information. To resolve this
situation, restart nfsmapid, as follows:

# svcadm restart svc:/network/nfs/mapid:default

The utilities that allow you to change UID and GID are:

+o usermod(8)

+o userdel(8)

+o groupmod(8)

+o groupdel(8)

+o passmgmt(8)

illumos March 12, 2016 illumos