2005-01-06 10:32:50

by nac kawathekar

[permalink] [raw]
Subject: Primary NFS doubts. plz..................help

?
Hello,

How NFS authenticates the client ? What information needs to be send by the client for authentication ? Is it uid,gid or what ?

To use NFS is it necessary to use NIS ? Is NIS a compulsory thing to use NFS? If not what is done ?

Can any windows client mount NFS share ?

Can i get any explaination of NFS code on net and control flow of how NFS works exactly in detail.



Attachments:
(No filename) (386.00 B)
(No filename) (670.00 B)
Download all attachments

2005-01-06 14:09:20

by mehta kiran

[permalink] [raw]
Subject: Re: Primary NFS doubts. plz..................help

1. Only those clients to whom nfs server exports
filesystem can access it.while exporting ,
server specifies uid , gid of user who
can access filesystem.while mounting nfs
server does all the validation to see if
client can mount the filesystem.
After mouting ,client gets handle from
server (handle composed of fsid , root inode
of mounted filesystem , etc)
Later on client does all operations using
this handle and server validates client
using this handle.
See Man pages of nfs , exportfs , statd etc.

2. NIS is not compulsory for NFS. NIS(NIS server)
is application which maintains database
(passwd , /etc/hosts ,....) which
can be used by all mahines(NIS client)
Update this files on NIS server and they will
avaiable to all other NIS slave servers.
NIS client can then send their query to
these servers.Network login is verified using
NIS.Eg: if u want to login to a machine
(with NIS client on it) nis client on that
machine will authenticate ur user name and
password by contacting NIS server.
Ref book: NFS and NIS

3. There are NFS clients on windows also though
not much popular.U can use those to mount
nfs exported filesystem.More popular on
windows is samba
4. Explanation of different NFS daemons is available
but i doubt if code explanation is available
Best way to understand NFS is its source code.

-kiran
--- nac kawathekar <[email protected]> wrote:

>  
> Hello,
>
> How NFS authenticates the client ? What information
> needs to be send by the client for authentication ?
> Is it uid,gid or what ?
>
> To use NFS is it necessary to use NIS ? Is NIS a
> compulsory thing to use NFS? If not what is done ?
>
> Can any windows client mount NFS share ?
>
> Can i get any explaination of NFS code on net and
> control flow of how NFS works exactly in detail.
>
>
>




__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2005-01-06 16:38:23

by elijah wright

[permalink] [raw]
Subject: Re: Primary NFS doubts. plz..................help



I suggest that you peruse the FAQs and the available NFS HOWTOs. Those
should answer the bulk of your questions.



On Thu, 6 Jan 2005, nac kawathekar wrote:

> Date: 6 Jan 2005 10:34:06 -0000
> From: nac kawathekar <[email protected]>
> To: [email protected]
> Subject: [NFS] Primary NFS doubts. plz..................help
>
> ?
> Hello,
>
> How NFS authenticates the client ? What information needs to be send by
> the client for authentication ? Is it uid,gid or what ?
>
> To use NFS is it necessary to use NIS ? Is NIS a compulsory thing to use
> NFS? If not what is done ?
>
> Can any windows client mount NFS share ?
>
> Can i get any explaination of NFS code on net and control flow of how
> NFS works exactly in detail.