On Thu, 27 Jan 2005, Milan Knizek wrote:
What's this^^^^^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
I'd like to see the log entries prior to the "failed to mount" message with the --debug option on the entry in the master map please.
This looks like a parsing problem. But I would have expected escaping the $ to have worked.
... 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 [EMAIL PROTECTED]
_______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
_______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
