this smb conf would work and you can add as many share folders as you like...
Code:
[global]
workgroup = yourgroup
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
socket options = TCP_NODELAY
[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
#Add your share folders here
[somefolder]
path = /somepath/folder
Then restart samba and from your win pc hit start->run and enter "\\sambaserver\somefolder" without the quotes and probably you will be prompt for a user and password...you can add users with the smbpasswd command runned by root or with sudo
for example
Code:
sudo smbpasswd -a someuser
By the way the default smb.conf is pretty much self explanatory so just read it
and adjust it to your convenience...