[CentOS] nfs4 and idmapd

Nicolas Thierry-Mieg Nicolas.Thierry-Mieg at imag.fr
Tue Apr 16 19:41:34 UTC 2013


Peter Wood wrote:
> I'm using CentOS5.9 and mounting a remote directory via NFSv4. The nfs
> server is OpenIndiana 151.a.7 (i.e. Solaris).
>
> Users bin and daemon have each others ID on the oposite system.
>
> On OpenIndiana:
>    User: bin; ID=2
>    User: daemon; ID=1
>
> On CentOS:
>    User: bin; ID=1
>    User: daemon; ID=2
>
> That means if I create a file as daemon on the client (CentOS), it gets
> saved on the server as owner bin and it shows back on the client as owner
> bin.
>
> I'm trying to use idmapd to define custom mapping but I can't get it
> working.

don't know for idmapd, but if you have a simple setup you could switch 
the uids of bin and daemon on your client (and chown all their files of 
course).



More information about the CentOS mailing list