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 ).  Use the id command to find your uid and gid, and insert those into the mount options.

    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


...