[OLUG] NFS client-mapping question

Rogers, John C NWD02 John.C.Rogers at nwd02.usace.army.mil
Mon Jan 10 21:57:33 UTC 2000


I don't know if this will help or not but in a Sun setup when you have a NFS
server and multiple clients you want to make sure the clients UIDs on all
the accounts on all the boxes (clients and servers) are the same.  Or use
NIS+ to force a single account across multiple boxes.

The NFS software only knows what UID and GID a client is.  So it looks it up
locally and that is the owner of the file on the server box.  If the UIDs
are different then things can get ugly with ghost users or different owning
files etc written by clients.  I have never like the static mapping stuff
figuring if a user has a need to mount files then the user should have a
valid account on the server also.

Hope it helps,
John

-----Original Message-----
From: pswartz at digitalrom.com [mailto:pswartz at digitalrom.com]
Sent: Monday, January 10, 2000 12:47 PM
To: olug at bstc.net
Subject: [OLUG] NFS client-mapping question


Hope someone can help.  I am setting up several NFS servers using RH6.1, the
clients will be RH5.x to RH6.x boxes.  The problem I am having is mapping
uid & gid between the servers and clients.  The exports man page has several
suggestions,
1) use map_static=/file.map where file.map translates local to remote id's.
2) use map_daemon which requires the client to have rpc.ugidd,
3) use NIS.

I wish I could get any of these to work.  With the first idea -- putting a
valid map_static in the exports file gives an "unsupported" error when
running exportfs -a.
The second idea -- using map_daemon,  I CAN'T FIND rpc.ugidd.  Can find lots
of man pages for it, but no binary.  :(
The third idea -- I'm not using NIS.

Any ideas, sollutions, comments, or anything else (except laughing in my
face) would be appreciated.  :)

Patrick


-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/ 
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net` 

-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/ 
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net` 



More information about the OLUG mailing list