home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25518 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  2.3 KB

  1. Path: sparky!uunet!mcsun!sun4nl!hacktic!utopia!hitchie
  2. From: hitchie@utopia.hacktic.nl (hitchie)
  3. Newsgroups: comp.os.linux
  4. Subject: NFS PROBLEM: Invalid client credential
  5. Message-ID: <cg3XXB1w165w@utopia.hacktic.nl>
  6. Date: Mon, 25 Jan 93 16:58:35 GMT
  7. Organization: U.T.O.P.I.A.
  8. Lines: 65
  9.  
  10. I'm having troubles mounting my dosbox from linux since i've upgraded to
  11. the latest SLS distribution.
  12.  
  13. My configuration:
  14.  
  15.       SLS 1.0 (19 January) kernel upgraded to 0.99-pl4
  16.       3c503 ethernet driver from ftp.super.org:/pub/linux/ethercards
  17.       Compiler GCC v2.3.3
  18.  
  19.       A dosbox running SOSS v2.3
  20.  
  21. I'm able to mount the linux machine from the dosbox when using PC-NFS
  22. without any problems. Which means that the linux nfs-server works
  23. fine.
  24.  
  25. But when running the SOSS NFS server on the dosbox and try
  26. to mount it from linux, this is what i got:
  27.  
  28. # mount -t nfs -o intr,rsize=1024,wsize=1024 helios:/d /pub
  29. rpc mount: RPC: Authentication error; why = Invalid client credential
  30. #
  31.  
  32. It looks like the dosbox can't handle the credentials i've just send.
  33. Maybe because of a wrong order or it's length was wrong?
  34. Both the hnfsd.log and umountd.log stay empty, so i can't
  35. provide more diagnostics than below.
  36.  
  37. After debugging i found that the clnt_call() in /bin/mount returns
  38. RPC_BADCRED. It uses the descriptor of authunix_create_default()
  39. which seems to provide wrong information.
  40.  
  41. This doesn't happen when i mount locally:
  42.  
  43. # rpcinfo -p
  44.    program vers proto   port
  45.     100000    2   tcp    111  portmapper
  46.     100000    2   udp    111  portmapper
  47.     100003    2   udp   2049  nfs
  48.     100005    1   udp    657  mountd
  49.     150001    1   udp    663  rpc.pcnfsd
  50.     150001    2   udp    663  rpc.pcnfsd
  51.     150001    1   tcp    666  rpc.pcnfsd
  52.     150001    2   tcp    666  rpc.pcnfsd
  53. # hostname
  54. comsat
  55. # mount -t nfs comsat:/usr/tmp /pub
  56. # cat /tmp/hnfsd.log
  57.  
  58.    getattr [1 93/1/25 16:14:44 comsat 0.0+0,2,3,4,7,8,10,12,19,49]
  59.     /usr/tmp
  60.    getattr on path '/usr/tmp'
  61.      t=2, m=41777, lk=2, u/g=0/0, sz=96, bsz=1024
  62.   blks=1, fsid=1, psi=2013269214, at=727963658, mt=727963658, ct=727963658
  63.     result:0
  64. # cat /tmp/umountd.log
  65. mountproc_mnt_1 [ 1 68 Mon Jan 25 16:14:44 1993 comsat 0.0 (0,2,3,4,7,8,10,12,
  66. 19,49) ]
  67. #
  68.  
  69. Thanks in advance for any help,
  70.  
  71.                -Marcel Kat
  72.  
  73.  ---
  74. hitchie@utopia.hacktic.nl (hitchie)
  75.