On Sun, 9 May 1999, Carl Thompson wrote:
> Hello,
>
> I have just started using autofs and I am having trouble getting it to
> mount my SMB shares. In the man page (autofs(5)), it says the proper format
> to map an SMB drive is
>
> windoze -fstype=smbfs ://windoze/c
>
> but the howto say it is
>
> windoze -fstype=smbfs windoze:/c
>
Listen to the manpage ... this is what I have in /etc/autofs.smbfs
test -fstype=smbfs,login=urban,passwd=xxx,uid=500 ://davinci/test
(No, I don't know the howto to be wrong, but the manpage comes with the
autofs package ...)
You have no problems with /etc/auto.master? Good.
> May 9 12:44:02 clip automount[1534]: cannot find mount method for
> filesystem smbfs
Do you have the autofs-smbfs-mount-module? (mount_smbfs.so)
cola:~/dl>d /usr/lib/autofs/
total 125
drwxr-xr-x 2 root root 1024 Jan 9 21:35 ./
drwxr-xr-x 35 root root 7168 Apr 24 20:29 ../
-rw-r--r-- 1 root root 11029 Jan 9 21:35 lookup_file.so
-rw-r--r-- 1 root root 11957 Jan 9 21:35 lookup_program.so
-rw-r--r-- 1 root root 10073 Jan 9 21:35 lookup_yp.so
-rw-r--r-- 1 root root 9285 Jan 9 21:35 mount_afs.so
-rw-r--r-- 1 root root 11202 Jan 9 21:35 mount_autofs.so
-rw-r--r-- 1 root root 10202 Jan 9 21:35 mount_ext2.so
-rw-r--r-- 1 root root 10038 Jan 9 21:35 mount_generic.so
-rw-r--r-- 1 root root 12333 Jan 9 21:35 mount_nfs.so
-rw-r--r-- 1 root root 11636 Jan 9 21:35 mount_smbfs.so
-rw-r--r-- 1 root root 15425 Jan 9 21:35 parse_sun.so
Another common(?) problem is the changes to smbmount between samba 1.9 and
2.0. But it sounds like you haven't run into this yet, here is some useful
info anyway:
"Mike Warfield has a script and some information at
http://www.wittsend.com/mhw/smbmount.html that you will probably find
useful."
(/usr/src/linux/Documentation/Changes)
/Urban, who knows nothing about RH 6.0
---
Urban Widmark [EMAIL PROTECTED]
Svenska Test AB +46 90 71 71 23