Try fstab, I read somewhere that's where you put it. I'm not saying you could not use smb.conf, but I myself would start trying at fstab...
Hey, don't the man
pages of smb.conf (and fstab) tell you that? I'm pretty sure they do, read them