Difference between revisions of "Mapping CS Home Directories Using SAMBA (SMB)"

Line 1: Line 1:
==Intro to SAMBA==
+
== Intro to Samba ==
  
:[http://www.samba.org SAMBA], as used in our CS Dept., is a method of mapping the dept's Grad Net user home directories (residing on our Linux-based home directory file server) to Windows and MacOS-based computers.  Basically, you can map your Linux home directory to, for example, some lettered drive on your Windows system.  (The actual protocol used is called '''SMB''', which stands for ''Server Message Block''.  You may also see or hear it as the term SMB/CIFS.)
+
[http://www.samba.org Samba], as used in the Computer Science Department, is a method of mapping the department's Grad Net user home directories (residing on our Linux-based home directory file server) to Windows, MacOS, and Linux-based computers over the network.  Basically, you can map your Linux home directory to, for example, some lettered drive on your Windows system.  (The actual protocol used is called ''SMB'', which stands for ''Server Message Block''.  You may also see or hear it as the term SMB/CIFS.)
  
:As an example, on our CS Grad Network, a home directory such as ''/users/mary'' can be mapped onto a Windows system as drive H: or drive M: or whatever drive letter is available.  The drive letter used is arbitrary.
+
As an example, on our CS Grad Network, a home directory such as <code>/users/mary</code> can be mapped onto a Windows system as drive H: or drive M: or whatever drive letter is available.  The drive letter used is arbitrary.
  
==''Who'' Can Use This Capability In CS To Map Their CS Linux Home Directory?==
+
== ''Who'' Can Use This Capability in CS to Map Their CS Linux Home Directory? ==
  
:Currently, this feature is '''''only''''' available to '''faculty, researchers, postdocs, staff, and instructors''' with '''''CS''' Grad Net Linux accounts''. <!-- (We hope to expand this capability to students in the future.)  -->
+
This feature is available to anyone with a ''CS Grad Net Linux account''.
  
==How To Map Your CS Grad Net Home Linux Directory USING SAMBA/SMB==
+
If your Grad Net Linux account was created before July 2018, you might need to follow our [[How To Reset Your Password|password reset procedure]] before  you can use Samba.  If you are unable to map your home directory using the below instructions, you will need to have us reset your password (even if you can log in to our Linux systems without problems).
  
:Currently, to map your Linux home directory, you'll need a seperate SAMBA account created:
+
== How to Map Your CS Grad Net Home Linux Directory Using Samba ==
  
:If you are '''faculty, a researcher, a postdoc, staff, or an instructor''' with '''''CS''' Grad Net Linux account'', then...
+
* Make sure your system resides somewhere on the JHU network.  You must have a JHU-based IP (plugged in network, Hopkins Wifi, VPN, etc.)
  
:* Send an email to [mailto:support@cs.jhu.edu support@cs.jhu.edu] to schedule stopping by to see one of us to have a special SAMBA account created, and you will need to create a SAMBA password to use at that time.  (This seperate SAMBA account works in conjunction with your CS a Linux Grad account to provide access to your Linux Grad account home directory.)
+
* If your system is outside of JHU, then you need to first become part of [http://www.it.johnshopkins.edu/services/network/VPN JHU's VPN] service.
  
:Once the account is created:
+
* On your Windows, Mac, or Linux system, use its appropriate drive mapping command/configuration to map your home directory.
 +
** The share name will be the same as your Linux account name.
  
:* Make sure your system is residing somewhere on the JHU network.  You must have a JHU-based IP (plugged in network, Hopkins Wifi, VPN, etc.)
+
Typically, use the following mapping tools:
  
:* If your system is outside of JHU, then you need to first become part of [http://www.it.johnshopkins.edu/services/network/VPN JHU's VPN] service.
+
:'''''Windows:'''  Windows Explorer -----> Tools -----> Map network drive''
  
:* On your Windows or Mac system, use its appropriate drive mapping command/configuration to map a share that we will provide you when you create your account.
+
:'''''MAC:'''  Finder ----> Go ---->  Connect to Server''
  
:Typically, use the following mapping tools:
+
:'''''Linux:''  Varies depending on your desktop environment''
  
::'''''Windows:'''  Windows Explorer -----> Tools -----> Map network drive''
+
In every case, the server name is <code>rtfm.cs.jhu.edu</code>.
  
::'''''MAC:'''  Finder ----> Go ---->  Connect to Server''
+
e.g.  in Windows:
  
:In both cases, the server name is '''rtfm.cs.jhu.edu''' and the share would simply be your username.
+
:<code>\\rtfm.cs.jhu.edu\mary</code>
 +
:(notice the use of ''back'' slashes.)
  
:e.g.  in Windows:
+
or on mac:
  
::'''\\rtfm.cs.jhu.edu\mary'''
+
:<code>smb://rtfm.cs.jhu.edu/mary</code>
::(notice the use of ''back'' slashes.)
+
:(notice the use of ''forward'' slashes.)
 
 
:or on mac:
 
 
 
::'''smb://rtfm.cs.jhu.edu/mary'''
 
::(notice the use of ''forward'' slashes.)
 
  
  

Revision as of 14:47, 15 August 2018

Intro to Samba

Samba, as used in the Computer Science Department, is a method of mapping the department's Grad Net user home directories (residing on our Linux-based home directory file server) to Windows, MacOS, and Linux-based computers over the network. Basically, you can map your Linux home directory to, for example, some lettered drive on your Windows system. (The actual protocol used is called SMB, which stands for Server Message Block. You may also see or hear it as the term SMB/CIFS.)

As an example, on our CS Grad Network, a home directory such as /users/mary can be mapped onto a Windows system as drive H: or drive M: or whatever drive letter is available. The drive letter used is arbitrary.

Who Can Use This Capability in CS to Map Their CS Linux Home Directory?

This feature is available to anyone with a CS Grad Net Linux account.

If your Grad Net Linux account was created before July 2018, you might need to follow our password reset procedure before you can use Samba. If you are unable to map your home directory using the below instructions, you will need to have us reset your password (even if you can log in to our Linux systems without problems).

How to Map Your CS Grad Net Home Linux Directory Using Samba

  • Make sure your system resides somewhere on the JHU network. You must have a JHU-based IP (plugged in network, Hopkins Wifi, VPN, etc.)
  • If your system is outside of JHU, then you need to first become part of JHU's VPN service.
  • On your Windows, Mac, or Linux system, use its appropriate drive mapping command/configuration to map your home directory.
    • The share name will be the same as your Linux account name.

Typically, use the following mapping tools:

Windows: Windows Explorer -----> Tools -----> Map network drive
MAC: Finder ----> Go ----> Connect to Server
Linux: Varies depending on your desktop environment

In every case, the server name is rtfm.cs.jhu.edu.

e.g. in Windows:

\\rtfm.cs.jhu.edu\mary
(notice the use of back slashes.)

or on mac:

smb://rtfm.cs.jhu.edu/mary
(notice the use of forward slashes.)