I am having a problem editing /etc/fstab to mount a share on a Windows machine. I can manually mount the share using the command below without any problems:
sudo mount.cifs //machinename/sharename /media/sharedfolder -o user="My Username",password=MyPassword
But when I add this line to /etc/fstab I get a parse error:
//machinename/sharename /media/sharedfolder cifs username="My Username", password=MyPassword,iocharset=utf8,sec=ntlm 0 0
Can anyone tell me what's wrong with the line in the fstab file?