Mounting

mount -t cifs -o username=USERNAME,password=PASSWORD //MACHINE/SHARE /mnt/TARGET

Samba share

In smb.conf:
[disk1]
    path = /path/to/disk
    available = yes
    read only = no
    browsable = yes
    public = yes
    writable = no
    guest ok = yes
    create mask = 0644
    directory mask = 0755
}