I have some problem with automount. I'm using Ubuntu 12.04.
Here is /etc/auto.master file.
#+auto.master
/mnt/nfs /etc/auto.nfs --timeout=60 --ghost
/mnt/samba /etc/auto.sam --timeout=60 --ghost
And this is /etc/auto.nfs file.
public -fstype=nfs4 192.168.0.1:/srv/nfs/public
And the last one is /etc/auto.sam file.(for cifs filesystem)
public --fstype=cifs,uid=1000,gid=1000 ://192.168.0.1/public
I succeed to mount NFS file system, but failed to mount CIFS file system. There is the folder which automount has been created but I couldn't access.
administrator@vm002:/mnt/smbmount$ cd public/
-bash: cd: public/: No such file or directory
Please give me a helping hand.
PS. Of course, I could mount manually that cifs file system. 192.168.0.1 is running NFS server and samba server, and I already opened whole port.