LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-08-2009, 01:01 PM   #1
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
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
 
Old 06-09-2009, 02:14 PM   #2
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Original Poster
Rep: Reputation: 57
Sounds like everyone is as stumped as I am. Well I have an open support ticket with Redhat, so if I get an answer I will be sure to let you all know.
 
  


Reply

Tags
nfsv4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Use of /etc/idmapd.conf ?? vikas027 Linux - Networking 1 11-01-2008 10:17 AM
NFS & idmapd ... nobody owns everything utahnix Linux - Networking 1 11-29-2007 07:50 PM
.configs ashlesha Linux - Newbie 2 07-09-2006 02:28 PM
rpc.idmapd cannot find user nobody aznluvsmc Fedora 1 09-30-2005 10:59 PM
Different X configs for different kernels? RustBucket Linux - Software 3 02-16-2005 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration