Re: NFS authentication

1999-09-14 Thread Doug Rabson
On Mon, 13 Sep 1999, Zhihui Zhang wrote:

 
 I am wondering where the NFS authentication is done in FreeBSD. Is it done
 by the NFS daemon mountd (or other daemon) or within the kernel?  Can
 anyone give me a pointer?  Thanks a lot. 

Kerberos authentication is done by nfsd. The kernel returns ENEEDAUTH from
the nfssvc() call and nfsd does the authentication, passing the results
back via nfssvc(). I don't think this code is actually used by anyone so
there is a strong possibility that it doesn't work at all.

--
Doug Rabson Mail:  d...@nlsystems.com
Nonlinear Systems Ltd.  Phone: +44 181 442 9037




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: NFS authentication

1999-09-14 Thread Alfred Perlstein

On Tue, 14 Sep 1999, Doug Rabson wrote:

 On Mon, 13 Sep 1999, Zhihui Zhang wrote:
 
  
  I am wondering where the NFS authentication is done in FreeBSD. Is it done
  by the NFS daemon mountd (or other daemon) or within the kernel?  Can
  anyone give me a pointer?  Thanks a lot. 
 
 Kerberos authentication is done by nfsd. The kernel returns ENEEDAUTH from
 the nfssvc() call and nfsd does the authentication, passing the results
 back via nfssvc(). I don't think this code is actually used by anyone so
 there is a strong possibility that it doesn't work at all.

nfs_socket.c:#ifdef NFSKERB
nfs_socket.c-   XXX
nfs_socket.c-#endif

There is some work already there, it's just incomplete.

-Alfred



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: NFS authentication

1999-09-14 Thread Doug Rabson
On Tue, 14 Sep 1999, Alfred Perlstein wrote:

 
 On Tue, 14 Sep 1999, Doug Rabson wrote:
 
  On Mon, 13 Sep 1999, Zhihui Zhang wrote:
  
   
   I am wondering where the NFS authentication is done in FreeBSD. Is it done
   by the NFS daemon mountd (or other daemon) or within the kernel?  Can
   anyone give me a pointer?  Thanks a lot. 
  
  Kerberos authentication is done by nfsd. The kernel returns ENEEDAUTH from
  the nfssvc() call and nfsd does the authentication, passing the results
  back via nfssvc(). I don't think this code is actually used by anyone so
  there is a strong possibility that it doesn't work at all.
 
 nfs_socket.c:#ifdef NFSKERB
 nfs_socket.c-   XXX
 nfs_socket.c-#endif
 
 There is some work already there, it's just incomplete.

I have a feeling that it was once complete but was ripped out for
crypto-export reasons.

--
Doug Rabson Mail:  d...@nlsystems.com
Nonlinear Systems Ltd.  Phone: +44 181 442 9037




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



NFS authentication

1999-09-13 Thread Zhihui Zhang

I am wondering where the NFS authentication is done in FreeBSD. Is it done
by the NFS daemon mountd (or other daemon) or within the kernel?  Can
anyone give me a pointer?  Thanks a lot. 

--
Zhihui Zhang.  Please visit http://www.freebsd.org
--



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message