Urban Widmark wrote:
> 
> On Tue, 16 Nov 1999, Adam Haeder wrote:
> 
> > And my /etc/auto.nt file looks like this:
> > rfs_intranet    -fstype=smb,username=adamh,password=XXXXX
> > ://rfs/intranet
> > rfs_logs        -fstype=smb,username=adamh,password=XXXXX    ://rfs/logs
> >
> > Note: manually mounting these filesystems works; my system can read smb
> > filesystems, I can mount them with no problem.
> 
> And you can mount them with
> mount -t smb ?
> 
> Since you have -fstype=smb that is what will happen, if you have
> -fstype=smbfs the autofs module for mounting smbfs in 3.1.3 will be
> run (assuming you have that). IIRC.
> 
> To mount with 'mount -t smb' you need to have 'mount.smb' in your path (or
> is it in /sbin ?). If you do not have that already you can get the
> official version in samba 2.0.6.
> 
> > The killer is this worked until I rebooted. I have rewritten the auto.*
> 
> Hmm, those kind of things are always soo much fun ...
> 
> /Urban

Sorry I guess I didn't make myself clear enough. It's definitely a
problem with the automounter, because I can manually mount many
different remote filesystems. I shouldn't have used smb filesystems as
an example, because those seem to be so rife with problems anyway. I
have the same problem (and get the same error) with nfs filesystems as
well. The automounter is always writing the following lines into
/var/log/messages:

Nov 17 09:13:12 rfslinux automount[4211]: attempting to mount entry
/nt/rfs_intranet
Nov 17 09:13:12 rfslinux automount[4218]: lookup(program): lookup for
rfs_intranet failed

It doesn't matter what kind of filesystem this is. I even tried the
defaults that come with the sample auto.misc file, namely the kernel dir
on ftp.kernel.org and /dev/cdrom. Both generate the same "lookup failed"
error. That is what I'm trying to track down.

If I type this:
mount.smb //rfs/intranet /mnt/wherever -o
username=adamh,password=XXXXX,uid=500,gid=500,fmask=755,dmask=755
it works fine.

I just updated my version of mount as someone suggested. I was using
mount-2.9o-1 and I upgraded to the RH6.1 version, mount-2.9u-4. Still no
luck.

Like I said, this has worked on this machine. I rebooted it to change
some hardware, and when it came back up, the automounter wouldn't work.
So I guess I'm just trying to pinpoint the problem.

Thanks for all your help.

-- 
Adam Haeder
Technical Coordinator, AIM Institute
(402) 345-5025 x115
[EMAIL PROTECTED]

Reply via email to