home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!usc!nic.csu.net!csufres.CSUFresno.EDU!olson
- Newsgroups: comp.protocols.nfs
- Subject: Help with NFS client!
- Message-ID: <1993Jan11.213654.3763@nic.csu.net>
- From: olson@csufres.CSUFresno.EDU (Brian Olson)
- Date: 11 Jan 93 21:36:53 PST
- Distribution: world
- Organization: California State University, Fresno
- Nntp-Posting-Host: csufres.csufresno.edu
- Lines: 34
-
-
- Dear NFS gurus:
-
- I am relatively new to NFS (RPC for that matter) and have a few
- questions that I would be very grateful for help with. I am
- flying blind with only RFC1094 to help me...
-
- I am trying to implement a very simple NFS client, running on machine
- A, which will contact the NFS server (running on machine B).
- First I make the RPC call to procedure MOUNTPROC_EXPORT (5) of the
- mountd daemon on machine B. It correctly responds with its exported
- list of directories. Then I RPC call to MOUNTPROC_MNT (1) with the
- first directory that was returned to me. The RPC call is accepted, but
- the returned file handle is all zeros, and a error status of 13 is
- reported. I assume this is the standard NFSERR_ACCESS error (permission
- denied)--true?
-
- I don't know why this call is failing, as machine A is in machine
- B's /etc/export file for the desired directory. (Viewing machine B's
- /etc/xtab or executing exportfs confirms this.) Also the
- exported directories are rwx for all.
-
-
- HELP!!! I am at my wits end! Should what I am doing be
- working? I would be grateful for any replies, ANY AT ALL...
- C source code would be great! Please post to me or to the list--
- I now read it daily!
-
- Thanks in advance!
- Brian Olson
- olson@csufres.csufresno.edu
-
-
-
-