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:

\\windows.server.fqdn\shared  /mnt/shared cifs rw,iocharset=utf8,credentials=/root/.smbpasswd,uid=10000,gid=1000 0 0

Then add the credentials to /root/.smbpasswd like this:

username=smbuser
password=hackme
workgroup=TERENA

Adjust uid/guid appropriately.

  • No labels