A
A
AgentSIB2014-03-10 16:31:18
linux
AgentSIB, 2014-03-10 16:31:18

How to map accounts in NFS4?

Good afternoon.
In general, there was such a need:
There is an alpha and beta server. On alpfa there is a user simon (500), on the beta server there are users archi (501). The GID doesn't match either.
Is it possible to make sure that when mounting on NFS4, balls with beta, where all files belong to archi, on the alpha server, the rights are converted and the owner would be simon?
Interested in NFSv4.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
groovik, 2014-05-21
@groovik

Sometimes in the direction of these parameters in the NFS server:
map_identity
Client uids and gids correspond to server ones. Set by default.
map_daemon
Client and server do not share uid/gid space. rpc.nfsd will build a mapping map of the client and server IDs by querying the client for the rpc.ugidd daemon.
map_static
This option allows you to specify the name of a file that contains a static map of uids and gids. For example, map_static=/etc/nfs/vlight.map will define the /etc/nfs/vlight.map file as the uid/gid map. The map file syntax is described in the exports(5) man page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question