My situation is similar. Here is how I do it:
- create a credentials file (mine is named /root/.creds) with content:
An advantage of using a credentials file instead of putting them in the mount command is that they don't show up in clear text when doing a "mount" command.
- as regular user, create the desired mount point (in my case: /home/username/samba)
- add the following to /etc/rc.d/rc.local:
mount -t cifs -o credentials=/root/.creds //192.168.1.xxx/share /home/username/samba &
I prefer cifs, as it does not have the 2G file size limit that smbfs does.