I wanted my SMB share to automount on my Macbook running OSX Yosemite.
It should have been easier than this to set this up but its a Mac.
First create a shares directory somewhere underneath your home folder. I had endless permissions troubles when placing it elsewhere.
mkdir ~/shares
Next edit /etc/auto_master
# Set scripts permissions
sudo chmod 600 /etc/auto_smb
# Reload auto_master config
sudo automount -vc
Related External Links: