LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-02-2006, 09:24 PM   #1
fadeone
Member
 
Registered: Feb 2006
Posts: 50

Rep: Reputation: 15
Why is Samba needed? Why not just use TCP/IP?


Hello,

This question has been bugging me today.

Why is Samba needed to network between MS and Linux workstations? Why not just configure them both to use TCP/IP, I know I'm missing or not understanding something here I just can't figure it out.

Also,

Is it possible to have a Linux server control MS workstations? For example 1 Linux Server - 60 Windows XP, 40 Windows 2000 Workstations.

Can you configure the users and stuff on the linux server? This question was also 'bothering' me.

Thanks.
 
Old 03-02-2006, 09:51 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Samba is a protocol that sits on top of TCP/IP, just like HTTP (web), SMTP (outbound email), or SSH. Samba is the protocol that handles file and print sharing. If you don't want to do any of that, you don't need Samba.
 
Old 03-02-2006, 09:53 PM   #3
fadeone
Member
 
Registered: Feb 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir
Samba is a protocol that sits on top of TCP/IP, just like HTTP (web), SMTP (outbound email), or SSH. Samba is the protocol that handles file and print sharing. If you don't want to do any of that, you don't need Samba.

But still, without Samba I won't be able to share files from MS machine to Linux machine, even though they both use TCP/IP, why is this?

Please look at my second question also.
 
Old 03-02-2006, 09:57 PM   #4
soulestream
Member
 
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
TCP/IP cant transfer files. You need an protocol to handle the process. Think of FTP, HTTP, etc. they all basically do the same job differently. TCP/IP builds the connnection. Think of it as building train tracks across a river. You still need the train to move the cargo.

As for your second part, yes. Windows Active Directory is nothing more than M$ version of LDAP. You can run OpenLDAP, Samba, and a few other apps and do everything and more that a windows server can do.


soule
 
Old 03-02-2006, 10:15 PM   #5
fadeone
Member
 
Registered: Feb 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by soulestream
TCP/IP cant transfer files. You need an protocol to handle the process. Think of FTP, HTTP, etc. they all basically do the same job differently. TCP/IP builds the connnection. Think of it as building train tracks across a river. You still need the train to move the cargo.

As for your second part, yes. Windows Active Directory is nothing more than M$ version of LDAP. You can run OpenLDAP, Samba, and a few other apps and do everything and more that a windows server can do.


soule

So why do you need to use Samba?

I always thought MS nativly uses TCP/IP to transfer if that's not it then what is the protocol that does the transfer between 2 MS machines?

What is the the protocol that does the transfer between 2 linux machines?

Thanks for clearing up the second question
 
Old 03-02-2006, 10:59 PM   #6
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by fadeone
So why do you need to use Samba?

I always thought MS nativly uses TCP/IP to transfer if that's not it then what is the protocol that does the transfer between 2 MS machines?

What is the the protocol that does the transfer between 2 linux machines?

Thanks for clearing up the second question
nfs (network file system) is the system used between linux machines...
 
Old 03-02-2006, 11:47 PM   #7
blinkey
Member
 
Registered: Mar 2006
Posts: 30

Rep: Reputation: 15
Look at this page on the Samba site for a detailed over view.

us2.samba.org/samba/docs/SambaIntro.html

Samba talks SMB and NetBIOS. These are protocls that windows (and others) used before TCP/IP ruled.
 
Old 03-03-2006, 12:32 AM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
So why do you need to use Samba?
The train tracks was a very good analogy, but it's clearly not made it through through.

TCP/IP is not a way of sending files, it's a way to manage a socket. Read this, it'll explain in detail what TCP is. Now read this, it'll explain what SMB is. Should clear some things up for you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA - NetBIOS/TCP-IP w/out calabash Linux - Networking 18 08-22-2005 12:37 AM
Woody 3.0 Open Ports 1470/tcp/uaiact 1518/tcp/vpvd What for?How can I remove them? alexxxis Debian 5 07-05-2004 05:18 PM
Samba and Windows TCP/IP Defboy2k Linux - Networking 5 04-17-2003 04:04 AM
your help about TCP-Friendliness and QoS needed. layls22 General 1 02-27-2003 09:30 AM
close port 6000/tcp 515/tcp SchwipSchwap Linux - Newbie 1 09-12-2002 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration