Difference between revisions of "Samba Access"

From UFRC
Jump to navigation Jump to search
Line 60: Line 60:
 
====Examples====
 
====Examples====
  
===== /blue=====
+
* /blue
 
<source lang=bash>
 
<source lang=bash>
 
# mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp,vers=3.0 //exasmb.rc.ufl.edu/blue/smith /mnt/ufrc/smith
 
# mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp,vers=3.0 //exasmb.rc.ufl.edu/blue/smith /mnt/ufrc/smith
 
</source>
 
</source>
  
====== /orange ======
+
* /orange
 
<source lang=bash>
 
<source lang=bash>
 
# mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp,vers=3.0 //exasmb.rc.ufl.edu/orange/smith /mnt/orange/smith
 
# mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp,vers=3.0 //exasmb.rc.ufl.edu/orange/smith /mnt/orange/smith
 
</source>
 
</source>
  
====== /home ======
+
*/home
 
<source lang=bash>
 
<source lang=bash>
 
# mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp,vers=2.1 //exasmb.rc.ufl.edu/home /mnt/home
 
# mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp,vers=2.1 //exasmb.rc.ufl.edu/home /mnt/home
 
</source>
 
</source>

Revision as of 19:01, 8 July 2020


Samba is a Linux server that provides remote filesystem access using SMB/CIFS protocol and is most commonly used by UFRC clients for drive mapping to HiPerGator filesystems from their Microsoft Windows, MacOS, and Linux desktops.

Notice: Samba access is only available while on the University of Florida network. You must be on campus or connected to the UF VPN to mount HiPerGator filesystems as network drive shares.

Mapping Drive Shares

Windows

The network drive server name is exasmb.rc.ufl.edu

Old server was located at cifs.rc.ufl.edu and will be discontinued after the migration to new Blue filesystem in Summer of 2020.

If you are logged into a managed device with UFAD credentials enter

\\exasmb.rc.ufl.edu

into the search field in the Start Menu or the Windows Explorer location bar and browse the available folders.

If you are not logged with UFAD credentials i.e. are using a local Windows account or some such a login box will appear for a username and password. Enter your UFAD credentials to be connected to the system. Precede your username with "UFAD\".

For example, user "jsmith" would enter the following username

 UFAD\jsmith

Note: If contents of the Samba folders change after the connection is established, you may need to click on the refresh button in Windows Explorer or press 'F5' to see the changes.

MacOS X

  1. Bring the Finder to the front
  2. Select "Connect to Server..." from the "Go" menu or press Command+K
  3. Enter smb://exasmb.rc.ufl.edu
  4. Click "+" button to add to favorites (optional)
  5. Connect (use GatorLink user name and password)

Note: There is a known issue with the CIFS client in Mac Finder. The Finder software in current version of MacOS does not have a refresh button to update contents for any changes after the connection is established and disconnecting/reconnecting does not refresh CIFS contents either. A manual solution to force refreshing in Mac Finder can be found on the web [1], [2].

Linux

GNOME Desktop

Click on a "Places" Menu at the top-left corner of the screen. Select the "Connect to Server..." option to open a dialog where you can select the service type, server, etc. Fill out the dialog as shown below:

  1. Service type: Windows Share
  2. Server: exasmb.rc.ufl.edu
  3. Share: blue for /blue, homes for /home, or orange for /orange filesystem
  4. Domain: UFAD
  5. Username: your Gatorlink user name
  6. Password: your Gatorlink password

Command Line

To mount from the Linux shell prompt, install the cifs-utils package (yum or apt-get) and run

sudo mount -t cifs -v -o user=<GatorLink Username>,domain=ufad,sec=ntlmssp,vers=3.0 <remote share>/<group> <local mount point>

where <GatorLink Username> is your GatorLink username, <remote share> is the remote folder you wish to mount, <group> is the group directory you wish to access, and <local mount point> is the local directory on which to mount the remote share (i.e. directory).

You will be asked to enter your Gatorlink password.

If the SMB dialect 3.0 does not work with an older Linux system please use vers=2.1 or vers=1.0 whichever matches your system.

Examples

  • /blue
# mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp,vers=3.0 //exasmb.rc.ufl.edu/blue/smith /mnt/ufrc/smith
  • /orange
# mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp,vers=3.0 //exasmb.rc.ufl.edu/orange/smith /mnt/orange/smith
  • /home
# mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp,vers=2.1 //exasmb.rc.ufl.edu/home /mnt/home