home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!hacktic!utopia!hitchie
- From: hitchie@utopia.hacktic.nl (hitchie)
- Newsgroups: comp.os.linux
- Subject: NFS PROBLEM: Invalid client credential
- Message-ID: <cg3XXB1w165w@utopia.hacktic.nl>
- Date: Mon, 25 Jan 93 16:58:35 GMT
- Organization: U.T.O.P.I.A.
- Lines: 65
-
- I'm having troubles mounting my dosbox from linux since i've upgraded to
- the latest SLS distribution.
-
- My configuration:
-
- SLS 1.0 (19 January) kernel upgraded to 0.99-pl4
- 3c503 ethernet driver from ftp.super.org:/pub/linux/ethercards
- Compiler GCC v2.3.3
-
- A dosbox running SOSS v2.3
-
- I'm able to mount the linux machine from the dosbox when using PC-NFS
- without any problems. Which means that the linux nfs-server works
- fine.
-
- But when running the SOSS NFS server on the dosbox and try
- to mount it from linux, this is what i got:
-
- # mount -t nfs -o intr,rsize=1024,wsize=1024 helios:/d /pub
- rpc mount: RPC: Authentication error; why = Invalid client credential
- #
-
- It looks like the dosbox can't handle the credentials i've just send.
- Maybe because of a wrong order or it's length was wrong?
- Both the hnfsd.log and umountd.log stay empty, so i can't
- provide more diagnostics than below.
-
- After debugging i found that the clnt_call() in /bin/mount returns
- RPC_BADCRED. It uses the descriptor of authunix_create_default()
- which seems to provide wrong information.
-
- This doesn't happen when i mount locally:
-
- # rpcinfo -p
- program vers proto port
- 100000 2 tcp 111 portmapper
- 100000 2 udp 111 portmapper
- 100003 2 udp 2049 nfs
- 100005 1 udp 657 mountd
- 150001 1 udp 663 rpc.pcnfsd
- 150001 2 udp 663 rpc.pcnfsd
- 150001 1 tcp 666 rpc.pcnfsd
- 150001 2 tcp 666 rpc.pcnfsd
- # hostname
- comsat
- # mount -t nfs comsat:/usr/tmp /pub
- # cat /tmp/hnfsd.log
-
- getattr [1 93/1/25 16:14:44 comsat 0.0+0,2,3,4,7,8,10,12,19,49]
- /usr/tmp
- getattr on path '/usr/tmp'
- t=2, m=41777, lk=2, u/g=0/0, sz=96, bsz=1024
- blks=1, fsid=1, psi=2013269214, at=727963658, mt=727963658, ct=727963658
- result:0
- # cat /tmp/umountd.log
- mountproc_mnt_1 [ 1 68 Mon Jan 25 16:14:44 1993 comsat 0.0 (0,2,3,4,7,8,10,12,
- 19,49) ]
- #
-
- Thanks in advance for any help,
-
- -Marcel Kat
-
- ---
- hitchie@utopia.hacktic.nl (hitchie)
-