Here is a copy of my /etc/samba/smb.conf
I have configured a printer share, a home directory share, a "data" share for sharing of data between machines, and a "backup" share that I use to put GHOST backup dumps of my PC's on my home network into.
In order for this config to work, you must have local user accounts created on the Linux box..and put them into the /etc/samba/smbpasswd file..
Once you create them local Linux accounts use the "smbpasswd -a <username>" command to set the users samba share passwords. They must then use this password to login to windows with or they will not be able to access the shares on the Linux server..
I did this a little more secure than most people because I take my Linux box to gaming parties and wanted the shares to be semi secure.
[global]
workgroup = WORKGROUP
server string = Linux Server
hosts allow = 192.168.1. 127.
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
printable = yes
[data]
comment = Data Sharing Directory
path = /usr/local/shares/data
valid users = ginnie don
public = no
writable = yes
printable = no
create mask = 0765
[backup]
comment = Backups Store Directory
path = /usr/local/shares/backup
valid users = ginnie don
public = no
writable = yes
printable = no
create mask = 0765
There is a world of info out there to help you get Samba up and running.