1

Mounting samba share in using fstab

view story
linux-howto

http://askubuntu.com – I tried to mount a samba share from the local network to a folder in my PC. I added the following line in fstab sudo mount -t cifs //192.168.1.5/my/folder/ /home/mounts/localmount/ But when I do sudo mount -a, it gives the following error:- [mntent]: line 13 in /etc/fstab is bad Can anyone tell me what I did wrong? I'm on Ubuntu 12.10, so sudo smbmount //hostname/sharename ~/mounts/sharename -o user=username wont work [source] (HowTos)