NFSv$ and idmapd configs???
Hey Guys,
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.
For Example:
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.
Has anyone done this before?
Thanks,
J
|