Your automount setup looks fine to me. I was comparing it to my working one here and cannot see any difference except I use IP addresses in my target share names:
[root@medulla /root]# cat /etc/auto.master # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $ # Sample auto.master file # Format of this file: # mountpoint map options # For details of the format look at autofs(8). /ukfax /etc/auto.ukfax --timeout=60 /cortex /etc/auto.cortex --timeout=60 [root@medulla /root]# cat /etc/auto.cortex # $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $ # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # Details may be found in the autofs(5) manpage backups -fstype=smbfs,username=medulla,password=medulla ://192.168.5.16/backups docs -fstype=smbfs,username=medulla,password=medulla ://192.168.5.16/docs If I then do an 'ls /cortex/docs' the share is automounted and I see the dir-isting from the NT server. You are triggering the automount by attempting access on the mount point? Cheers, Noel -----Original Message----- From: Johan Svedberg [mailto:[EMAIL PROTECTED]] Sent: 28 January 2003 18:03 To: [EMAIL PROTECTED] Subject: [Samba] Automounting Hi, all! I'm having some problems automounting Windows shares from my Debian GNU/Linux system. However, doing it manually with mount -t smbfs -o username=Johan,password=foobar //nisse/C /var/autofs/nisse/ works flawless. I'm totaly new with autofs so I don't know if I'm my setup is right, but this is what I've done; /etc/auto.master: /var/autofs/nisse /etc/auto.nisse /etc/auto.nisse: nisse -fstype=smbfs,username=Johan,password=foobar ://nisse/C I don't know if it's useful but this is what I see in syslog: Jan 28 18:17:30 bettan automount[218]: starting automounter version 4.0.0, path = /var/autofs/nisse, maptype = file, mapname = /etc/auto.nisse Jan 28 18:17:30 bettan automount[218]: Map argc = 1 Jan 28 18:17:30 bettan automount[218]: Map argv[0] = /etc/auto.nisse Jan 28 18:17:30 bettan automount[218]: mount(bind): bind_works = 1 What am I missing here? :) PS. Please Cc me since I'm not subscribed. Thanks. Regards, -- Johan Svedberg, [EMAIL PROTECTED], http://www.acc.umu.se/~winkle -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
