I’ve written this guide before somewhere, but always fails to find it when I need it, so here is again. A guide for students and employees at University of Southern Denmark SDU for mounting their personal folder, the m-drive, on a Linux machine.
First step is to figure out what the path to your m-drive is… on a Windows machine find the folder, right click and select properties. On the tab “DFS” there is a full path to the folder. The path displayed in the title bar, which includes something like “\dfs\data” in it, is not the right one. For employees of the Technical Faculty the path currently is: “\\tek-data0a.tek.c.sdu.dk\tekansatte”
You need “smbfs” and “cifs-utils” installed on your machine. On an Ubuntu machine write: “sudo apt-get install smbfs” in a terminal and you’ll get all the necessary components.
You can now mount the m-drive from a terminal with the following command:
sudo mount -t cifs -o username=<username>,domain=<domain>,password=<password>,iocharset=utf8,codepage=unicode,uid=1000,gid=1000 //tek-data0a.tek.c.sdu.dk/tekansatte/<username> /mnt
where you need to change <username>, <password> and <domain> to reflect your information. Also the path, in this case “//tek-data0a.tek.c.sdu.dk/tekansatte/<username>” should be changed to what you were seeing in the properties of the m-drive. Notice the backslashes have been changed into forward slashes.
For a permanent mount add the following to fstab:
//tek-data0a.tek.c.sdu.dk/tekansatte/<username> Â Â Â Â Â /var/m-driveÂ Â Â cifsÂ Â Â credentials=/root/.smbpasswd_mdrive,_netdev,iocharset=utf8,codepage=unicode,uid=1000,gid=1000
where the credentials are stored in a file in the /root folder.
See here, here and here for more information, including credentials, _netdev and isocharset.
Android Email Setup at University of Southern Denmark
It is possible to get limited access to Exchange server provided by the university, even when outside of the university network. Simply add
as the exchange server address. Unfortunately this will only give you access to receiving mail (and maybe seeing your calendar?) but not sending mail, accessing the email directory or adding new appointments to the calendar.
Instead of using the Exchange setup, I recommend you to use the following IMAP setup. This will allow you to receive and send emails no matter your connection type and location. Add a new IMAP account and fill the account name with something appropriate. User name includes your domain e.g.
sdu\myusername. The IMAP server is the same as the above exchange setup:
sync.sdu.dk. The important part here is to choose the right connection security type, which must be set to
SSL and port
Next you setup the outgoing server. Click the login needed check box, and fill in the same user name as for the incoming IMAP server. Again, remember the domain part. The outgoing server address is
smtps.sdu.dk. Again the connection security part is important. Choose
TLS and port
What About the Calendar?
If there is a way to make the Exchange calendar sync with your android phone, with out being connected directly to the university’s network, I haven’t found it yet. My recommendation is to use Google Calendar instead, which works perfectly with my HTC Desire phone. If you really need to use the Exchange calendar as well, because you use on your normal computer, I would suggest using Googles Sync services. This allows you to install a client on your PC that syncs your Outlook/iCal etc. calendar with your Google Calendar.
And the Contacts?
I don’t really know what to do about your Exchange contacts. My recommendation is not to use them, instead using Google Contacts for example. If there is a good way to sync the Exchange contacts with Google Contacts, it would like to know it.
It is possible to connect to and use the Exchange hosted mail and calendar at University of Southern Denmark (SDU) with the Evolution mail client under Ubuntu.
You will need the Evolution client and the Evolution MAPI plugin, as well as a VPN connection to SDU’s network if your computer is not on the local network. I have described my VPN connection setup here (in Danish, ask for translation).
Evolution is installed by default in all Ubuntu versions, and probably on any system that uses Gnome. Since 12/2009 SDU is using Exchange 5.5 which is not supported in Evolution. Instead you will have to rely on the Evolution MAPI plugin. In Ubuntu this can be installed with the following command:
sudo aptitude install evolution-mapi
After installing start Evolution and add a new account. Select the Exchange MAPI type and fill in the appropriate fields. You will need the host name of the mailbox server, which can be found by logging in to your webmail account. When logged in to the webmail system, follow the settings link, and select the about menu option. In my case the information is listed under the entry mailbox server name. Put the server name in the Server field. The username is your normal domain username, and the domain is your normal logon domain e.g. TEK, SDU etc.
That is it…