gkedrovs
11-24-2003, 07:37 PM
I am configuring nfs and need to map a client UID of 500 to a server UID of 1000. According to everything I've seen thus far, the way to do that is add map_static=/etc/nfs.map to my /etc/exports entry. That I did (following the same syntax in many a post and how-to). When I go to exportfs -r, I get the following error:
exportfs: /etc/exports:5: unknown keyword "map_static=/etc/nfs.map"
Googling I found this:
http://www.dragoninc.on.ca/mail-archives/nfs/2001-05/0129.html
map_static seems not to be available now. It doesn't even appear in the manpage for exports.
Am I missing something here?
If this is true, that map_static is not avaiable, then I have to go in /etc/passwd and manually change UIDs (something I'd really prefer not to have to do).
Thanks.
-Greg
exportfs: /etc/exports:5: unknown keyword "map_static=/etc/nfs.map"
Googling I found this:
http://www.dragoninc.on.ca/mail-archives/nfs/2001-05/0129.html
map_static seems not to be available now. It doesn't even appear in the manpage for exports.
Am I missing something here?
If this is true, that map_static is not avaiable, then I have to go in /etc/passwd and manually change UIDs (something I'd really prefer not to have to do).
Thanks.
-Greg