Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network filesystem choices.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
erebus
n00b
n00b


Joined: 17 May 2002
Posts: 49
Location: United Kingdom

PostPosted: Fri May 23, 2003 4:00 pm    Post subject: Network filesystem choices. Reply with quote

Hi ya,

I'm about to redo the gentoo file/web/email etc server in my house and I'm wonder if there are any other ways of sharing files I should be considering.

At the moment we just use samba which works fine for the mix of Windows and Linux machines that we have lying around, but now there are going to be a couple of Mac OSX machines to contend with.

So basically what are my options here for sharing files across all 3 different platforms? Samba? NFS? anything else? Oh and preferably it will have to nativally supported by the client OS or available as a free add on.

From what I read it seems like I'm going to have to stick with Samba as Windows doesn't seem to support anything else, but I have noticed the Windows->Linux sharing is noticably slow than Linux->Linux sharing.

Would there be any advantage of having a mixed NFS/Samba share system? Keeping samba for Windows and have NFS for OSX and Linux.

Anyway hopefully someone here can offer some advice before I go ahead.

Thanks,
Back to top
View user's profile Send private message
petu
Apprentice
Apprentice


Joined: 01 Sep 2002
Posts: 269
Location: Turku, Finland

PostPosted: Fri May 23, 2003 4:18 pm    Post subject: Re: Network filesystem choices. Reply with quote

erebus wrote:

Would there be any advantage of having a mixed NFS/Samba share system?


samba doesn't handle unix permissions correctly but nfs does.
_________________
Never be afraid to try something new. Remember, amateurs built the
ark; professionals built the Titanic. -- Anonymous
Back to top
View user's profile Send private message
RedBeard0531
Guru
Guru


Joined: 21 Sep 2002
Posts: 415
Location: maryland

PostPosted: Sat May 31, 2003 12:40 am    Post subject: Reply with quote

NFS is designed with a trusting security model. It gives full acces (ro or rw) to the client computer, and assumes that all users have the same UID every machine. Therefore it should only be used for machines you trust. Samba exports based on a user name/password combination, so you can use it more liberaly.

Remember:
With NFS you can export to a machine

With SMB you can export to a user.

If you wana know more, I suggest buying a book. I reccomend the $20/1000 page "Linux Complete". It is where I leared that stuff.
_________________
OH MY GOD! Kenny just killed Kenny!
That Basterd!
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Sat May 31, 2003 4:55 am    Post subject: Reply with quote

Quote:

NFS is designed with a trusting security model. It gives full acces (ro or rw) to the client computer, and assumes that all users have the same UID every machine. Therefore it should only be used for machines you trust. Samba exports based on a user name/password combination, so you can use it more liberaly.


NFS doesn't assume that uses on both machine have the same UID, you the admin has to make a deliberate effort to make it that way. If the user on one machine doesnt have the same UID as the user on the other then they WILL NOT be able to access their files. I really dont consider that very trusting.

From my experiences if you plan on sharing your system with a windows based computer, then samba is the one to pick. However, using nfs you can have one machine will all the data and share it will other systems. You also have control over the systems that you share nfs with. NFS is very good for sharing things such as the entire /home dir so that no matter which machine someone logs in on your network they have all their files there in their /home dir. However this would mean that everyone would have to have an account on every machine.

Hope this helps.....

Chris
Back to top
View user's profile Send private message
Woland
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 248
Location: Russian Jack, Alaska

PostPosted: Sat May 31, 2003 5:36 am    Post subject: Reply with quote

ctford0 wrote:
However this would mean that everyone would have to have an account on every machine.


There are ways around this too, cluncky old NIS, the more svelt but to me confusling LDAP, and even good old rsync+ssh can be used to keep same user settings across multiple machenes. Which is the best, now that, from all I hear NIS is nearly dead and gone, might be a good subject for another thread, like this one.

As for combining NFS and SAMBA---why not? Have one machene be your NFS server, and make a nice UNIX network. Have another machene export what ever pieces of that network they need to their Windoze brethern.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum