Why fstab doesn't mount smbfs
I was doing research on why my Windows box can't access the shares on my Linux box and ran across an article on fstab and smbfs. I've seen a lot of people post here about problems with mounting smbfs shares on boot and what I read made sense. DISCLAIMER: If this person was wrong, then I am wrong and I'm sure someone will correct me. What the article taught ended up working, so I'm assuming it's correct.
When your system boots, it goes through several runlevels. As you go through the boot sequence, the fstab is loaded before your ethernet card. As a result, the mounting fails. What you need to do is have the smbfs mount occur after the ethernet card is initialized.
There are two ways of doing this:
put a 'mount -t smbfs' command with options in the /etc/rc.d/rc.local file or put a uid=xxx option in your fstab like this:
//shelby/shareddocs /mnt/shared smbfs username=shunter,password=xxx,uid=000,users,exec,rw 0 0