- Mar 18, 2003
- 5,513
- 0
- 0
I'm trying to access an nfs export on my openbsd server from os x and I'm getting rejected. I'm a little foggy on how nfs authentication works other than that it's by user id and I'm not sure if that has anything to do with why I'm being rejected.
So I've got portmap, mountd and nfsd running on the server and I can successfully query with showmount from either machine. When I do this on the client:
mount -o ro -t nfs server:/remote/path /local/path
The mount rpc call goes through fine, but the first nfs call (GETATTR apparently) fails with an AUTH_ERROR. I'm getting this info from ethereal.
So here's the line from /etc/exports:
/remote/path -ro -mapall=myusername
The user owning the file on the server is uid=1000 and on the client it's uid=501. I figured this might have something to do with it, hence the -mapall but no dice. Do they actually have to be the same to make it work?
So I've got portmap, mountd and nfsd running on the server and I can successfully query with showmount from either machine. When I do this on the client:
mount -o ro -t nfs server:/remote/path /local/path
The mount rpc call goes through fine, but the first nfs call (GETATTR apparently) fails with an AUTH_ERROR. I'm getting this info from ethereal.
So here's the line from /etc/exports:
/remote/path -ro -mapall=myusername
The user owning the file on the server is uid=1000 and on the client it's uid=501. I figured this might have something to do with it, hence the -mapall but no dice. Do they actually have to be the same to make it work?