Not sure how RPi works, but with Samba, you need to specify users and then Samba users.
For example, add a Unix user:
Then add a Samba user
smbpasswd -a jonathan
To make it simple, you might want to use the username/password that your windows machine will be connecting as.