Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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
    languagebash
    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
    languagetext
    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
    languagebash
    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
    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
    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
    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

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.

...

If you have recently changed your University of Melbourne password, then it will be important to manually disconnect (and then reconnect) any previously-mounted SMB shares. Otherwise, these drives may continue to authenticate using old/legacy credentials - which can lead to account lockouts (due to repeated unsuccessful connection attempts) in some cases.

Using a secure identity token

If you are connecting with a secure identity token, you would use the following:

  • Domain: token
  • Username: <your token string>
  • Password: <leave blank>

If you cannot leave the password blank, you can enter the token a second time in the password field.

Examples

Windows 10

For this example, we assume you are logged in to a University of Melbourne Windows 10 MOE with your University Credential.

...