Windows doesn't differentiate a local login user from a network user - there is simply the user. In Linux it's the opposite. You need to tell samba that the user: tester is also a samba user by using this command:
On the Ubuntu box I create a folder (in the home folder) - for example named "sharedocs." I open nautilus, goto the share tab - share it as sharedocs
and check the "allow others to create and delete files in this folder." The server name is testbox
. The username that logged onto the ubuntu box and created the share is tester
On the win7 box I go to \\testbox\sharedocs - it prompts for a logon - I put in testbox\tester and the password. Nothing happens.
It will ask you for sudo's password and then it will ask you what password you want tester to use for samba. It can be the same as tester's local login password or not.
sudo smbpasswd -a tester
Just in case somthing is not configured right you might want to post the output of the following commands:
This will tell us the overall samba configuration on your box:
This one will show us how your share is configured since it won't be in smb.conf:
net usershare info --long