Mount network drives in Ubuntu

Network drives sitting in a server rack. Credit to Flickr user gothopotam.
The situation
A workstation is running Linux Mint 17 (based on Ubuntu 14.04), and the user needs permanent access to network drives stored on a Windows Server. The drives appear on Windows workstations like so:
M: Data
N: Secret Files
What we need to do is make sure that each network drive is automatically mapped and mounted on boot. Luckily for us, doing this is easy with a little help from the CIFS package and a few tweaks.