Samba File Sharing 1 of 17
Notes
:
File Sharing
By
Hal Miller &
Scottie Swenson
Samba File Sharing 2 of 17
Notes
:
Presentation Overview
• What is Samba
•What is SMB
•What is CIFS
• Samba Parts
• Trouble Shooting
• Discussion of MBT Setup
In general we intend to quickly walk through descriptions of what makes up the components of Samba
and the protocols used in it. Next we will discuss some configuration problems and issues. Last we will
provide an overview of our set up at MBT.
Samba File Sharing 3 of 17
Notes
:
What is Samba
• Software that provides Server Message Block (SMB)
protocol to a UNIX system.
• Provides File Sharing Services to and from MS-DOS
based clients (IBM, ICL, Microsoft, etc.)
• Provides Printer Sharing to and from MS-DOS based
clients
• Most important -- it is FREE
Samba is Server Message Block (SMB) file and printer server software for computers running under
Unix or another Unix-like operating systems with standard TCP/IP available. Samba, is based on UNIX
file structure, permissions, system calls and services. SMB is a "native" networking protocol used by
MS-DOS based clients (IBM, ICL, Microsoft and even one particular Novell product). For this talk we
are mostly interested in "Windows for Workgroups", "Windows 95/98" and "Windows NT" clients.
SMB is becoming very popular, mainly owing to these factors:
• Windows 95 has dial-up access to PPP servers with an included service, and this service allows
one to "browse" to public shares on the Internet.
• Samba is "free" and this is a lot less expensive than Novell! (friendlier too!)
• With Samba, Unix servers, well connected to a global network, can speak in a "native" protocol of
clients. It is much simpler to maintain one more protocol on a capable server than teach
new tricks to multiple clients which were never meant to do something else.
• There is an established, well tested way of doing SMB over TCP/IP described in publicly avails-
ble RFC 1001 and RFC 1002 documents.
• This means that SMB has a head start when it comes to Internet integration.
Samba File Sharing 4 of 17
Notes
:
Where to get Samba
The Main site is at
• ftp://nimbus.anu.edu.au/pub/tridge/samba/ .
Many mirror sites abound:
• ftp://src.doc.ic.ac.uk/packages/samba
• ftp://ftp.demon.co.uk/pub/unix/samba
• ftp://sunsite.unc.edu/pub/Linux/system/Network/
Samba/
• ftp://choc.satech.net.au/pub/samba
Samba software is freely available "on the net". It was created, and is still actively developed, by Andrew
Tridgell, Andrew.Tridgell@anu.edu.au.
He really likes Pizza... (Check out any Samba sites for details).
Samba File Sharing 5 of 17
Notes
:
What is SMB?
• Originally named Microsoft Networks/OpenNET-
FILE SHARING PROTOCOL
• Protocol for sharing files, printers, serial ports, and
communications objects between computers.
• Designed to operate over the network protocols.
SMB was introduced in 1987 by Microsoft and Intel and was called Microsoft Networks/OpenNET-FILE
SHARING PROTOCOL. It has since been developed further by Microsoft and others. Many of the docu-
ments that define the SMB protocol(s) are available at the Microsoft SMB documentation area ftp://
ftp.microsoft.com/developr/drg/CIFS/.
SMB is a client server, request-response protocol.
SMB will work over "TCP/IP, NetBEUI and IPX/SPX. If TCP/IP or NetBEUI are in use, the NetBIOS
API is being used. NetBIOS over TCP/IP seems to be referred to by many names. Microsoft refers to it
as NBT in some places and NetBT in others (specifically in their Windows NT documentation and in the
Windows NT registry). Others refer to it as RFCNB. NetBEUI is sometimes refered to as NBF (NetBIOS
Frame Format?) by Microsoft."
评论0