make an entry in /etc/fstab
here's an example for you, i have a similar setup, and my fstab contains the line:
Code:
//patsy/psc /home/psc/smb smbfs uid=1000,gid=100,credentials=/root/patsy 0 0
where:
uid 1000 = user 'psc'
gid 100 = group 'users'
now the file /root/patsy contains:
Code:
username = psc
password = mypass
and has permissions 400 for root:root