Well it seems that the samba gods have been good to me today. I had a slight altercation where I could not write to a samba share I created. This is how I solved that little problem.
First you have to have all the correct settings in the smb.conf file. You usually find this in /etc/smb.conf or /etc/samba/smb.conf. Here are the settings for my share.
[SAMBASHARE] path = /home/dmacias/Desktop/SambaShare comment = /home/dmacias/Desktop/SambaShare valid users = dmacias public = no writable = yes printable = no wide links = no
Now you need to restart Samba. Do this with the following command: /etc/rc.d/init.d/smb restart
Now if you try to connect from windows to the share you just created, you should be able to see it, but not connect to it. To connect you need to do the following command:
smbpasswd -a -U dmacias
Change the password and you are set.
*This is my configuration, you need to adapt yours to your system, your users, your passwords, your file locations.
Hope that helps some, do not worry it gets easier with time.