From mboxrd@z Thu Jan 1 00:00:00 1970 From: Milan Knizek Subject: How to automount hidden Windows share Date: Thu, 27 Jan 2005 08:16:37 +0000 Message-ID: <41F8A365.8080808@volny.cz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: autofs@linux.kernel.org Hello, I am not sure if this relates to kernel or to autofs, so sorry if I am wrong. I also tried to google for the problem, but I have found only questions and no solution. I use autofs-4.1.3, gentoo-dev-sources kernel 2.6.9 compiled with automounter v4 on Gentoo. I have problems with automounting hidden Windows shares - e.g. my /etc/autofs/auto.work includes: n -fstype=smbfs,users,uid=knizek_m,gid=users,credentials=/etc/samba /credentials_argon ://ffile01/Home$ My /etc/autofs/auto.master includes: /mnt/auto.work /etc/autofs/auto.work --timeout=60 When try ls /mnt/auto.work/n, the file does not exist. Syslog reads: Jan 26 12:18:40 n1005 automount[10417]: failed to mount /mnt/auto.work/n Jan 26 12:18:40 n1005 automount[10420]: >> Usage: mount.smbfs service mountpoint [-o options,...] Jan 26 12:18:40 n1005 automount[10420]: >> Version 3.0.9 ... cut on purpose ... Jan 26 12:18:40 n1005 automount[10420]: mount(generic): failed to mount "://ffile01/Home" (type smbfs) o n /mnt/auto.work/n Jan 26 12:18:40 n1005 automount[10420]: failed to mount /mnt/auto.work/n I tried to change the line in auto.work to ://ffile01/Home\$ but it did not help anyway. When I use fstab or mount manually, it works. Also, mounting normal Windows shares (not ending with $) and local devices like cdrom and usb works fine with automount. Is there other way to go? Thanks, Milan knizek@volny.cz