Samba is useful but many programs are not able to handle SMB protocol (eg notepadqq, geany, atom etc).
A more compatible way to use network drives is to map them with mount_cifs to a local path. Then all programs will be able to handle files from the network drives.
If you want to map a network drive for the current session then just type:
mount.cifs "//computer/share" /mnt -o user=username
If you want to have the drives mapped after each reboot then:
- chmod +s /sbin/mount.cifs
- chmod +s /sbin/umount.cifs
- chmod 600 /etc/fstab
Now for each share do the following:
- mkdir localpath
- vim /etc/fstab
- add the following line:
//computer/share /localpath cifs user=sambausername,pass=sambapassword,rw,users 0 0
And you are ready.