Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Been a long time since I posted but I am in need of some serious help here. I had to setup and NFSv4 server. I ahve a situation where I have 2 user accounts and a group account with the same name on 2 different servers. They were not created using the same UID and GID. I need to figure out how to configure the /etc/idmapd.conf to get it to convert the UID and GID of files as they are transfer from the client to the NFS server.
Client is RHEL 5.1
user accounts are: user1 and user2
group is group1
group1 has a GID of 104
user1 has a UID of 510
user2 has a UID of 520
Server is RHEL 5.1
User accounts are: user1 and user2
group is group1
group1 has a GID of 105
user1 has a UID of 504
user2 has a UID of 501
If a file is transfered from the client to the server it belongs to UID 520 and GID 104. This UID and GID do not exist on the server.
I would just change owner but I would also have to chmod them. I have over 55,000 files to work with so thats not a valid option.
Ideally I would use the idmapd to do this for me.
Problem is I can not figure out how to configure the idmapd.conf to make it actually work.