automount a windows share
- by user1632812
I have this line and it works
mount -t cifs -o myuser //192.168.0.12/Public/Docs /mnt/cifs_shares/Docs
But then I try with autofs and it doesn't
In /etc/auto.master:
/mnt/cifs_shares/Docs /etc/auto.cifs_shares
and in /etc/auto.cifs_shares
Docs -fstype=cifs,rw,noperm,credentials=/etc/credentials.txt ://192.168.0.12/Public/Docs
it seems that the thing gets mounted actually, but it turns to be empty.
When mounted with mount it's not empty at all
What am I missing ?
I'm on Centos 6.3 64 bits