0% found this document useful (0 votes)
42 views2 pages

Samba

Samba allows Unix systems to integrate with Windows networks by implementing the Common Internet File System (CIFS) protocol. It allows Windows users to access files and printers on Unix hosts without knowing the underlying operating system. Samba comes with utilities like smbclient that allow transferring files between Unix and Windows systems. Samba also supports mounting SMB file shares from Windows servers to appear as local filesystems on Linux machines using smbfs or the newer smbsh shell. This allows transparent access and management of files on Windows shares from Linux.

Uploaded by

Aman Bindra
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views2 pages

Samba

Samba allows Unix systems to integrate with Windows networks by implementing the Common Internet File System (CIFS) protocol. It allows Windows users to access files and printers on Unix hosts without knowing the underlying operating system. Samba comes with utilities like smbclient that allow transferring files between Unix and Windows systems. Samba also supports mounting SMB file shares from Windows servers to appear as local filesystems on Linux machines using smbfs or the newer smbsh shell. This allows transparent access and management of files on Windows shares from Linux.

Uploaded by

Aman Bindra
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Samba?

Samba runs on Unix platforms, but speaks to Windows clients like a native. It allows a Unix system to move into a Windows "Network Neighborhood" without causing a stir. Windows users can happily access file and print services without knowing or caring that those services are being offered by a Unix host. All of this is managed through a protocol suite which is currently known as the "Common Internet File System", or CIFS. This name was introduced by Microsoft, and provides some insight into their hopes for the future. At the heart of CIFS is the latest incarnation of the Server Message Block (SMB) protocol, which has a long and tedious history. Samba is an open source CIFS implementation, and is available for free from the http://samba.org/ mirror sites.

Samba comes with a variety of utilities. The most commonly used are: smbclient A simple SMB client, with an interface similar to that of the FTP utility. It can be used from a Unix system to connect to a remote SMB share, transfer files, and send files to remote print shares (printers).

SMB Filesystems for Linux


One of the cool things that you can do with a Windows box is use an SMB file share as if it were a hard disk on your own machine. The N: drive can look, smell, feel, and act like your own disk space, but it's really disk space on some other computer somewhere else on the network. Linux systems can do this too, using the smbfs filesystem. Built from Samba code, smbfs (which stands for SMB Filesystem) allows Linux to map a remote SMB share into its directory structure. So, for example, the /mnt/zarquon directory might actually be an SMB share, yet you can read, write, edit, delete, and copy the files in that directory just as you would local files. The smbfs is nifty, but it only works with Linux. In fact, it's not even part of the Samba suite. It is distributed with Samba as a courtesy and convenience. A more general solution is the new smbsh (SMB shell, which is still under development at the time of this writing). This is a cool gadget. It is run like a Unix shell, but it does some funky fiddling with calls to Unix libraries. By intercepting these calls, smbsh can make it look as though SMB shares are mounted. All of the read, write, etc. operations are available to the smbsh user. Another feature of smbsh is that it works on a per-user, per shell basis, while mounting a filesystem is a system-wide operation. This allows for much finer-grained access controls.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy