[comp.unix.questions] NFS between het. platforms

ajg@reef.cis.ufl.edu (Arnold Goldberg) (03/22/91)

Sorry if this insults anyone's intelligence, but it's got me stumped.


I'm trying to remotely mount a Chromatics disk (SYS5, has nfs and rfs) on 
a sun4 (4.1.1).  I'm positive that I have everything set up right because
it works sometimes.


95% of the time, though, I get RPC errors. When I try to mount the partition
I usually get an error along the lines of

mount:ppr07:/ server not responding RPC:Authentication error why=Invalid client
credential
mount:giving up on 
	/phoenix

Sometimes mount actually manages to mount it, and then I can  'cd' into it and 
it will be there but the next time around i'll get

RPC=Authentication error.


Any help would really be appreciated.

Arnold Goldberg

kepowers@mbunix.mitre.org (Powers) (03/22/91)

>mount:ppr07:/ server not responding RPC:Authentication error why=Invalid client
>credential
>mount:giving up on 
>	/phoenix

Check to see if your file system is being exported secure.  If it is,
you'll have to import it secure to avoid trouble.
-- 
----------

Kelly-Erin Powers		The MITRE Corporation
Unix Systems Group		Burlington Road
(617) 271-2143			Bedford, MA 01730
kepowers@mbunix.mitre.org	linus!mbunix!kepowers

jik@athena.mit.edu (Jonathan I. Kamens) (03/23/91)

  I've seen two different things that cause the "Invalid client credential"
error you mentioned.

  The first is that the host making the mount request is not putting a FDQN
into the "host" field in the request structure that rpc.mountd sees, and it's
in a different domain or something so rpc.mountd can't do a gethostbyname() on
the name and end up with the same IP address as the message indicates that
it's coming from.

  The second (if I recall correctly) is a line starting with a space in
/etc/hosts on the machine from which you're trying to mount.  Such a line
caused the nameserver library code (on an Ultrix machine) to mess up and
misresolve the host name of the client making the mount request, leading to
the problem described above.

  When you figure out the problem, I'd be interested in knowing what it was,
if it was something other than these two possibilities or what
kepowers@mbunix.mitre.org suggested (importing the filesystem secure).  Please
post what you find.

  Good luck!

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710