Networking Forums

Networking Forums > Computer Networking > Linux Networking > Samba vs. NFS

Reply
Thread Tools Display Modes

Samba vs. NFS

 
 
new2linuxos
Guest
Posts: n/a

 
      03-10-2005, 10:01 PM
Does anyone have have any input of any advantages of using Samba vs.
NFS to mount a shared directory ? We just want to be able to give
access to our users to access files that were created on their /home
direcoties thru programs running on the Linux server.

Thanks in advance.

 
Reply With Quote
 
 
 
 
James Knott
Guest
Posts: n/a

 
      03-11-2005, 12:03 AM
new2linuxos wrote:

> Does anyone have have any input of any advantages of using Samba vs.
> NFS to mount a shared directory ? We just want to be able to give
> access to our users to access files that were created on their /home
> direcoties thru programs running on the Linux server.
>


Samba doesn't understand Linux/Unix permissions.

 
Reply With Quote
 
prg
Guest
Posts: n/a

 
      03-11-2005, 12:19 AM

James Knott wrote:
> new2linuxos wrote:
>
> > Does anyone have have any input of any advantages of using Samba

vs.
> > NFS to mount a shared directory ? We just want to be able to give
> > access to our users to access files that were created on their

/home
> > direcoties thru programs running on the Linux server.
> >

>
> Samba doesn't understand Linux/Unix permissions.


Huh?

In what sense and in what sense does it matter?

A _Linux_ Samba sever is running... ummm... Linux with Linux
filesystems (and their file permissions).

Clarify?

prg

 
Reply With Quote
 
ray
Guest
Posts: n/a

 
      03-11-2005, 04:43 AM
On Thu, 10 Mar 2005 15:01:06 -0800, new2linuxos wrote:

> Does anyone have have any input of any advantages of using Samba vs.
> NFS to mount a shared directory ? We just want to be able to give
> access to our users to access files that were created on their /home
> direcoties thru programs running on the Linux server.
>
> Thanks in advance.


NFS was made for *nix - Samba was made to interface with MS - if you don't
have MS to worry about, don't use Samba.

 
Reply With Quote
 
new2linuxos
Guest
Posts: n/a

 
      03-11-2005, 05:27 AM
Yes, we won't be using this for linux to linux platforms, but for linux
to windows workstations. so what I understand is that they do two
different things, can they co-exist.

thanks...

 
Reply With Quote
 
ray
Guest
Posts: n/a

 
      03-11-2005, 03:53 PM
On Thu, 10 Mar 2005 22:27:06 -0800, new2linuxos wrote:

> Yes, we won't be using this for linux to linux platforms, but for linux
> to windows workstations. so what I understand is that they do two
> different things, can they co-exist.
>
> thanks...


If all you want to do is share files, NFS is probably still best. I
believe MS has free 'unix tools' which implements it.

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      03-11-2005, 08:48 PM
prg wrote:

>> Samba doesn't understand Linux/Unix permissions.

>
> Huh?
>
> In what sense and in what sense does it matter?
>
> A Linux Samba sever is running... ummm... Linux with Linux
> filesystems (and their file permissions).
>
> Clarify?


Cause I said so! ;-)

Actually, I used a poor choice of works. NFS was designed as a Unix network
file system, and as such handles the user IDs etc., as though the shares
were local drives. With Samba, you have to convert to the SMB methods and
then convert back, if the other computer is also Unix or Linux. The
permission and access structure of SMB is quite different than that of NFS,
necessitating the conversion. It's always best to use native tools. i.e.
NFS for Unix and SMB for Windows.

 
Reply With Quote
 
prg
Guest
Posts: n/a

 
      03-11-2005, 10:55 PM

James Knott wrote:
> prg wrote:
>
> >> Samba doesn't understand Linux/Unix permissions.

> >
> > Huh?
> >
> > In what sense and in what sense does it matter?
> >
> > A Linux Samba sever is running... ummm... Linux with Linux
> > filesystems (and their file permissions).
> >
> > Clarify?

>
> Cause I said so! ;-)
>
> Actually, I used a poor choice of works. NFS was designed as a Unix

network
> file system, and as such handles the user IDs etc., as though the

shares
> were local drives. With Samba, you have to convert to the SMB

methods and
> then convert back, if the other computer is also Unix or Linux. The
> permission and access structure of SMB is quite different than that

of NFS,
> necessitating the conversion. It's always best to use native tools.

i.e.
> NFS for Unix and SMB for Windows.


I was 99.999999...% sure that was what you meant. My question was more
a wink to you (for the OP's benefit).

I would not have noted it except you usually post with more "built-in"
explanation.

;-)

regards,
prg

 
Reply With Quote
 
Michael W Cocke
Guest
Posts: n/a

 
      03-12-2005, 12:41 AM
On Fri, 11 Mar 2005 09:53:54 -0700, ray <(E-Mail Removed)> wrote:

>On Thu, 10 Mar 2005 22:27:06 -0800, new2linuxos wrote:
>
>> Yes, we won't be using this for linux to linux platforms, but for linux
>> to windows workstations. so what I understand is that they do two
>> different things, can they co-exist.
>>
>> thanks...

>
>If all you want to do is share files, NFS is probably still best. I
>believe MS has free 'unix tools' which implements it.


It's pretty cheesy... it looks like Microsoft wrote it. 8-)>

I'd suggest samba on the linux side.

Mike-

--
Mornings: Evolution in action. Only the grumpy will survive.
--

Please note - Due to the intense volume of spam, we have installed site-wide spam
filters at catherders.com. If email from you bounces, try non-HTML, non-encoded,
non-attachments.

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
Jeroen Geilman
Guest
Posts: n/a

 
      05-02-2005, 09:00 PM
James Knott wrote:

> Samba doesn't understand Linux/Unix permissions.


Oh yes it does... with samba 3 you can connect over CIFS/SMB to another
*nix and relay UID/GID stuff like it was local.
This even has an added advantage in that you can do username translation
- which is harder with NFS.


--
J

Where does the shit go ?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do all Linux distros have Samba built-in? Detect if Samba installed? Matthew Lincoln Linux Networking 8 11-17-2008 12:11 AM
Dancing the Samba with DD-WRT (Samba FS Automount) Louis Ohland Wireless Internet 2 12-01-2006 12:55 PM
A few questions regarding samba from a samba and windows rookie Madhusudan Singh Linux Networking 0 03-30-2005 05:54 PM
samba & xp ami2 Linux Networking 3 01-23-2004 07:17 PM
[Samba] WINS on Samba server and Routing jbob Linux Networking 0 08-13-2003 01:31 AM



1 2 3 4 5 6 7 8 9 10 11