Table of Contents |
---|
...
Using the smbclient command (similar to an FTP client), the syntax is of the following form (including the domain, e.g. unimelb and user, e.g. mfuser):
Code Block language bash smbclient //mediaflux.researchsoftware.unimelb.edu.au/proj-test-project-1128.3.12 -W unimelb -U mfuser
Using GNOME Files (AKA Nautilus): Other Locations -> Enter Server Address...
Code Block language text smb://mediaflux.researchsoftware.unimelb.edu.au/proj-testproject-1128.3.12
This will prompt you for your domain (generally unimelb or student), username and password.
Using the command-line mount command the syntax is of the following form (including the domain, e.g. unimelb and user e.g. mfuser ).
Code Block language bash mkdir ~/mnt sudo apt install cifs-utils # provides the cifs mount helper (mount.cifs) sudo mount -t cifs -ouser=mfuser,domain=unimelb,uid=$UID,gid=$(id -g) //mediaflux.researchsoftware.unimelb.edu.au/proj-testproject-1128.3.12 $HOME/mnt
Note: the uid, gid, file_mode and dir_mode options will control the local permissions on the files and directories inside the mount point. In the example above, the uid and gid are set to the user who is running the mount command, but this may not work if you're mounting with one user and need to access the files as another user. See the Users and Groups page on ArchWiki and use the man mount.cifs command on your local machine for more information.
If you wish to use Kerberos authentication from the command line, you will need some additional software:
Code Block language bash sudo apt install krb5-user keyutils
Then you can log in using the kinit command, and then pass the cruid to the mount command instead of specifying the username, domain and password.
Code Block language bash mkdir ~/mnt kinit mfuser@UNIMELB.EDU.AU sudo mount -t cifs -o cruid=$USER,sec=krb5,uid=$UID,gid=$(id -g) //mediaflux-test.researchsoftware.unimelb.edu.au/proj-test-1247.5.1 $HOME/mnt
If you are using a secure identity token
Code Block language bash mkdir ~/mnt sudo apt install cifs-utils # provides the cifs mount helper (mount.cifs) sudo mount -t cifs -ouser=<your token string>,domain=token,password='',uid=$UID,gid=$(id -g) //mediaflux.researchsoftware.unimelb.edu.au/proj-testproject-1128.3.12 $HOME/mnt
Authentication
Multi-Factor Authentication (MFA) for Mediaflux is now available
MFA is currently optional but will become mandatory in early 2025. To learn more and enrol, visit: Mediaflux MFA
If your computer is a University MOE (Managed Operating Environment), you won't need to enter your credential when you map the network drive on Windows or connect to the server (macOS). Your computer will supply your credential and log you in automatically because you have already logged in to your computer via the University domain.
...
Examples
Windows 10
N.B. On Windows you cannot use two different accounts to mount two different shares from the same server.
For this example, we assume you are logged in to a University of Melbourne Windows 10 MOE with your University Credential.
...