Setting up Samba
[global]
workgroup = SIMPLE
encrypt passwords = true
[win_c]
comment = Windows XP volume
path = /mnt/win_c/
read only = no
guest ok = yes
[win_d]
comment = Data files volume
path = /mnt/win_d/
read only = no
guest ok = yes
[zxspectrum]
comment = Zx Spectrum games
path = /mnt/win_d/emulators/zxspectrum/gamedb
read only = no
guest ok = yes
[qemu]
comment = Temporary file space
path = /tmp
read only = no
public = yes
2. Make sure the drives you are sharing have permission to read/write by the user accessing the samab share. eg. I mount my /mnt/win_c as djohnson and I make sure my fstab file allows user to mount drives
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda2 /mnt/win_c vfat user,noauto 0 0
/dev/hda3 /mnt/win_d vfat user,noauto 0 0
/dev/hda6 /mnt/win_e vfat user,noauto 0 0
3. Add user to /etc/samba/smbpasswd file
sudo smbpasswd -a djohnson
