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:
Quote:
/mnt /etc/auto.smb --timeout=60
|
and created an executable auto.smb with this lines:
Quote:
#!/bin/bash
# $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
|
restarted autofs but it there is nothing in /mnt
ls /mnt returns nothing
cd /mnt/philips1 returns:
bash: cd: /mnt/philips1: No such file or directory
what am i doing wrong?
Edit/Delete Message