I have not managed yet how to auto login into my samba share from windows. Even if you tell Windows to autologin the next time you restart your computer you have to manually type the password for your network share.
However I came up with an ugly solutions and that is to create a batch file and put it in the autostart folder. 1. Create a batch file containing the following code:
net use g: /DELETE
net use g: serverIPnetshare yourpassword /USER:youruser
2. Now save the file in .bat format for example autologin_netshare.bat
3. Move the file to the autostart folder under the Start > All applicatons
Next time you restart your computer your network drive will be automatically mapped.