Re: Please try knfsd-981014

Thomas Davis (tadavis@lbl.gov)
Tue, 20 Oct 1998 10:11:25 -0700


Peter Benie wrote:
>
> Thomas Davis writes ("Re: Please try knfsd-981014"):
> > Peter Benie wrote:
> > >
> > > Last time I looked that knfsd, it refused to respond to clients that
> > > the kernel doesn't know about, which breaks Solaris and amd.
> >
> > uhm, the lastest version will allow Solaris clients to mount; you just
> > get funny errors out of the system. (I'll have to dig up the messages,
> > since I have both Solaris 2.6 clients and Linux Knfs servers)
>
> If you are able to mount, then you have your client explicitly
> mentioned in the export list. The problem being discussed (and now
> fixed) is where you have an export to the world (or to a netgroup etc),
> where the kernel doesn't know that the client is authorized when
> it first receives an NFS packet from the client.
>

(ip addresses have been changed to protect the innocent machines)

knfsd981014 does:

nfsd: connect from unprivileged port: xxxxxxxx:44609<4>nfsd: accept
failed (err 11)!
nfsd: accept failed (err 11)!
svc: unknown program 100227 (me 100003)

when I use my solaris 2.6 box to mount the file system. the
/etc/exports is:

/scratch xxx.xxx.xxx.0/255.255.255.0(rw,no_root_squash)

uname on the solaris box gives:

SunOS hostname 5.6 Generic_105181-07 sun4u sparc
SUNW,Ultra-4

(yea, I know about the root_sqaush.. need it to move some files over,
and once there, I'm removing it)

But, it then does mount it!

(I'm tempted to generate a patch to change the 80031073 to the IP
address, instead of the hex values)

-- 
------------------------+--------------------------------------------------
Thomas Davis		| PDSF Project Leader
tadavis@lbl.gov		| "Only a petabyte of data in a year?"
(510) 486-4524		|

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/