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 ...
- 03-20-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 1
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#!/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
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
- 03-21-2007 #2Just Joined!
- Join Date
- Jan 2007
- Posts
- 90
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.


Reply With Quote
