I have OpenBSD 4.3 configured as an NFS server. portmap=YES and
nfs_server=YES are both in /etc/rc.conf.local. My exports file has a
single line: "/share 10.0.1.3". /share is chmodded 777.
I can mount the NFS share from my OS X (10.4.9) box with 'mount_nfs -
P hostname:/share /mnt'. (The -P flag causes mount_nfs to "use a
reserved socket port number.") I would like to be able to mount the
share through the Finder's GUI, which provides no means of passing
flags to mount_nfs.
If I understand the man page correctly, it is possible to pass the -n
flag to mountd on OpenBSD and no longer require clients "make mount
requests from reserved ports." If I manually kill mountd and start it
with the -n flag (it shows up in ps -aux as "mountd -n"), I'm still
not able to mount the share from OS X without using the -P flag. I
receive the error "mount_nfs: /mnt: Permission denied".
I've also played around with maproot and mapall, thinking the
permission denied error could be related to users, but any
combination of these options and user options always yielded the same
result: the -P flag made the difference.
Any help would be much appreciated.
-Brian