I am attempting to set up autofs on Ubuntu 10.04 so that it can automatically mount cifs shares when wifi is connected. For some reason, it isn't working.
First of all, I know the share is accessible because doing this works fine:
This is in my /etc/auto.master
sudo mount.cifs //192.168.0.12/share /cifs -o credentials=/etc/samba/credentials
And this is /etc/auto.home
/cifs /etc/auto.home --timeout=60 --ghost
Yet, when I do sudo service autofs reload and navigate to /cifs and perform ls nothing is there.
share -fstype=cifs,rw,credentials=/etc/samba/credentials ://192.168.0.12/share
And if I check with mount -l the share isn't reported
Can anyone help me?