This here is pretty good at resolving troubles on SFU
SFU NFS
David Higgs wrote:
I've tried to configure NFS and am nearly all the way there, but it
seems like I've hit a pretty big stumbling block. I've got OpenBSD
4.1-stable (10.0.0.1) with an NFS export of my home directory. I also
have a Windows XP machine (10.0.0.2) and installed the SFU 3.5 NFS
client.
[/etc/exports]
/home/david -mapall=david:guest -network=10.0.0.0 -mask=255.255.255.0
I can successfully mount this share locally and perform both reads and writes.
Without any of SFU's User Name Mapping configured, I can mount the
share with uid/gid of -2/-2 as advertised. Appropriately, I cannot
access any files or directories that are not world-readable. However,
inside a chmod-777 directory, I cannot create files or directories
(which might be as expected).
After configuring User Name Mapping to map my Windows account to the
UNIX account, I can mount the share with the expected uid/gid.
Although I can read user-only files and directories, I still cannot
create any files or directories. Windows keeps reporting that the
drive has write-protection enabled.
I know this isn't a SFU help forum, but any ideas to try or tips on
troubleshooting the NFS side is more than welcome. Thanks in advance.
--david
P.S. On an unrelated sidenote, does mountd always bind to the same
ports by default? If not, is there a way to fix them at certain
values, so that PF rules can be written to match? Linux rpc.mountd(8)
supposedly has a -p option that can be used for this purpose.