Ok, I’ve investigated mounting university shares.
Basically, we need the
gio mount command. So I could do this:
gio mount smb://email@example.com/satahome4/486/486016
…but it won’t let me, because it claims
Failed to mount Windows share: Function not implemented. Apparently the solution to this is to mount with
sec=ntlm, but the man page for
gio mount doesn’t detail how I can specify this.
So currently you’ve gotta be root to mount your G: & Z: drives.
I found the following script in my
~/bin folder. These commands work for me on Ubuntu:
sudo mount -t cifs -o username=486016,rw,nounix,iocharset=utf8,file_mode=0775,dir_mode=0775,uid=1000 //data.adir.hull.ac.uk/~486016 /media/sbrl/486016-G
sudo mount -t cifs -o username=486016,rw,nounix,iocharset=utf8,file_mode=0775,dir_mode=0775,uid=1000 //data.adir.hull.ac.uk/satahome4/486/486016 /media/sbrl/486016-Z
(Link to original file in my bin folder)
I’d forgotten I wrote that script
If anyone has further issues with that, you can add
sec=ntlm to the end of the comma-separate list of options I’ve specified there with