Difference between revisions of "Samba Access"

From UFRC
Jump to navigation Jump to search
Line 28: Line 28:
  
 
If you do not have a GNOME GUI in you Linux, you can install the cifs-utils package (yum or apt) and run a command like the following as root:
 
If you do not have a GNOME GUI in you Linux, you can install the cifs-utils package (yum or apt) and run a command like the following as root:
<pre>
+
<source lang=bash>
 
mount -t cifs -v -o user=YOUR_GATORLINK,domain=ufad //cifs.rc.ufl.edu/ufrc /mnt/ufrc
 
mount -t cifs -v -o user=YOUR_GATORLINK,domain=ufad //cifs.rc.ufl.edu/ufrc /mnt/ufrc
</pre>
+
</source>
  
 
where YOUR_GATORLINK is your Gatorlink username; //cifs.rc.ufl.edu/ufrc is the /ufrc's CIFS resource name, for /home you should use //cifs.rc.ufl.edu/home, so on an so forth; /mnt/ufrc is the mounting point where you want to mount it at, this mounting point must exist as a directory. You will be asked to enter your Gatorlink password after this command is run.
 
where YOUR_GATORLINK is your Gatorlink username; //cifs.rc.ufl.edu/ufrc is the /ufrc's CIFS resource name, for /home you should use //cifs.rc.ufl.edu/home, so on an so forth; /mnt/ufrc is the mounting point where you want to mount it at, this mounting point must exist as a directory. You will be asked to enter your Gatorlink password after this command is run.

Revision as of 19:04, 16 October 2017

Connecting to the Samba server

Note that due to University networking firewalls, Samba access is only available while on the University of Florida network (either a UF network, or connected with the UF VPN )

Mac OS X

  1. Bring the Finder to the front
  2. Select "Connect to Server..." from the "Go" menu or type Command+K
  3. Enter smb://cifs.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 do not refresh CIFS contents either. A manual solution to force refreshing in Mac Finder can be found on the web, for example:

http://apple.stackexchange.com/questions/49543/is-there-a-way-to-refresh-a-finder-file-listing

http://www.shasam.net/blog/2007/3/20/mac-osx-finder-refresh.html

Linux

If you are using the GNOME desktop, there will be a Menu titled "Places" in the top, left corner of your screen. Click on it to open the menu, and select the option "Connect to Server...". That will open a dialog where you can select the service type, server, etc. Fill out the dialog like so:

  1. Service type: Windows Share
  2. Server: cifs.rc.ufl.edu
  3. Share: ufrc (for /ufrc), or homes (for /home)
  4. Domain: UFAD
  5. Username: your Gatorlink user name
  6. Password: your Gatorlink password

If you do not have a GNOME GUI in you Linux, you can install the cifs-utils package (yum or apt) and run a command like the following as root:

mount -t cifs -v -o user=YOUR_GATORLINK,domain=ufad //cifs.rc.ufl.edu/ufrc /mnt/ufrc

where YOUR_GATORLINK is your Gatorlink username; //cifs.rc.ufl.edu/ufrc is the /ufrc's CIFS resource name, for /home you should use //cifs.rc.ufl.edu/home, so on an so forth; /mnt/ufrc is the mounting point where you want to mount it at, this mounting point must exist as a directory. You will be asked to enter your Gatorlink password after this command is run.

Windows

The Research Computing has a samba server located at cifs.rc.ufl.edu.

UFAD Users

To connect to the available shares click on your Start menu. Where the search entry area is located enter

\\cifs.rc.ufl.edu

This should be all you have to do. Since you are already logged into a machine with UFAD credentials, these credentials will be used by the Samba server as well, and you should see the folders available to you.

Non-UFAD Users

To connect to the available shares click on you Start menu. Where the search entry area is located enter

\\cifs.rc.ufl.edu

A login box will appear for a username and password. Enter these and you should be connected to the system.

Note: Since you are currently logging into the UF Active Directory (UFAD) domain, you will need to precede your username with "UFAD\". So, if your username were normally "jsmith", you would instead enter

 UFAD\jsmith

Note: If contents of the Samba folders change after the connection is established, you may need to click on the refresh button of your file browser to refresh its contents for the changes.

Connecting to Long-term and Replicated Long-term Storage

To connect to your long-term or replicated long-term storage, you need to add the full path to the connection string.

For Windows, you would typically use:

 \\cifs.rc.ufl.edu\rlts\group

to access replicated long-term storage. Or

 \\cifs.rc.ufl.edu\ufrc\group

to access non-replicated long-term storage.

For Mac, you would use:

 smb://cifs.rc.ufl.edu/rlts/group

and

 smb://cifs.rc.ufl.edu/ufrc/group

respectively.