The Windows share should not be unmounting when you log out. It is more likely unmounting when you shutdown. Mounting a Windows share to the Linux filesystem does not involve smb.conf. That is used for configuring samba to establish shares on Linux.
It sounds like what you want to do is mount your Windows share onto the Linux filesystem when you boot. This is done through /etc/fstab. You set up the entry to use a type of smbfs. I would recommend using the credentials option and placing your windows username and password in a file only accessible by root. The man page for smbmount has some details on how to setup the file.
Entry in /etc/fstab would look something like:
Code:
//192.168.0.22/grande\ \(G\) /home/justin/Desktop/grande smbfs uid=500,gid=500,credentials=/etc/grande 0 0
You'll probably want to set up the uid and gid to the same defaults of user justin.
There are two things I would change if this were my setup. First would be to change the IP address to the name of your windows server. For small networks you can use the /etc/hosts file for that (see man hosts). The other thing is the name of your share. grande\ \(G\) is not very friendly. Why not just use grande and be done with it?
If your windows box is not always up, you'll have to approach this a little differently. Perhaps by using autofs. I would have to read up on autofs to tell you how to set it up that way.
Bill