please help with autofs and automounting samba shares
hi there all - been looking for a way to automount my samba shares on my ubuntu client the same way windows does 'map network drives', ie instead of manually mounting through LinNeighborhood (my current way of mounting network drives).
my setup is:
server name: MYSERVER
shared drive: PHILIPS1
samba shares dont use login and password, they are open to all on home netowrk
following http://www.greenfly.org/tips/autofs.html i have added to /etc/auto.master this line:
and created an executable auto.smb with this lines:
/mnt /etc/auto.smb --timeout=60
restarted autofs but it there is nothing in /mnt
# $Id: auto.smb,v 1.3 2005/04/05 13:02:09 raven Exp $
# This file must be executable to work! chmod 755!
philips1 -fstype=smbfs,username=ROOT,uid=1000,gid=1000 ://MYSERVER/PHILIPS1
ls /mnt returns nothing
cd /mnt/philips1 returns:
bash: cd: /mnt/philips1: No such file or directory
what am i doing wrong?