Mounting samba shares using the mount command works correctly but trying to do this automatically at boot time has not worked.
The currently working mount command on its own is:
mount -t smbfs //compname/share /folder/share -o username=username,password=password,dmask=0777,fmask=0777
I tried editing the fstab entry as follows:
//compname/share /folder/share smbfs credentials=/root/cred.file 0 0
cred.file holds the user credentials in the following format:
username=username
password=password
dmask=0777
fmask=0777
Any help would be most appreciated as I'm stumped!