I had a Windows 2008R2 server with a shared folder, that I needed to mount on Ubuntu 12.04.
I configured a FQDN for the Windows server that only resolves to a AAAA record.
On Ubuntu, apt-get install smbfs, then add this line to /etc/fstab:
Then add the credentials to /root/.smbpasswd like this:
Adjust uid/guid appropriately.