Samba

Samba server information

Reviewed by John Sopko 5/29/2014

Samba is a play on words for the SMB (Server Message Block) protocol that was introduced by Microsoft.  See the SAMBA web site for more information.

The samba server software runs on a Unix/Linux server.  Samba allows you to access files on a native Unix/Linux file system from a Microsoft Windows system.  You will be authenticated to the department’s Windows authentication system, and you hould not have to enter a password. The samba server allows you to share files between Linux and Windows.

The Computer Science Department mostly uses the AFS file system to share files between Windows and Unix/Linux.  We have one public samba server configured.  If you need assistance configuring samba on your Linux system, send email to help@cs.unc.edu describing your needs and machine names.

We currently have the following public samba server:

samba1-server.cs.unc.edu

This samba server is running on public login host compute.cs.unc.edu.

To access a share on a samba server from your Windows machine use the UNC (Universal Naming Convention) path on your Windows client machine.  For example, open the Windows Run command window and enter:

\\samba1-server

You can also enter this UNC path in your Windows file explorer, and you can make a Windows shortcut to the samba server share.

The samba servers will authenticate you against the departments’ Windows authentication.  You should not have to enter a password if you are logged into a Computer Department Windows machine, and you can omit the .cs.unc.edu domain.

NOTE: Campus blocks the smb protocol from outside the .unc.edu domain.

You will see the folder “playpen” which is the /playpen file system located on public Linux host compute.cs.unc.edu.  On Linux /playpen file space is accessible by anyone with a Computer Science account.

All folders/files you access through samba are located in Linux.  Thus the Linux access controls are in place, and local windows security is not in effect.  In order to make any file access permission changes, you must login to compute.cs.unc.edu and make the changes with the Linux “chmod” command.