Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-20-2007 #1
- Join Date
- Mar 2007
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:
/mnt /etc/auto.smb --timeout=60
# $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?
- 03-21-2007 #2
- Join Date
- Jan 2007
what is the distro you use ?
take a look at the /var/log/messages (for FC/RH) and /var/log/syslog (for DEB/UBU). You will get lot of information on why the automount is failing. That would be the starting point for your analysis.